D: [iurt_root_command] chroot sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/python-rpm-macros-3.12-1.mga10.src.rpm Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.mqA3kn + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf python-rpm-macros-3.12 + /usr/bin/mkdir -p python-rpm-macros-3.12 + cd python-rpm-macros-3.12 + rm -rf /home/pterjan/rpmbuild/BUILD/python-rpm-macros-3.12-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-rpm-macros-3.12-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -a /home/pterjan/rpmbuild/SOURCES/macros.python /home/pterjan/rpmbuild/SOURCES/macros.python-srpm /home/pterjan/rpmbuild/SOURCES/macros.python2 /home/pterjan/rpmbuild/SOURCES/macros.python3 /home/pterjan/rpmbuild/SOURCES/macros.pybytecompile /home/pterjan/rpmbuild/SOURCES/python.lua /home/pterjan/rpmbuild/SOURCES/compileall2.py /home/pterjan/rpmbuild/SOURCES/import_all_modules.py /home/pterjan/rpmbuild/SOURCES/pathfix.py /home/pterjan/rpmbuild/SOURCES/clamp_source_mtime.py /home/pterjan/rpmbuild/SOURCES/brp-python-bytecompile /home/pterjan/rpmbuild/SOURCES/brp-python-hardlink /home/pterjan/rpmbuild/SOURCES/brp-fix-pyc-reproducibility /home/pterjan/rpmbuild/SOURCES/macros.python-mga . + sed -i '1s=^#!/usr/bin/env python3==' pathfix.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.iHq8xl + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd python-rpm-macros-3.12 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + 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.FnU8MP + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/python-rpm-macros-3.12-1.mga10.noarch '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/python-rpm-macros-3.12-1.mga10.noarch ++ dirname /home/pterjan/rpmbuild/BUILDROOT/python-rpm-macros-3.12-1.mga10.noarch + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/python-rpm-macros-3.12-1.mga10.noarch + cd python-rpm-macros-3.12 + '[' 1 -eq 1 ']' + mkdir -p /home/pterjan/rpmbuild/BUILDROOT/python-rpm-macros-3.12-1.mga10.noarch/usr/lib/rpm/macros.d + install -m 644 macros.pybytecompile macros.python macros.python-mga macros.python-srpm macros.python2 macros.python3 /home/pterjan/rpmbuild/BUILDROOT/python-rpm-macros-3.12-1.mga10.noarch/usr/lib/rpm/macros.d + mkdir -p /home/pterjan/rpmbuild/BUILDROOT/python-rpm-macros-3.12-1.mga10.noarch/usr/lib/rpm/lua/fedora/srpm + install -p -m 644 -t /home/pterjan/rpmbuild/BUILDROOT/python-rpm-macros-3.12-1.mga10.noarch/usr/lib/rpm/lua/fedora/srpm python.lua + mkdir -p /home/pterjan/rpmbuild/BUILDROOT/python-rpm-macros-3.12-1.mga10.noarch/usr/lib/rpm/redhat + install -m 644 compileall2.py /home/pterjan/rpmbuild/BUILDROOT/python-rpm-macros-3.12-1.mga10.noarch/usr/lib/rpm/redhat/ + install -m 644 clamp_source_mtime.py /home/pterjan/rpmbuild/BUILDROOT/python-rpm-macros-3.12-1.mga10.noarch/usr/lib/rpm/redhat/ + install -m 644 import_all_modules.py /home/pterjan/rpmbuild/BUILDROOT/python-rpm-macros-3.12-1.mga10.noarch/usr/lib/rpm/redhat/ + install -m 644 pathfix.py /home/pterjan/rpmbuild/BUILDROOT/python-rpm-macros-3.12-1.mga10.noarch/usr/lib/rpm/redhat/ + install -m 755 brp-fix-pyc-reproducibility brp-python-bytecompile brp-python-hardlink /home/pterjan/rpmbuild/BUILDROOT/python-rpm-macros-3.12-1.mga10.noarch/usr/lib/rpm/redhat/ + /usr/bin/find-debuginfo -j48 --strict-build-id -m -i --build-id-seed 3.12-1.mga10 --unique-debug-suffix -3.12-1.mga10.noarch --unique-debug-src-base python-rpm-macros-3.12-1.mga10.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/python-rpm-macros-3.12 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find-debuginfo: done + /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/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/lib/rpm/redhat/brp-python-hardlink from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/lib/rpm/redhat/brp-fix-pyc-reproducibility from /bin/bash -e to #!/usr/bin/bash -e mangling shebang in /usr/lib/rpm/redhat/brp-python-bytecompile from /bin/bash to #!/usr/bin/bash + /home/pterjan/rpmbuild/BUILDROOT/python-rpm-macros-3.12-1.mga10.noarchenv -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j48 /home/pterjan/rpmbuild/tmp/rpm-tmp.FnU8MP: line 101: /home/pterjan/rpmbuild/BUILDROOT/python-rpm-macros-3.12-1.mga10.noarchenv: No such file or directory error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.FnU8MP (%install) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.FnU8MP (%install) I: [iurt_root_command] ERROR: chroot