D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/perl-HTML-Tidy5-1.60.0-3.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.fmoAVX + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf HTML-Tidy5-1.06 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/HTML-Tidy5-1.06.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd HTML-Tidy5-1.06 + /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.vtC4Jp + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd HTML-Tidy5-1.06 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor NOTE: It seems that you don't have LWP::Simple installed. The webtidy program will not be able to retrieve web pages. Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for HTML::Tidy5 Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j8 V=1 VERBOSE=1 Running Mkbootstrap for Tidy5 () chmod 644 "Tidy5.bs" "/usr/bin/perl5.32.1" -MExtUtils::Command::MM -e 'cp_nonempty' -- Tidy5.bs blib/arch/auto/HTML/Tidy5/Tidy5.bs 644 cp lib/HTML/Tidy5/Message.pm blib/lib/HTML/Tidy5/Message.pm cp lib/Test/HTML/Tidy5.pm blib/lib/Test/HTML/Tidy5.pm cp lib/HTML/Tidy5.pm blib/lib/HTML/Tidy5.pm "/usr/bin/perl5.32.1" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' Tidy5.xs > Tidy5.xsc mv Tidy5.xsc Tidy5.c aarch64-mageia-linux-gnu-gcc -c -I. -I/usr/include/tidy -I/usr/local/include/tidy -I/usr/include/tidy -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"1.06\" -DXS_VERSION=\"1.06\" -fPIC "-I/usr/lib64/perl5/CORE" Tidy5.c /bin/sh: line 1: aarch64-mageia-linux-gnu-gcc: command not found make: *** [Makefile:349: Tidy5.o] Error 127 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.vtC4Jp (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.vtC4Jp (%build) I: [iurt_root_command] ERROR: chroot