D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
sh: line 4: [: -j8: integer expression expected
sh: line 4: [: -j8: integer expression expected
Installing /home/pterjan/rpmbuild/SRPMS/python-maturin-1.4.0-5.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xS90JT
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-maturin-1.4.0-build
+ test -d /home/pterjan/rpmbuild/BUILD/python-maturin-1.4.0-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-maturin-1.4.0-build
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python-maturin-1.4.0-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-maturin-1.4.0-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-maturin-1.4.0-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
sh: line 4: [: -j8: integer expression expected
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.aBxFyV
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-maturin-1.4.0-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/python-maturin-1.4.0-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
+ /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/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0003-remove-shebang-from-non-executable-__init__.py-file.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ 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
sh: line 4: [: -j8: integer expression expected
Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.5Isyi3
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-maturin-1.4.0-build
+ cd maturin-1.4.0
+ echo pyproject-rpm-macros
+ echo python3-devel
+ echo 'python3dist(packaging)'
+ echo 'python3dist(pip) >= 19'
+ '[' -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/python-maturin-1.4.0-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'
+ CXXFLAGS='-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'
+ FFLAGS='-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 '
+ FCFLAGS='-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 '
+ VALAFLAGS=-g
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ 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'
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ CXX=g++
+ TMPDIR=/home/pterjan/rpmbuild/BUILD/python-maturin-1.4.0-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/python-maturin-1.4.0-build/maturin-1.4.0/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/python-maturin-1.4.0-build/python-maturin-1.4.0-5.mga10.x86_64-pyproject-buildrequires
Handling setuptools from build-system.requires
Requirement satisfied: setuptools
   (installed: setuptools 75.6.0)
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.10.1)
Handling setuptools-rust>=1.4.0 from get_requires_for_build_wheel
Requirement satisfied: setuptools-rust>=1.4.0
   (installed: setuptools-rust 1.10.1)
/usr/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:79: 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/python-maturin-1.4.0-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-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
sh: line 4: [: -j8: integer expression expected
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.pupxgP
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/python-maturin-1.4.0-build
+ 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'
+ export CFLAGS
+ CXXFLAGS='-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'
+ export CXXFLAGS
+ FFLAGS='-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 '
+ export FFLAGS
+ FCFLAGS='-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 '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ 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'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ 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/python-maturin-1.4.0-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'
+ CXXFLAGS='-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'
+ FFLAGS='-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 '
+ FCFLAGS='-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 '
+ VALAFLAGS=-g
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ 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'
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ CXX=g++
+ TMPDIR=/home/pterjan/rpmbuild/BUILD/python-maturin-1.4.0-build/maturin-1.4.0/.pyproject-builddir
+ /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-maturin-1.4.0-build/maturin-1.4.0/pyproject-wheeldir
Processing /home/pterjan/rpmbuild/BUILD/python-maturin-1.4.0-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:79: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies)
    corresp(dist, value, root_dir)
  running dist_info
  creating /home/pterjan/rpmbuild/BUILD/python-maturin-1.4.0-build/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-10x5i0l9/maturin.egg-info
  writing /home/pterjan/rpmbuild/BUILD/python-maturin-1.4.0-build/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-10x5i0l9/maturin.egg-info/PKG-INFO
  writing dependency_links to /home/pterjan/rpmbuild/BUILD/python-maturin-1.4.0-build/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-10x5i0l9/maturin.egg-info/dependency_links.txt
  writing requirements to /home/pterjan/rpmbuild/BUILD/python-maturin-1.4.0-build/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-10x5i0l9/maturin.egg-info/requires.txt
  writing top-level names to /home/pterjan/rpmbuild/BUILD/python-maturin-1.4.0-build/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-10x5i0l9/maturin.egg-info/top_level.txt
  writing manifest file '/home/pterjan/rpmbuild/BUILD/python-maturin-1.4.0-build/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-10x5i0l9/maturin.egg-info/SOURCES.txt'
  reading manifest file '/home/pterjan/rpmbuild/BUILD/python-maturin-1.4.0-build/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-10x5i0l9/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/python-maturin-1.4.0-build/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-10x5i0l9/maturin.egg-info/SOURCES.txt'
  creating '/home/pterjan/rpmbuild/BUILD/python-maturin-1.4.0-build/maturin-1.4.0/.pyproject-builddir/pip-modern-metadata-10x5i0l9/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:79: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies)
    corresp(dist, value, root_dir)
  /usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py:251: _IncompatibleBdistWheel: wheel.bdist_wheel is deprecated, please import it from setuptools
  !!

          ********************************************************************************
          Ensure that any custom bdist_wheel implementation is a subclass of
          setuptools.command.bdist_wheel.bdist_wheel.

          By 2025-Oct-15, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.

          See https://github.com/pypa/wheel/pull/631 for details.
          ********************************************************************************

  !!
    return _build_backend().build_wheel(wheel_directory, config_settings,
  /usr/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:79: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies)
    corresp(dist, value, root_dir)
  running bdist_wheel
  running build
  running build_py
  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 `base64 = "^0.21.0"`
  candidate versions found which didn't match: 0.22.1, 0.13.1
  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/python-maturin-1.4.0-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/python-maturin-1.4.0-build/maturin-1.4.0/.pyproject-builddir/tmpmhuhyn51
  cwd: /home/pterjan/rpmbuild/BUILD/python-maturin-1.4.0-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.pupxgP (%build)

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.pupxgP (%build)
I: [iurt_root_command] ERROR: chroot