D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/perl-Net-NIS-0.440.0-23.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8YFklP + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf Net-NIS-0.44 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Net-NIS-0.44.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Net-NIS-0.44 + rm -rf /home/pterjan/rpmbuild/BUILD/Net-NIS-0.44-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/Net-NIS-0.44-SPECPARTS + /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/pterjan/rpmbuild/tmp/rpm-tmp.sFP0Bj + umask 022 + cd /home/pterjan/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 -j16 V=1 VERBOSE=1 'OPTIMIZE=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tirpc' Running Mkbootstrap for NIS () chmod 644 "NIS.bs" "/usr/bin/perl5.38.2" -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 NIS.pod blib/lib/Net/NIS.pod cp NISTable.pod blib/lib/Net/NISTable.pod "/usr/bin/perl5.38.2" "/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 /usr/bin/cc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tirpc -DVERSION=\"0.44\" -DXS_VERSION=\"0.44\" -fPIC "-I/usr/lib64/perl5/CORE" NIS.c NIS.xs: In function 'XS_Net__NIS_yp_order': NIS.xs:446:39: error: passing argument 3 of 'yp_order' from incompatible pointer type [-Wincompatible-pointer-types] 446 | yp_status = yp_order(domain, map, &order); | ^~~~~~ | | | long unsigned int * In file included from /usr/include/rpcsvc/yp_prot.h:11, from NIS.xs:10: /usr/include/rpcsvc/ypclnt.h:71:50: note: expected 'unsigned int *' but argument is of type 'long unsigned int *' 71 | extern int yp_order (const char *, const char *, unsigned int *); | ^~~~~~~~~~~~~~ NIS.c: In function 'XS_Net__NIS_yperr_string': NIS.c:770:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 770 | RETVAL = yperr_string(code); | ^ NIS.xs: In function 'XS_Net__NIS_yp_maplist': NIS.xs:499:11: error: implicit declaration of function 'yp_maplist'; did you mean 'xdr_pmaplist'? [-Wimplicit-function-declaration] 499 | ret = yp_maplist( domain, &ypmap ); | ^~~~~~~~~~ | xdr_pmaplist make: *** [Makefile:342: NIS.o] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.sFP0Bj (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.sFP0Bj (%build) I: [iurt_root_command] ERROR: chroot