D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/irker-2.18-1.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.41IUL2 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf irker-2.18 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/irker-2.18.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd irker-2.18 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/irker-2.18-upstream-python3-fixes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + sed -i 's/-o 0 -g 0 //' Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.5NALH1 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd irker-2.18 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j8 V=1 VERBOSE=1 -j4 xmlto html-nochunks irkerhook.xml xmlto html-nochunks irkerd.xml xmlto man irkerd.xml Note: Writing irkerd.8 xmlto html-nochunks irk.xml xmlto man irkerhook.xml Note: Writing irkerhook.1 xmlto man irk.xml Note: Writing irk.1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.HkRwi1 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/irker-2.18-1.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/irker-2.18-1.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/irker-2.18-1.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/irker-2.18-1.mga8.aarch64 + cd irker-2.18 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/irker-2.18-1.mga8.aarch64 'INSTALL=/usr/bin/install -p' rm -f "/home/iurt/rpmbuild/BUILDROOT/irker-2.18-1.mga8.aarch64/usr/bin/irkerd" rm -f "/home/iurt/rpmbuild/BUILDROOT/irker-2.18-1.mga8.aarch64/usr/lib/systemd/system/irkerd.service" rm -f "/home/iurt/rpmbuild/BUILDROOT/irker-2.18-1.mga8.aarch64/usr/share/man/man8/irkerd.8" rm -f "/home/iurt/rpmbuild/BUILDROOT/irker-2.18-1.mga8.aarch64/usr/share/man/man1/irkerhook.1" rm -f "/home/iurt/rpmbuild/BUILDROOT/irker-2.18-1.mga8.aarch64/usr/share/man/man1/irk.1" install -m 755 -d "/home/iurt/rpmbuild/BUILDROOT/irker-2.18-1.mga8.aarch64/usr/bin" install -m 755 irkerd "/home/iurt/rpmbuild/BUILDROOT/irker-2.18-1.mga8.aarch64/usr/bin/irkerd" install -m 755 -d "/home/iurt/rpmbuild/BUILDROOT/irker-2.18-1.mga8.aarch64/usr/lib/systemd/system" install -m 644 irkerd.service "/home/iurt/rpmbuild/BUILDROOT/irker-2.18-1.mga8.aarch64/usr/lib/systemd/system" install -m 755 -d "/home/iurt/rpmbuild/BUILDROOT/irker-2.18-1.mga8.aarch64/usr/share/man/man8" install -m 755 irkerd.8 "/home/iurt/rpmbuild/BUILDROOT/irker-2.18-1.mga8.aarch64/usr/share/man/man8/irkerd.8" install -m 755 -d "/home/iurt/rpmbuild/BUILDROOT/irker-2.18-1.mga8.aarch64/usr/share/man/man1" install -m 755 irkerhook.1 "/home/iurt/rpmbuild/BUILDROOT/irker-2.18-1.mga8.aarch64/usr/share/man/man1/irkerhook.1" install -m 755 irk.1 "/home/iurt/rpmbuild/BUILDROOT/irker-2.18-1.mga8.aarch64/usr/share/man/man1/irk.1" + /usr/bin/install -D --mode=755 irkerhook.py /home/iurt/rpmbuild/BUILDROOT/irker-2.18-1.mga8.aarch64/usr/lib/irker/irkerhook.py + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 2.18-1.mga8 --unique-debug-suffix -2.18-1.mga8.aarch64 --unique-debug-src-base irker-2.18-1.mga8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/irker-2.18 + '[' -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/translate_menu + '[' -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-python-bytecompile /usr/bin/python 1 1 /home/iurt/rpmbuild/BUILDROOT/irker-2.18-1.mga8.aarch64/usr/lib/irker/irkerhook.py + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs *** ERROR: ambiguous python shebang in /usr/lib/irker/irkerhook.py: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. *** ERROR: ambiguous python shebang in /usr/bin/irkerd: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.HkRwi1 (%install) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.HkRwi1 (%install) I: [iurt_root_command] ERROR: chroot