D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/wifite-2.0r85-6.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.uF8mXH + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf wifite-2.0r85 + /usr/bin/mkdir -p wifite-2.0r85 + cd wifite-2.0r85 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/wifite-2.0r85.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /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.H7n4GG + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd wifite-2.0r85 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.CLtjhF + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/wifite-2.0r85-6.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/wifite-2.0r85-6.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/wifite-2.0r85-6.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/wifite-2.0r85-6.mga8.aarch64 + cd wifite-2.0r85 + '[' 1 -eq 1 ']' + install -Dm755 wifite.py /home/iurt/rpmbuild/BUILDROOT/wifite-2.0r85-6.mga8.aarch64/usr/bin/wifite + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 2.0r85-6.mga8 --unique-debug-suffix -2.0r85-6.mga8.aarch64 --unique-debug-src-base wifite-2.0r85-6.mga8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/wifite-2.0r85 + '[' -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 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs *** ERROR: ambiguous python shebang in /usr/bin/wifite: #!/usr/bin/python. Change it to python3 (or python2) explicitly. error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.CLtjhF (%install) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.CLtjhF (%install) I: [iurt_root_command] ERROR: chroot