D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/perl-BerkeleyDB-0.640.0-1.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Nk0kqn + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf BerkeleyDB-0.64 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/BerkeleyDB-0.64.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd BerkeleyDB-0.64 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod 644 Changes README + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.fYcdmM + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd BerkeleyDB-0.64 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Parsing config.in... Looks Good. Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for BerkeleyDB Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j8 V=1 VERBOSE=1 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' Running Mkbootstrap for BerkeleyDB () chmod 644 "BerkeleyDB.bs" "/usr/bin/perl5.32.1" -MExtUtils::Command::MM -e 'cp_nonempty' -- BerkeleyDB.bs blib/arch/auto/BerkeleyDB/BerkeleyDB.bs 644 cp BerkeleyDB.pod blib/lib/BerkeleyDB.pod cp BerkeleyDB.pm blib/lib/BerkeleyDB.pm cp mkconsts.pl blib/lib/mkconsts.pl cp BerkeleyDB/Btree.pm blib/lib/BerkeleyDB/Btree.pm cp BerkeleyDB/Hash.pm blib/lib/BerkeleyDB/Hash.pm cp scan.pl blib/lib/scan.pl "/usr/bin/perl5.32.1" "/usr/share/perl5/ExtUtils/xsubpp" -noprototypes -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/iurt/rpmbuild/BUILD/BerkeleyDB-0.64/typemap' BerkeleyDB.xs > BerkeleyDB.xsc Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in BerkeleyDB.xs, line 5936 Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in BerkeleyDB.xs, line 5964 mv BerkeleyDB.xsc BerkeleyDB.c aarch64-mageia-linux-gnu-gcc -c -I/usr/local/BerkeleyDB/include -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=\"0.64\" -DXS_VERSION=\"0.64\" -fPIC "-I/usr/lib64/perl5/CORE" BerkeleyDB.c /bin/sh: line 1: aarch64-mageia-linux-gnu-gcc: command not found make: *** [Makefile:353: BerkeleyDB.o] Error 127 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.fYcdmM (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.fYcdmM (%build) I: [iurt_root_command] ERROR: chroot