D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/perl-Compress-Bzip2-2.280.0-1.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Ksylek + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf Compress-Bzip2-2.28 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/Compress-Bzip2-2.28.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Compress-Bzip2-2.28 + /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.ThqWdE + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd Compress-Bzip2-2.28 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Parsing config.in... Can't exec "aarch64-mageia-linux-gnu-gcc": No such file or directory at Makefile.PL line 193. compile command 'aarch64-mageia-linux-gnu-gcc -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 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -fstack-protector-strong -L/usr/local/lib -o show_bzversion show_bzversion.c -lbz2' failed system bzip2 not found, building internal libbz2 Looks Good. Checking if your kit is complete... Looks good Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Compress::Bzip2 Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j4 V=1 VERBOSE=1 cd bzlib-src && make make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/Compress-Bzip2-2.28/bzlib-src' aarch64-mageia-linux-gnu-gcc -c -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=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib64/perl5/CORE" blocksort.c /bin/sh: line 1: aarch64-mageia-linux-gnu-gcc: command not found make[1]: *** [Makefile:338: blocksort.o] Error 127 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/Compress-Bzip2-2.28/bzlib-src' make: *** [Makefile:1149: bzlib-src/libbz2.a] Error 2 make: *** Waiting for unfinished jobs.... Running Mkbootstrap for Bzip2 () chmod 644 "Bzip2.bs" cp lib/Compress/Bzip2.pm blib/lib/Compress/Bzip2.pm AutoSplitting blib/lib/Compress/Bzip2.pm (blib/lib/auto/Compress/Bzip2) error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.ThqWdE (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.ThqWdE (%build) I: [iurt_root_command] ERROR: chroot