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-cpuid-native-0.0.8-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.dX39Bw + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build + test -d /home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-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.pAeyYe + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build + rm -rf cpuid_native-0.0.8 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/cpuid_native-0.0.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cpuid_native-0.0.8 + /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(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.CvMDsD + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build + cd cpuid_native-0.0.8 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + for f in pyproject.toml setup.py setup.cfg + '[' -f 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-cpuid-native-0.0.8-build/cpuid_native-0.0.8/.pyproject-builddir + echo -n + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 --config=/usr/lib/rpm/redhat/redhat-hardened-clang-ld.cfg' + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + CXX=clang++ + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build/cpuid_native-0.0.8/.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-cpuid-native-0.0.8-build/cpuid_native-0.0.8/pyproject-wheeldir --output /home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build/python-cpuid-native-0.0.8-2.mga10.x86_64-pyproject-buildrequires -x dev,test Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 75.6.0) running egg_info writing cpuid_native.egg-info/PKG-INFO writing dependency_links to cpuid_native.egg-info/dependency_links.txt writing requirements to cpuid_native.egg-info/requires.txt writing top-level names to cpuid_native.egg-info/top_level.txt reading manifest file 'cpuid_native.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'cpuid_native.egg-info/SOURCES.txt' running dist_info writing cpuid_native.egg-info/PKG-INFO writing dependency_links to cpuid_native.egg-info/dependency_links.txt writing requirements to cpuid_native.egg-info/requires.txt writing top-level names to cpuid_native.egg-info/top_level.txt reading manifest file 'cpuid_native.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'cpuid_native.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build/cpuid_native-0.0.8/cpuid_native-0.0.8.dist-info' Handling check-manifest; extra == "dev" from hook generated metadata: Requires-Dist (cpuid_native) Requirement satisfied: check-manifest; extra == "dev" (installed: check-manifest 0.50) Handling coverage; extra == "test" from hook generated metadata: Requires-Dist (cpuid_native) Requirement satisfied: coverage; extra == "test" (installed: coverage 7.6.10) + cat /home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build/python-cpuid-native-0.0.8-2.mga10.x86_64-pyproject-buildrequires + rm -rfv cpuid_native-0.0.8.dist-info/ removed 'cpuid_native-0.0.8.dist-info/top_level.txt' removed 'cpuid_native-0.0.8.dist-info/METADATA' removed 'cpuid_native-0.0.8.dist-info/LICENSE' removed directory 'cpuid_native-0.0.8.dist-info/' + 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.sj2Two + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 --config=/usr/lib/rpm/redhat/redhat-hardened-clang-ld.cfg' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd cpuid_native-0.0.8 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build/cpuid_native-0.0.8/.pyproject-builddir + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -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 --config=/usr/lib/rpm/redhat/redhat-hardened-clang-ld.cfg' + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + CXX=clang++ + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build/cpuid_native-0.0.8/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build/cpuid_native-0.0.8/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build/cpuid_native-0.0.8 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build/cpuid_native-0.0.8/.pyproject-builddir/pip-modern-metadata-e2plqh5j/cpuid_native.egg-info writing /home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build/cpuid_native-0.0.8/.pyproject-builddir/pip-modern-metadata-e2plqh5j/cpuid_native.egg-info/PKG-INFO writing dependency_links to /home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build/cpuid_native-0.0.8/.pyproject-builddir/pip-modern-metadata-e2plqh5j/cpuid_native.egg-info/dependency_links.txt writing requirements to /home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build/cpuid_native-0.0.8/.pyproject-builddir/pip-modern-metadata-e2plqh5j/cpuid_native.egg-info/requires.txt writing top-level names to /home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build/cpuid_native-0.0.8/.pyproject-builddir/pip-modern-metadata-e2plqh5j/cpuid_native.egg-info/top_level.txt writing manifest file '/home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build/cpuid_native-0.0.8/.pyproject-builddir/pip-modern-metadata-e2plqh5j/cpuid_native.egg-info/SOURCES.txt' reading manifest file '/home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build/cpuid_native-0.0.8/.pyproject-builddir/pip-modern-metadata-e2plqh5j/cpuid_native.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file '/home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build/cpuid_native-0.0.8/.pyproject-builddir/pip-modern-metadata-e2plqh5j/cpuid_native.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build/cpuid_native-0.0.8/.pyproject-builddir/pip-modern-metadata-e2plqh5j/cpuid_native-0.0.8.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: cpuid_native Building wheel for cpuid_native (pyproject.toml): started Running command Building wheel for cpuid_native (pyproject.toml) running bdist_wheel running build running build_ext building 'cpuid_native' extension creating build/temp.linux-x86_64-cpython-312 clang++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 --config=/usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -I/usr/include/python3.12 -c cpuidmodule.cpp -o build/temp.linux-x86_64-cpython-312/cpuidmodule.o error: command 'clang++' failed: No such file or directory error: subprocess-exited-with-error × Building wheel for cpuid_native (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-cpuid-native-0.0.8-build/cpuid_native-0.0.8/.pyproject-builddir/tmprsny7l26 cwd: /home/pterjan/rpmbuild/BUILD/python-cpuid-native-0.0.8-build/cpuid_native-0.0.8 Building wheel for cpuid_native (pyproject.toml): finished with status 'error' ERROR: Failed building wheel for cpuid_native Failed to build cpuid_native ERROR: Failed to build one or more wheels error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.sj2Two (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.sj2Two (%build) I: [iurt_root_command] ERROR: chroot