D: [iurt_root_command] chroot sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/python-pylzma-0.5.0-7.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.0F5Nep + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf pylzma-0.5.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/pylzma-0.5.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pylzma-0.5.0 + rm -rf /home/pterjan/rpmbuild/BUILD/pylzma-0.5.0-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/pylzma-0.5.0-SPECPARTS + /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.CM17qe + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd pylzma-0.5.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/pylzma-0.5.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/pylzma-0.5.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/pylzma-0.5.0/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/pylzma-0.5.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /home/pterjan/rpmbuild/BUILD/pylzma-0.5.0/.pyproject-builddir/pip-modern-metadata-dg3tc_a3/pylzma.egg-info writing /home/pterjan/rpmbuild/BUILD/pylzma-0.5.0/.pyproject-builddir/pip-modern-metadata-dg3tc_a3/pylzma.egg-info/PKG-INFO writing dependency_links to /home/pterjan/rpmbuild/BUILD/pylzma-0.5.0/.pyproject-builddir/pip-modern-metadata-dg3tc_a3/pylzma.egg-info/dependency_links.txt writing requirements to /home/pterjan/rpmbuild/BUILD/pylzma-0.5.0/.pyproject-builddir/pip-modern-metadata-dg3tc_a3/pylzma.egg-info/requires.txt writing top-level names to /home/pterjan/rpmbuild/BUILD/pylzma-0.5.0/.pyproject-builddir/pip-modern-metadata-dg3tc_a3/pylzma.egg-info/top_level.txt writing manifest file '/home/pterjan/rpmbuild/BUILD/pylzma-0.5.0/.pyproject-builddir/pip-modern-metadata-dg3tc_a3/pylzma.egg-info/SOURCES.txt' reading manifest file '/home/pterjan/rpmbuild/BUILD/pylzma-0.5.0/.pyproject-builddir/pip-modern-metadata-dg3tc_a3/pylzma.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'src/sdk.orig' adding license file 'LICENSE' writing manifest file '/home/pterjan/rpmbuild/BUILD/pylzma-0.5.0/.pyproject-builddir/pip-modern-metadata-dg3tc_a3/pylzma.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/pylzma-0.5.0/.pyproject-builddir/pip-modern-metadata-dg3tc_a3/pylzma-0.5.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: pylzma Building wheel for pylzma (pyproject.toml): started Running command Building wheel for pylzma (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-312 copying py7zlib.py -> build/lib.linux-x86_64-cpython-312 running build_ext :105: UnsupportedPlatformWarning: Multithreading is not supported on the platform "linux", please contact mail@joachim-bauch.de for more informations. building 'pylzma' extension creating build/temp.linux-x86_64-cpython-312 creating build/temp.linux-x86_64-cpython-312/src creating build/temp.linux-x86_64-cpython-312/src/compat creating build/temp.linux-x86_64-cpython-312/src/pylzma creating build/temp.linux-x86_64-cpython-312/src/sdk creating build/temp.linux-x86_64-cpython-312/src/sdk/C gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -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 -fPIC -DPY_SSIZE_T_CLEAN=1 -DWITH_COMPAT=1 -DPYLZMA_VERSION=0.5.0 -D_7ZIP_ST=1 -Isrc/sdk/C -I/usr/include/python3.12 -c src/compat/LzmaCompatDecode.c -o build/temp.linux-x86_64-cpython-312/src/compat/LzmaCompatDecode.o gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -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 -fPIC -DPY_SSIZE_T_CLEAN=1 -DWITH_COMPAT=1 -DPYLZMA_VERSION=0.5.0 -D_7ZIP_ST=1 -Isrc/sdk/C -I/usr/include/python3.12 -c src/pylzma/pylzma.c -o build/temp.linux-x86_64-cpython-312/src/pylzma/pylzma.o src/pylzma/pylzma.c: In function ‘PyInit_pylzma’: src/pylzma/pylzma.c:296:5: warning: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations] 296 | PyEval_InitThreads(); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.12/Python.h:95, from src/pylzma/pylzma.c:26: /usr/include/python3.12/ceval.h:132:37: note: declared here 132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -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 -fPIC -DPY_SSIZE_T_CLEAN=1 -DWITH_COMPAT=1 -DPYLZMA_VERSION=0.5.0 -D_7ZIP_ST=1 -Isrc/sdk/C -I/usr/include/python3.12 -c src/pylzma/pylzma_aes.c -o build/temp.linux-x86_64-cpython-312/src/pylzma/pylzma_aes.o src/pylzma/pylzma_aes.c:158:5: error: initialization of ‘long int’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion] 158 | NULL, /* printfunc tp_print; */ | ^~~~ src/pylzma/pylzma_aes.c:158:5: note: (near initialization for ‘CAESDecrypt_Type.tp_vectorcall_offset’) error: command '/usr/bin/gcc' failed with exit code 1 error: subprocess-exited-with-error × Building wheel for pylzma (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/pylzma-0.5.0/.pyproject-builddir/tmp36ebfda3 cwd: /home/pterjan/rpmbuild/BUILD/pylzma-0.5.0 Building wheel for pylzma (pyproject.toml): finished with status 'error' ERROR: Failed building wheel for pylzma Failed to build pylzma ERROR: Failed to build one or more wheels error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.CM17qe (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.CM17qe (%build) I: [iurt_root_command] ERROR: chroot