D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/perl-Eval-Compile-0.110.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.KSgMgH + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf Eval-Compile-0.11 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Eval-Compile-0.11.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Eval-Compile-0.11 + rm -rf /home/pterjan/rpmbuild/BUILD/Eval-Compile-0.11-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/Eval-Compile-0.11-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/Eval-Compile-0.11-fix-build.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.SLm3rz + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd Eval-Compile-0.11 + '[' 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 Eval::Compile Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j8 V=1 VERBOSE=1 Running Mkbootstrap for Compile () chmod 644 "Compile.bs" "/usr/bin/perl5.38.2" -MExtUtils::Command::MM -e 'cp_nonempty' -- Compile.bs blib/arch/auto/Eval/Compile/Compile.bs 644 cp lib/Eval/Compile.pm blib/lib/Eval/Compile.pm "/usr/bin/perl5.38.2" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' Compile.xs > Compile.xsc mv Compile.xsc Compile.c /usr/bin/cc -c -I. -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 -g -DVERSION=\"0.11\" -DXS_VERSION=\"0.11\" -fPIC "-I/usr/lib64/perl5/CORE" Compile.c Compile.xs: In function 'XS_Eval__Compile_cache_eval_undef': Compile.xs:359:10: error: assignment to 'SV *' {aka 'struct sv *'} from incompatible pointer type 'AV *' {aka 'struct av *'} [-Wincompatible-pointer-types] 359 | last = eval_cache; | ^ In file included from /usr/lib64/perl5/CORE/perl.h:6227, from Compile.xs:2: Compile.xs: In function 'XS_Eval__Compile_cache_eval': Compile.xs:400:22: error: passing argument 3 of 'Perl_sv_setpvn' from incompatible pointer type [-Wincompatible-pointer-types] 400 | sv_setpvn( TARG, &PL_curcop, sizeof( &PL_curcop )); /usr/lib64/perl5/CORE/embed.h:696:72: note: in definition of macro 'sv_setpvn' 696 | # define sv_setpvn(a,b,c) Perl_sv_setpvn(aTHX_ a,b,c) | ^ In file included from /usr/lib64/perl5/CORE/perl.h:6188: /usr/lib64/perl5/CORE/proto.h:4783:56: note: expected 'const char * const' but argument is of type 'COP **' {aka 'struct cop **'} 4783 | Perl_sv_setpvn(pTHX_ SV * const sv, const char * const ptr, const STRLEN len); | ~~~~~~~~~~~~~~~~~~~^~~ make: *** [Makefile:337: Compile.o] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.SLm3rz (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.SLm3rz (%build) I: [iurt_root_command] ERROR: chroot