D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/python-bcrypt-4.1.2-4.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.5KLU0c + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build + test -d /home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.TnKW1S + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build + rm -rf bcrypt-4.1.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/bcrypt-4.1.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd bcrypt-4.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + 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 + rm src/_bcrypt/Cargo.lock + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.reZUYI + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build + cd bcrypt-4.1.2 + '[' 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 ']' + 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.cfg + 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.cfg + 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.cfg + sed -i -E -e 's/(['\''"]\w+\s*)!=(\s*([0-9])+(\.[0-9]+)*\s*['\''"])/\1>\2/g' setup.cfg + sed -i -E -e 's/(['\''"]\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)\s*[0-9]+(\.[0-9]+)*(\s*['\''"])/\1\5/g' setup.cfg + 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.cfg + sed -i -E -e 's/(['\''"]\s*)\^(\s*[0-9]+(\.[0-9]+)*\s*['\''"])/\1>=\2/g' setup.cfg + sed -i -e 's/~=/>=/g' setup.cfg + sed -i -E -e 's/(['\''"]\s*\S*\s*)==(\s*[0-9]+(\.[0-9]+)*)\.\*(\s*['\''"])/\1>=\2\4/g' setup.cfg + sed -i -E -e 's/(['\''"]?\w*\s*>=\s*[0-9]+(\.[0-9]+)*)\s*,\s*(<|!=)[0-9]+(\.[0-9]+)*\s*(['\''"]?)/\1\5/g' setup.cfg + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build/bcrypt-4.1.2/.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/python-bcrypt-4.1.2-build/bcrypt-4.1.2/.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/python-bcrypt-4.1.2-build/bcrypt-4.1.2/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build/python-bcrypt-4.1.2-4.mga10.x86_64-pyproject-buildrequires -t Handling setuptools>=42.0.0 from build-system.requires Requirement satisfied: setuptools>=42.0.0 (installed: setuptools 69.0.2) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.43.0) Handling setuptools-rust from build-system.requires Requirement satisfied: setuptools-rust (installed: setuptools-rust 1.10.1) running egg_info writing src/bcrypt.egg-info/PKG-INFO writing dependency_links to src/bcrypt.egg-info/dependency_links.txt writing requirements to src/bcrypt.egg-info/requires.txt writing top-level names to src/bcrypt.egg-info/top_level.txt reading manifest file 'src/bcrypt.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'Cargo.lock' under directory 'src/_bcrypt' warning: no previously-included files found matching 'requirements.txt' warning: no previously-included files found matching 'release.py' warning: no previously-included files found matching 'mypy.ini' warning: no previously-included files matching '*' found under directory '.github' warning: no previously-included files found matching 'src/_bcrypt/target' warning: no previously-included files matching '*' found under directory 'src/_bcrypt/target' adding license file 'LICENSE' writing manifest file 'src/bcrypt.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.43.0) Handling tox-current-env >= 0.0.6 from tox itself Requirement satisfied: tox-current-env >= 0.0.6 (installed: tox-current-env 0.0.11) py312: OK (0.01 seconds) congratulations :) (0.07 seconds) Handling tox from tox --print-deps-only: py312 Requirement satisfied: tox (installed: tox 4.11.1) Handling coverage from tox --print-deps-only: py312 Requirement satisfied: coverage (installed: coverage 7.3.2) running dist_info creating bcrypt.egg-info writing bcrypt.egg-info/PKG-INFO writing dependency_links to bcrypt.egg-info/dependency_links.txt writing requirements to bcrypt.egg-info/requires.txt writing top-level names to bcrypt.egg-info/top_level.txt writing manifest file 'bcrypt.egg-info/SOURCES.txt' reading manifest file 'bcrypt.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'Cargo.lock' under directory 'src/_bcrypt' warning: no previously-included files found matching 'requirements.txt' warning: no previously-included files found matching 'release.py' warning: no previously-included files found matching 'mypy.ini' warning: no previously-included files matching '*' found under directory '.github' warning: no previously-included files found matching 'src/_bcrypt/target' warning: no previously-included files matching '*' found under directory 'src/_bcrypt/target' adding license file 'LICENSE' writing manifest file 'bcrypt.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build/bcrypt-4.1.2/bcrypt-4.1.2.dist-info' Handling pytest >=3.2.1 ; extra == 'tests' from hook generated metadata: Requires-Dist (bcrypt) Requirement satisfied: pytest >=3.2.1 ; extra == 'tests' (installed: pytest 7.4.4) Handling mypy ; extra == 'typecheck' from hook generated metadata: Requires-Dist (bcrypt) Ignoring alien requirement: mypy ; extra == 'typecheck' + cat /home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build/python-bcrypt-4.1.2-4.mga10.x86_64-pyproject-buildrequires + rm -rfv bcrypt-4.1.2.dist-info/ removed 'bcrypt-4.1.2.dist-info/top_level.txt' removed 'bcrypt-4.1.2.dist-info/METADATA' removed 'bcrypt-4.1.2.dist-info/LICENSE' removed directory 'bcrypt-4.1.2.dist-info/' + cd src/_bcrypt + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.c4ft7l + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build + cd bcrypt-4.1.2 + '[' 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/python-bcrypt-4.1.2-build/bcrypt-4.1.2/.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/python-bcrypt-4.1.2-build/bcrypt-4.1.2/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build/bcrypt-4.1.2/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build/bcrypt-4.1.2 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build/bcrypt-4.1.2/.pyproject-builddir/pip-modern-metadata-pce2xd4t/bcrypt.egg-info writing /home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build/bcrypt-4.1.2/.pyproject-builddir/pip-modern-metadata-pce2xd4t/bcrypt.egg-info/PKG-INFO writing dependency_links to /home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build/bcrypt-4.1.2/.pyproject-builddir/pip-modern-metadata-pce2xd4t/bcrypt.egg-info/dependency_links.txt writing requirements to /home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build/bcrypt-4.1.2/.pyproject-builddir/pip-modern-metadata-pce2xd4t/bcrypt.egg-info/requires.txt writing top-level names to /home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build/bcrypt-4.1.2/.pyproject-builddir/pip-modern-metadata-pce2xd4t/bcrypt.egg-info/top_level.txt writing manifest file '/home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build/bcrypt-4.1.2/.pyproject-builddir/pip-modern-metadata-pce2xd4t/bcrypt.egg-info/SOURCES.txt' reading manifest file '/home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build/bcrypt-4.1.2/.pyproject-builddir/pip-modern-metadata-pce2xd4t/bcrypt.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'Cargo.lock' under directory 'src/_bcrypt' warning: no previously-included files found matching 'requirements.txt' warning: no previously-included files found matching 'release.py' warning: no previously-included files found matching 'mypy.ini' warning: no previously-included files matching '*' found under directory '.github' warning: no previously-included files found matching 'src/_bcrypt/target' warning: no previously-included files matching '*' found under directory 'src/_bcrypt/target' adding license file 'LICENSE' writing manifest file '/home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build/bcrypt-4.1.2/.pyproject-builddir/pip-modern-metadata-pce2xd4t/bcrypt.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build/bcrypt-4.1.2/.pyproject-builddir/pip-modern-metadata-pce2xd4t/bcrypt-4.1.2.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: bcrypt Building wheel for bcrypt (pyproject.toml): started Running command Building wheel for bcrypt (pyproject.toml) 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/bcrypt copying src/bcrypt/__init__.py -> build/lib.linux-x86_64-cpython-312/bcrypt running egg_info writing src/bcrypt.egg-info/PKG-INFO writing dependency_links to src/bcrypt.egg-info/dependency_links.txt writing requirements to src/bcrypt.egg-info/requires.txt writing top-level names to src/bcrypt.egg-info/top_level.txt reading manifest file 'src/bcrypt.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'Cargo.lock' under directory 'src/_bcrypt' warning: no previously-included files found matching 'requirements.txt' warning: no previously-included files found matching 'release.py' warning: no previously-included files found matching 'mypy.ini' warning: no previously-included files matching '*' found under directory '.github' warning: no previously-included files found matching 'src/_bcrypt/target' warning: no previously-included files matching '*' found under directory 'src/_bcrypt/target' adding license file 'LICENSE' writing manifest file 'src/bcrypt.egg-info/SOURCES.txt' copying src/bcrypt/__init__.pyi -> build/lib.linux-x86_64-cpython-312/bcrypt copying src/bcrypt/py.typed -> build/lib.linux-x86_64-cpython-312/bcrypt running build_ext running build_rust error: failed to select a version for the requirement `base64 = "^0.21.5"` candidate versions found which didn't match: 0.22.1 location searched: directory source `/usr/share/cargo/registry` (which is replacing registry `crates-io`) required by package `bcrypt-rust v0.1.0 (/home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build/bcrypt-4.1.2/src/_bcrypt)` 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. =============================DEBUG ASSISTANCE============================= If you are seeing a compilation error please try the following steps to successfully install bcrypt: 1) Upgrade to the latest pip and try again. This will fix errors for most users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip 2) Ensure you have a recent Rust toolchain installed. bcrypt requires rustc >= 1.64.0. (1.63 may be used by setting the BCRYPT_ALLOW_RUST_163 environment variable) Python: 3.12.7 platform: Linux-6.4.7-server-3.mga9-x86_64-with-glibc2.40 pip: 24.2 setuptools: 69.0.2 setuptools_rust: 1.10.1 rustc: 1.82.0 (f6e511eec 2024-10-15) (Mageia 1.82.0-2.mga10) =============================DEBUG ASSISTANCE============================= error: `cargo metadata --manifest-path src/_bcrypt/Cargo.toml --format-version 1` failed with code 101 -- Output captured from stdout: error: subprocess-exited-with-error × Building wheel for bcrypt (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/python-bcrypt-4.1.2-build/bcrypt-4.1.2/.pyproject-builddir/tmp298r7wjx cwd: /home/pterjan/rpmbuild/BUILD/python-bcrypt-4.1.2-build/bcrypt-4.1.2 Building wheel for bcrypt (pyproject.toml): finished with status 'error' ERROR: Failed building wheel for bcrypt Failed to build bcrypt ERROR: Failed to build one or more wheels error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.c4ft7l (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.c4ft7l (%build) I: [iurt_root_command] ERROR: chroot