D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/python-rpy2-3.5.17-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wu4lsm sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ZL7x1p + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-rpy2-3.5.17-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-rpy2-3.5.17-build + rm -rf rpy2-3.5.17 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/rpy2-3.5.17.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rpy2-3.5.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + 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.c0uLyW + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-rpy2-3.5.17-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 rpy2-3.5.17 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-rpy2-3.5.17-build/rpy2-3.5.17/.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-rpy2-3.5.17-build/rpy2-3.5.17/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-rpy2-3.5.17-build/rpy2-3.5.17/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/python-rpy2-3.5.17-build/rpy2-3.5.17 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/bin/ld: cannot find -lzstd: No such file or directory collect2: error: ld returned 1 exit status Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/setuptools/_distutils/spawn.py", line 87, in spawn subprocess.check_call(cmd, env=_inject_macos_ver(env)) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.13/subprocess.py", line 419, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/usr/bin/gcc', '/home/pterjan/rpmbuild/BUILD/python-rpy2-3.5.17-build/rpy2-3.5.17/.pyproject-builddir/tmp_pw_r_mq_dwrwx/home/pterjan/rpmbuild/BUILD/python-rpy2-3.5.17-build/rpy2-3.5.17/.pyproject-builddir/tmp_pw_r_mq_dwrwx/test_pw_r.o', '-L/usr/lib64/R/lib', '-lR', '-ltre', '-lpcre2-8', '-lzstd', '-llzma', '-lbz2', '-lz', '-lrt', '-ldl', '-lm', '-licuuc', '-licui18n', '-o', '/home/pterjan/rpmbuild/BUILD/python-rpy2-3.5.17-build/rpy2-3.5.17/.pyproject-builddir/tmp_pw_r_mq_dwrwx/test_pw_r']' returned non-zero exit status 1. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/setuptools/_distutils/compilers/C/unix.py", line 308, in link self.spawn(linker + ld_args) ~~~~~~~~~~^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools/_distutils/compilers/C/base.py", line 1158, in spawn spawn(cmd, dry_run=self.dry_run, **kwargs) ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/setuptools/_distutils/spawn.py", line 93, in spawn raise DistutilsExecError( f"command {_debug(cmd)!r} failed with exit code {err.returncode}" ) from err distutils.errors.DistutilsExecError: command '/usr/bin/gcc' failed with exit code 1 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in main() ~~~~^^ File "/usr/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main json_out["return_val"] = hook(**hook_input["kwargs"]) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 175, in prepare_metadata_for_build_wheel return hook(metadata_directory, config_settings) File "/usr/lib/python3.13/site-packages/setuptools/build_meta.py", line 377, in prepare_metadata_for_build_wheel self.run_setup() ~~~~~~~~~~~~~~^^ File "/usr/lib/python3.13/site-packages/setuptools/build_meta.py", line 320, in run_setup exec(code, locals()) ~~~~^^^^^^^^^^^^^^^^ File "", line 141, in File "", line 121, in get_r_c_extension_status File "", line 82, in get_c_extension_status File "/usr/lib/python3.13/site-packages/setuptools/_distutils/compilers/C/base.py", line 841, in link_executable self.link( ~~~~~~~~~^ Compiler.EXECUTABLE, ^^^^^^^^^^^^^^^^^^^^ ...<11 lines>... target_lang, ^^^^^^^^^^^^ ) ^ File "/usr/lib/python3.13/site-packages/setuptools/_distutils/compilers/C/unix.py", line 310, in link raise LinkError(msg) distutils.compilers.C.errors.LinkError: command '/usr/bin/gcc' failed with exit code 1 error: subprocess-exited-with-error × Preparing metadata (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.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py prepare_metadata_for_build_wheel /home/pterjan/rpmbuild/BUILD/python-rpy2-3.5.17-build/rpy2-3.5.17/.pyproject-builddir/tmpteqnrobb cwd: /home/pterjan/rpmbuild/BUILD/python-rpy2-3.5.17-build/rpy2-3.5.17 Preparing metadata (pyproject.toml): finished with status 'error' error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.c0uLyW (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.c0uLyW (%build) I: [iurt_root_command] ERROR: chroot