D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/python-maturin-1.4.0-5.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cvWI8h + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf maturin-1.4.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/maturin-1.4.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd maturin-1.4.0 + rm -rf /home/pterjan/rpmbuild/BUILD/maturin-1.4.0-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/maturin-1.4.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-drop-unavailable-features-and-unused-dev-dependencie.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0002-drop-incompatible-cargo-flags-from-setuptools_rust.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0003-remove-shebang-from-non-executable-__init__.py-file.patch + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.oqtSAD + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd maturin-1.4.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + : + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + true + for f in pyproject.toml setup.py setup.cfg + '[' -f pyproject.toml ']' + sed -i -E -e '/^requires/s/(['\''"]\s*flit_core\s*>=\s*[0-9]+(\.[0-9]+)+)\s*,\s*<\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\4/' pyproject.toml + sed -i -E -e '/python_requires/s/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/' pyproject.toml + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9a-z]+)*)\s*,\s*(<|!=|<=)\s*[0-9]+(\.[0-9a-z]+)*(-?dev[0-9]*)?(\.\*)*(\s*['\''"]?)/\1\7/g' pyproject.toml + sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' pyproject.toml + sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' pyproject.toml + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/g' pyproject.toml + sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' pyproject.toml + sed -i -e 's/~=/>=/g' pyproject.toml + sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' pyproject.toml + sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' pyproject.toml + for f in pyproject.toml setup.py setup.cfg + '[' -f setup.py ']' + sed -i -E -e '/^requires/s/(['\''"]\s*flit_core\s*>=\s*[0-9]+(\.[0-9]+)+)\s*,\s*<\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\4/' setup.py + sed -i -E -e '/python_requires/s/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/' setup.py + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9a-z]+)*)\s*,\s*(<|!=|<=)\s*[0-9]+(\.[0-9a-z]+)*(-?dev[0-9]*)?(\.\*)*(\s*['\''"]?)/\1\7/g' setup.py + sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' setup.py + sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' setup.py + sed -i -E -e 's/(['\''"]?\s*\S*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*(,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\.\*)*)+(\s*['\''"]?)/\1\7/g' setup.py + sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' setup.py + sed -i -e 's/~=/>=/g' setup.py + sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' setup.py + sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' setup.py + for f in pyproject.toml setup.py setup.cfg + '[' -f setup.cfg ']' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/maturin-1.4.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + TMPDIR=/home/pterjan/rpmbuild/BUILD/maturin-1.4.0/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /home/pterjan/rpmbuild/BUILD/maturin-1.4.0/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/python-maturin-1.4.0-5.mga10.x86_64-pyproject-buildrequires Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 69.0.2) Handling wheel>=0.36.2 from build-system.requires Requirement satisfied: wheel>=0.36.2 (installed: wheel 0.43.0) Handling tomli>=1.1.0 ; python_version<'3.11' from build-system.requires Ignoring alien requirement: tomli>=1.1.0 ; python_version<'3.11' Handling setuptools-rust>=1.4.0 from build-system.requires Requirement satisfied: setuptools-rust>=1.4.0 (installed: setuptools-rust 1.8.1) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.43.0) Handling setuptools-rust>=1.4.0 from get_requires_for_build_wheel Requirement satisfied: setuptools-rust>=1.4.0 (installed: setuptools-rust 1.8.1) /usr/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running dist_info creating maturin.egg-info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt writing manifest file 'maturin.egg-info/SOURCES.txt' reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'Cargo.lock' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/maturin-1.4.0/maturin-1.4.0.dist-info' Handling tomli >=1.1.0 ; python_version < "3.11" from hook generated metadata: Requires-Dist (maturin) Ignoring alien requirement: tomli >=1.1.0 ; python_version < "3.11" Handling patchelf ; extra == 'patchelf' from hook generated metadata: Requires-Dist (maturin) Ignoring alien requirement: patchelf ; extra == 'patchelf' Handling ziglang >=0.10.0 ; extra == 'zig' from hook generated metadata: Requires-Dist (maturin) Ignoring alien requirement: ziglang >=0.10.0 ; extra == 'zig' + cat /home/pterjan/rpmbuild/BUILD/python-maturin-1.4.0-5.mga10.x86_64-pyproject-buildrequires + rm -rfv maturin-1.4.0.dist-info/ removed 'maturin-1.4.0.dist-info/top_level.txt' removed 'maturin-1.4.0.dist-info/METADATA' removed directory 'maturin-1.4.0.dist-info/' + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.H0v5ws + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd maturin-1.4.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + mkdir -p /home/pterjan/rpmbuild/BUILD/maturin-1.4.0/.pyproject-builddir + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + TMPDIR=/home/pterjan/rpmbuild/BUILD/maturin-1.4.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/maturin-1.4.0/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/maturin-1.4.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running dist_info creating /home/pterjan/rpmbuild/BUILD/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-2otbflcm/maturin.egg-info writing /home/pterjan/rpmbuild/BUILD/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-2otbflcm/maturin.egg-info/PKG-INFO writing dependency_links to /home/pterjan/rpmbuild/BUILD/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-2otbflcm/maturin.egg-info/dependency_links.txt writing requirements to /home/pterjan/rpmbuild/BUILD/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-2otbflcm/maturin.egg-info/requires.txt writing top-level names to /home/pterjan/rpmbuild/BUILD/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-2otbflcm/maturin.egg-info/top_level.txt writing manifest file '/home/pterjan/rpmbuild/BUILD/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-2otbflcm/maturin.egg-info/SOURCES.txt' reading manifest file '/home/pterjan/rpmbuild/BUILD/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-2otbflcm/maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'Cargo.lock' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file '/home/pterjan/rpmbuild/BUILD/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-2otbflcm/maturin.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-2otbflcm/maturin-1.4.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: maturin Building wheel for maturin (pyproject.toml): started Running command Building wheel for maturin (pyproject.toml) /usr/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-312 creating build/lib.linux-x86_64-cpython-312/maturin copying maturin/__main__.py -> build/lib.linux-x86_64-cpython-312/maturin copying maturin/import_hook.py -> build/lib.linux-x86_64-cpython-312/maturin copying maturin/__init__.py -> build/lib.linux-x86_64-cpython-312/maturin running egg_info writing maturin.egg-info/PKG-INFO writing dependency_links to maturin.egg-info/dependency_links.txt writing requirements to maturin.egg-info/requires.txt writing top-level names to maturin.egg-info/top_level.txt reading manifest file 'maturin.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'Cargo.lock' warning: no files found matching '*.json' under directory 'src/python_interpreter' writing manifest file 'maturin.egg-info/SOURCES.txt' running build_ext running build_rust error: failed to select a version for the requirement `itertools = "^0.12.0"` candidate versions found which didn't match: 0.13.0, 0.10.5 location searched: directory source `/usr/share/cargo/registry` (which is replacing registry `crates-io`) required by package `maturin v1.4.0 (/home/pterjan/rpmbuild/BUILD/maturin-1.4.0)` perhaps a crate was updated and forgotten to be re-vendored? As a reminder, you're using offline mode (--offline) which can sometimes cause surprising resolution failures, if this error is too confusing you may wish to retry without the offline flag. error: `cargo metadata --manifest-path Cargo.toml --format-version 1` failed with code 101 -- Output captured from stdout: error: subprocess-exited-with-error × Building wheel for maturin (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. full command: /usr/bin/python3 /usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /home/pterjan/rpmbuild/BUILD/maturin-1.4.0/.pyproject-builddir/tmp2zyp6kd0 cwd: /home/pterjan/rpmbuild/BUILD/maturin-1.4.0 Building wheel for maturin (pyproject.toml): finished with status 'error' ERROR: Failed building wheel for maturin Failed to build maturin ERROR: Failed to build one or more wheels error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.H0v5ws (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.H0v5ws (%build) I: [iurt_root_command] ERROR: chroot