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-scour-0.38.2-4.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wTdGpQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build + test -d /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-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.zxQMfJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build + rm -rf scour-0.38.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/scour-0.38.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd scour-0.38.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf scour.egg-info + find . -type f -name '*.py' -exec sed -i '/env python/d' '{}' ';' + find . -type f -name '*.py' -exec sed -i '/env python/d' '{}' ';' + 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.z7Suhd + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build + cd scour-0.38.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + 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' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build/lib/scour copying scour/svg_regex.py -> build/lib/scour copying scour/svg_transform.py -> build/lib/scour copying scour/scour.py -> build/lib/scour copying scour/yocto_css.py -> build/lib/scour copying scour/__init__.py -> build/lib/scour + 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.5x5jaU + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build + mkdir /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build/BUILDROOT + cd scour-0.38.2 + '[' 1 -eq 1 ']' + 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' + /usr/bin/python3 setup.py install -O1 --skip-build --root /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build/BUILDROOT --prefix /usr running install /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build/BUILDROOT/usr/lib/python3.12/site-packages creating /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build/BUILDROOT/usr/lib/python3.12/site-packages/scour copying build/lib/scour/svg_regex.py -> /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build/BUILDROOT/usr/lib/python3.12/site-packages/scour copying build/lib/scour/svg_transform.py -> /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build/BUILDROOT/usr/lib/python3.12/site-packages/scour copying build/lib/scour/scour.py -> /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build/BUILDROOT/usr/lib/python3.12/site-packages/scour copying build/lib/scour/yocto_css.py -> /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build/BUILDROOT/usr/lib/python3.12/site-packages/scour copying build/lib/scour/__init__.py -> /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build/BUILDROOT/usr/lib/python3.12/site-packages/scour byte-compiling /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build/BUILDROOT/usr/lib/python3.12/site-packages/scour/svg_regex.py to svg_regex.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build/BUILDROOT/usr/lib/python3.12/site-packages/scour/svg_transform.py to svg_transform.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build/BUILDROOT/usr/lib/python3.12/site-packages/scour/scour.py to scour.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build/BUILDROOT/usr/lib/python3.12/site-packages/scour/yocto_css.py to yocto_css.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build/BUILDROOT/usr/lib/python3.12/site-packages/scour/__init__.py to __init__.cpython-312.pyc writing byte-compilation script '/tmp/tmp2psepx5_.py' /usr/bin/python3 /tmp/tmp2psepx5_.py removing /tmp/tmp2psepx5_.py running install_egg_info running egg_info creating scour.egg-info writing scour.egg-info/PKG-INFO writing dependency_links to scour.egg-info/dependency_links.txt writing entry points to scour.egg-info/entry_points.txt writing requirements to scour.egg-info/requires.txt writing top-level names to scour.egg-info/top_level.txt writing manifest file 'scour.egg-info/SOURCES.txt' reading manifest file 'scour.egg-info/SOURCES.txt' writing manifest file 'scour.egg-info/SOURCES.txt' Copying scour.egg-info to /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build/BUILDROOT/usr/lib/python3.12/site-packages/scour-0.38.2-py3.12.egg-info running install_scripts Installing scour script to /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build/BUILDROOT/usr/bin + rm -rfv /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build/BUILDROOT/usr/bin/__pycache__ + /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-scour-0.38.2-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.zoZLPU + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-scour-0.38.2-build + cd scour-0.38.2 + '[' 1 -eq 1 ']' + /usr/bin/python3 setup.py test 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.zoZLPU (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.zoZLPU (%check) I: [iurt_root_command] ERROR: chroot