D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/python-cpuinfo-9.0.0-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.TLUq4i + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build + test -d /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.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.atM80F + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build + rm -rf py-cpuinfo-9.0.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/py-cpuinfo-9.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd py-cpuinfo-9.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e '/^#!\//, 1d' cpuinfo/cpuinfo.py + 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.VEy2oQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build + cd py-cpuinfo-9.0.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/py-cpuinfo-9.0.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/python-cpuinfo-9.0.0-build/py-cpuinfo-9.0.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/py-cpuinfo-9.0.0/pyproject-wheeldir Processing /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/py-cpuinfo-9.0.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) running dist_info creating /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/py-cpuinfo-9.0.0/.pyproject-builddir/pip-modern-metadata-ixs6l4_v/py_cpuinfo.egg-info writing /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/py-cpuinfo-9.0.0/.pyproject-builddir/pip-modern-metadata-ixs6l4_v/py_cpuinfo.egg-info/PKG-INFO writing dependency_links to /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/py-cpuinfo-9.0.0/.pyproject-builddir/pip-modern-metadata-ixs6l4_v/py_cpuinfo.egg-info/dependency_links.txt writing entry points to /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/py-cpuinfo-9.0.0/.pyproject-builddir/pip-modern-metadata-ixs6l4_v/py_cpuinfo.egg-info/entry_points.txt writing top-level names to /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/py-cpuinfo-9.0.0/.pyproject-builddir/pip-modern-metadata-ixs6l4_v/py_cpuinfo.egg-info/top_level.txt writing manifest file '/home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/py-cpuinfo-9.0.0/.pyproject-builddir/pip-modern-metadata-ixs6l4_v/py_cpuinfo.egg-info/SOURCES.txt' reading manifest file '/home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/py-cpuinfo-9.0.0/.pyproject-builddir/pip-modern-metadata-ixs6l4_v/py_cpuinfo.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file '/home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/py-cpuinfo-9.0.0/.pyproject-builddir/pip-modern-metadata-ixs6l4_v/py_cpuinfo.egg-info/SOURCES.txt' creating '/home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/py-cpuinfo-9.0.0/.pyproject-builddir/pip-modern-metadata-ixs6l4_v/py_cpuinfo-9.0.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: py-cpuinfo Building wheel for py-cpuinfo (pyproject.toml): started Running command Building wheel for py-cpuinfo (pyproject.toml) /usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) running bdist_wheel running build running build_py creating build/lib/cpuinfo copying cpuinfo/cpuinfo.py -> build/lib/cpuinfo copying cpuinfo/__main__.py -> build/lib/cpuinfo copying cpuinfo/__init__.py -> build/lib/cpuinfo installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/cpuinfo copying build/lib/cpuinfo/cpuinfo.py -> build/bdist.linux-x86_64/wheel/./cpuinfo copying build/lib/cpuinfo/__main__.py -> build/bdist.linux-x86_64/wheel/./cpuinfo copying build/lib/cpuinfo/__init__.py -> build/bdist.linux-x86_64/wheel/./cpuinfo running install_egg_info running egg_info writing py_cpuinfo.egg-info/PKG-INFO writing dependency_links to py_cpuinfo.egg-info/dependency_links.txt writing entry points to py_cpuinfo.egg-info/entry_points.txt writing top-level names to py_cpuinfo.egg-info/top_level.txt reading manifest file 'py_cpuinfo.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'py_cpuinfo.egg-info/SOURCES.txt' Copying py_cpuinfo.egg-info to build/bdist.linux-x86_64/wheel/./py_cpuinfo-9.0.0-py3.12.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/py_cpuinfo-9.0.0.dist-info/WHEEL creating '/home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/py-cpuinfo-9.0.0/.pyproject-builddir/pip-wheel-8f_urpg6/.tmp-mqtwpg4q/py_cpuinfo-9.0.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'cpuinfo/__init__.py' adding 'cpuinfo/__main__.py' adding 'cpuinfo/cpuinfo.py' adding 'py_cpuinfo-9.0.0.dist-info/LICENSE' adding 'py_cpuinfo-9.0.0.dist-info/METADATA' adding 'py_cpuinfo-9.0.0.dist-info/WHEEL' adding 'py_cpuinfo-9.0.0.dist-info/entry_points.txt' adding 'py_cpuinfo-9.0.0.dist-info/top_level.txt' adding 'py_cpuinfo-9.0.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for py-cpuinfo (pyproject.toml): finished with status 'done' Created wheel for py-cpuinfo: filename=py_cpuinfo-9.0.0-py3-none-any.whl size=22388 sha256=f45fb229d768e64149eb3ffe88128cc8595f453aff2718f0147fcdd0aab2aeae Stored in directory: /home/pterjan/.cache/pip/wheels/14/74/22/b4748c090e68c7f22cd49d098cfe9c1daae9f8bd15528b6658 Successfully built py-cpuinfo + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XQ14t5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build + mkdir /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/BUILDROOT + cd py-cpuinfo-9.0.0 + '[' 1 -eq 1 ']' ++ ls /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/py-cpuinfo-9.0.0/pyproject-wheeldir/py_cpuinfo-9.0.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=py_cpuinfo==9.0.0 + '[' -z py_cpuinfo==9.0.0 ']' + TMPDIR=/home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/py-cpuinfo-9.0.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/BUILDROOT --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/py-cpuinfo-9.0.0/pyproject-wheeldir py_cpuinfo==9.0.0 Using pip 24.3.1 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/py-cpuinfo-9.0.0/pyproject-wheeldir Processing ./pyproject-wheeldir/py_cpuinfo-9.0.0-py3-none-any.whl Installing collected packages: py_cpuinfo Creating /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/BUILDROOT/usr/bin changing mode of /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/BUILDROOT/usr/bin/cpuinfo to 755 Successfully installed py_cpuinfo-9.0.0 + '[' -d /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/BUILDROOT/usr/bin ']' + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/BUILDROOT/usr/bin/cpuinfo /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/BUILDROOT/usr/bin/cpuinfo: updating + rm -rfv /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/BUILDROOT/usr/bin/__pycache__ + rm -f /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/python-cpuinfo-9.0.0-2.mga10.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/BUILDROOT/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/BUILDROOT/usr/lib64/python3.12/site-packages '!=' /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/BUILDROOT/usr/lib/python3.12/site-packages ']' + '[' -d /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/BUILDROOT/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/py_cpuinfo-9.0.0.dist-info' + sed -i s/pip/rpm/ /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/BUILDROOT/usr/lib/python3.12/site-packages/py_cpuinfo-9.0.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/BUILDROOT --record /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/BUILDROOT/usr/lib/python3.12/site-packages/py_cpuinfo-9.0.0.dist-info/RECORD --output /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/python-cpuinfo-9.0.0-2.mga10.noarch-pyproject-record + rm -fv /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/BUILDROOT/usr/lib/python3.12/site-packages/py_cpuinfo-9.0.0.dist-info/RECORD removed '/home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/BUILDROOT/usr/lib/python3.12/site-packages/py_cpuinfo-9.0.0.dist-info/RECORD' + rm -fv /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/BUILDROOT/usr/lib/python3.12/site-packages/py_cpuinfo-9.0.0.dist-info/REQUESTED removed '/home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/BUILDROOT/usr/lib/python3.12/site-packages/py_cpuinfo-9.0.0.dist-info/REQUESTED' ++ wc -l /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/python-cpuinfo-9.0.0-2.mga10.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_FILES_ESCAPE=4.19 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/python-cpuinfo-9.0.0-2.mga10.noarch-pyproject-files --output-modules /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/python-cpuinfo-9.0.0-2.mga10.noarch-pyproject-modules --buildroot /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/BUILDROOT --sitelib /usr/lib/python3.12/site-packages --sitearch /usr/lib64/python3.12/site-packages --python-version 3.12 --pyproject-record /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/python-cpuinfo-9.0.0-2.mga10.noarch-pyproject-record --prefix /usr cpuinfo + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j48 Bytecompiling .py files below /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build/BUILDROOT/usr/lib/python3.12 using python3.12 Not clamping source mtimes, $SOURCE_DATE_EPOCH not set + /usr/lib/rpm/redhat/brp-python-hardlink sh: line 4: [: -j8: integer expression expected Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HzOiwy + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-cpuinfo-9.0.0-build + cd py-cpuinfo-9.0.0 + '[' 1 -eq 1 ']' + /usr/bin/python3 setup.py test /usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: invalid command 'test' error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.HzOiwy (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.HzOiwy (%check) I: [iurt_root_command] ERROR: chroot