D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/perl-XML-Bare-0.530.0-22.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.MEEqPy + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf XML-Bare-0.53 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/XML-Bare-0.53.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd XML-Bare-0.53 + rm -rf /home/pterjan/rpmbuild/BUILD/XML-Bare-0.53-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/XML-Bare-0.53-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.AhSWUQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd XML-Bare-0.53 + '[' 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 XML::Bare Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j16 V=1 VERBOSE=1 cp Bare.pm blib/lib/XML/Bare.pm gcc -c -D_REENTRANT -D_GNU_SOURCE -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 -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DVERSION=\"0.53\" -DXS_VERSION=\"0.53\" -fPIC "-I/usr/lib64/perl5/CORE" parser.c parser.c: In function 'new_nodecp': parser.c:27:41: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 27 | struct nodec *self = (struct nodec *) malloc( size ); | ^~~~~~ parser.c:13:1: note: include '' or provide a declaration of 'malloc' 12 | #include +++ |+#include 13 | #endif parser.c:27:41: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 27 | struct nodec *self = (struct nodec *) malloc( size ); | ^~~~~~ parser.c:27:41: note: include '' or provide a declaration of 'malloc' parser.c: In function 'new_nodec': parser.c:36:41: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 36 | struct nodec *self = (struct nodec *) malloc( size ); | ^~~~~~ parser.c:36:41: note: include '' or provide a declaration of 'malloc' parser.c: In function 'del_nodec': parser.c:56:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 56 | free( curatt ); | ^~~~ parser.c:56:5: note: include '' or provide a declaration of 'free' parser.c:56:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] parser.c:56:5: note: include '' or provide a declaration of 'free' parser.c:59:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 59 | free( node ); | ^~~~ parser.c:59:3: note: include '' or provide a declaration of 'free' parser.c: In function 'new_attc': parser.c:64:39: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 64 | struct attc *self = (struct attc *) malloc( size ); | ^~~~~~ parser.c:64:39: note: include '' or provide a declaration of 'malloc' parser.c: In function 'parserc_parse': parser.c:422:46: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 422 | if( !att_has_val ) { curatt->value = -1; curatt->vallen = 0; } | ^ parser.c:441:46: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 441 | if( !att_has_val ) { curatt->value = -1; curatt->vallen = 0; } | ^ parser.c: In function 'parserc_parse_unsafely': parser.c:837:46: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 837 | if( !att_has_val ) { curatt->value = -1; curatt->vallen = 0; } | ^ parser.c:855:46: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 855 | if( !att_has_val ) { curatt->value = -1; curatt->vallen = 0; } | ^ make: *** [Makefile:343: parser.o] Error 1 make: *** Waiting for unfinished jobs.... Running Mkbootstrap for Bare () chmod 644 "Bare.bs" "/usr/bin/perl5.38.2" "/usr/share/perl5/ExtUtils/xsubpp" -nolinenumbers -typemap '/usr/share/perl5/ExtUtils/typemap' Bare.xs > Bare.xsc Please specify prototyping behavior for Bare.xs (see perlxs manual) mv Bare.xsc Bare.c error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.AhSWUQ (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.AhSWUQ (%build) I: [iurt_root_command] ERROR: chroot