D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/galette-plugin-admintools-1.6.2-2.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.8Sp2d7 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf galette-plugin-admintools + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/galette-plugin-admintools-1.6.2.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd galette-plugin-admintools + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.XUZIr9 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd galette-plugin-admintools + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.HPyZI8 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/galette-plugin-admintools-1.6.2-2.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/galette-plugin-admintools-1.6.2-2.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/galette-plugin-admintools-1.6.2-2.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/galette-plugin-admintools-1.6.2-2.mga8.aarch64 + cd galette-plugin-admintools + '[' 1 -eq 1 ']' + install -d -m 755 /home/iurt/rpmbuild/BUILDROOT/galette-plugin-admintools-1.6.2-2.mga8.aarch64/usr/share/galette/plugins/galette-plugin-admintools + cp -pr BUGS COPYING ChangeLog INSTALL README TODO _config.inc.php _define.php _smarties.php admintools.php lang templates /home/iurt/rpmbuild/BUILDROOT/galette-plugin-admintools-1.6.2-2.mga8.aarch64/usr/share/galette/plugins/galette-plugin-admintools + pushd /home/iurt/rpmbuild/BUILDROOT/galette-plugin-admintools-1.6.2-2.mga8.aarch64/usr/share/galette/plugins/galette-plugin-admintools ~/rpmbuild/BUILDROOT/galette-plugin-admintools-1.6.2-2.mga8.aarch64/usr/share/galette/plugins/galette-plugin-admintools ~/rpmbuild/BUILD/galette-plugin-admintools + rm BUGS ChangeLog COPYING README TODO + popd ~/rpmbuild/BUILD/galette-plugin-admintools + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 1.6.2-2.mga8 --unique-debug-suffix -1.6.2-2.mga8.aarch64 --unique-debug-src-base galette-plugin-admintools-1.6.2-2.mga8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/galette-plugin-admintools + '[' -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/galette-plugin-admintools-1.6.2-2.mga8.aarch64/usr/share/galette/plugins/galette-plugin-admintools/lang/xgettext.py + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs *** ERROR: ambiguous python shebang in /usr/share/galette/plugins/galette-plugin-admintools/lang/xgettext.py: #!/usr/bin/python. Change it to python3 (or python2) explicitly. error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.HPyZI8 (%install) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.HPyZI8 (%install) I: [iurt_root_command] ERROR: chroot