D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/perl-Net-NIS-0.440.0-17.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.wfA9xY + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf Net-NIS-0.44 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/Net-NIS-0.44.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Net-NIS-0.44 + /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.Tazty1 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd Net-NIS-0.44 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Net::NIS Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j8 V=1 VERBOSE=1 'OPTIMIZE=-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 NIS () chmod 644 "NIS.bs" "/usr/bin/perl5.32.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- NIS.bs blib/arch/auto/Net/NIS/NIS.bs 644 cp NIS.pm blib/lib/Net/NIS.pm AutoSplitting blib/lib/Net/NIS.pm (blib/lib/auto/Net/NIS) cp NIS/Table.pm blib/lib/Net/NIS/Table.pm cp NISTable.pod blib/lib/Net/NISTable.pod cp NIS.pod blib/lib/Net/NIS.pod "/usr/bin/perl5.32.0" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' NIS.xs > NIS.xsc Please specify prototyping behavior for NIS.xs (see perlxs manual) mv NIS.xsc NIS.c 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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DVERSION=\"0.44\" -DXS_VERSION=\"0.44\" -fPIC "-I/usr/lib64/perl5/CORE" NIS.c NIS.xs:9:10: fatal error: rpc/rpc.h: No such file or directory 9 | #include | ^~~~~~~~~~~ compilation terminated. make: *** [Makefile:340: NIS.o] Error 1 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.Tazty1 (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.Tazty1 (%build) I: [iurt_root_command] ERROR: chroot