D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/perl-Text-Iconv-1.700.0-11.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.NmrMf3 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf Text-Iconv-1.7 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/Text-Iconv-1.7.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Text-Iconv-1.7 + /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.VcJMoj + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd Text-Iconv-1.7 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Checking for iconv ... fail Failed to find iconv, please check your settings and re-run as: /usr/bin/perl5.32.1 Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include' error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.VcJMoj (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.VcJMoj (%build) I: [iurt_root_command] ERROR: chroot