D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/perl-Compress-Bzip2-2.280.0-6.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3ey6Zq + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build + test -d /home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7ujBRN + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build + rm -rf Compress-Bzip2-2.28 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Compress-Bzip2-2.28.tar.gz + 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/pterjan/rpmbuild/tmp/rpm-tmp.m9t6y4 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build + cd Compress-Bzip2-2.28 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Parsing config.in... show_bzversion.c:3:10: fatal error: bzlib.h: No such file or directory 3 | #include | ^~~~~~~~~ compilation terminated. compile command 'gcc -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 -j16 V=1 VERBOSE=1 cd bzlib-src && make cp lib/Compress/Bzip2.pm blib/lib/Compress/Bzip2.pm AutoSplitting blib/lib/Compress/Bzip2.pm (blib/lib/auto/Compress/Bzip2) Running Mkbootstrap for Bzip2 () chmod 644 "Bzip2.bs" "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Bzip2.bs blib/arch/auto/Compress/Bzip2/Bzip2.bs 644 make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/Compress-Bzip2-2.28/bzlib-src' gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib64/perl5/CORE" crctable.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/Compress-Bzip2-2.28/bzlib-src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/Compress-Bzip2-2.28/bzlib-src' gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib64/perl5/CORE" randtable.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/Compress-Bzip2-2.28/bzlib-src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/Compress-Bzip2-2.28/bzlib-src' gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib64/perl5/CORE" huffman.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/Compress-Bzip2-2.28/bzlib-src' "/usr/bin/perl5.40.0" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/Compress-Bzip2-2.28/typemap' Bzip2.xs > Bzip2.xsc mv Bzip2.xsc Bzip2.c make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/Compress-Bzip2-2.28/bzlib-src' gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib64/perl5/CORE" blocksort.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/Compress-Bzip2-2.28/bzlib-src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/Compress-Bzip2-2.28/bzlib-src' gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib64/perl5/CORE" bzip2.c bzip2.c: In function 'applySavedFileAttrToOutputFile': bzip2.c:1073:11: warning: ignoring return value of 'fchown' declared with attribute 'warn_unused_result' [-Wunused-result] 1073 | (void) fchown ( fd, fileMetaInfo.st_uid, fileMetaInfo.st_gid ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/Compress-Bzip2-2.28/bzlib-src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/Compress-Bzip2-2.28/bzlib-src' gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib64/perl5/CORE" bzlib.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/Compress-Bzip2-2.28/bzlib-src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/Compress-Bzip2-2.28/bzlib-src' gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib64/perl5/CORE" decompress.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/Compress-Bzip2-2.28/bzlib-src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/Compress-Bzip2-2.28/bzlib-src' gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib64/perl5/CORE" compress.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/Compress-Bzip2-2.28/bzlib-src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/Compress-Bzip2-2.28/bzlib-src' ar cr libbz2.a blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o && : libbz2.a make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/Compress-Bzip2-2.28/bzlib-src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/Compress-Bzip2-2.28/bzlib-src' gcc -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -L/usr/local/lib bzip2.o libbz2.a -o bzip2 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/Compress-Bzip2-2.28/bzlib-src' make[1]: Nothing to be done for 'all'. gcc -c -Ibzlib-src -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=\"2.28\" -DXS_VERSION=\"2.28\" -fPIC "-I/usr/lib64/perl5/CORE" Bzip2.c Bzip2.xs: In function 'XS_Compress__Bzip2_bzclose': Bzip2.xs:2048:7: warning: 'Perl_dowantarray' is deprecated [-Wdeprecated-declarations] 2048 | if (GIMME == G_ARRAY) | ^~ In file included from /usr/lib64/perl5/CORE/perl.h:6186, from Bzip2.xs:4: /usr/lib64/perl5/CORE/proto.h:1031:1: note: declared here 1031 | Perl_dowantarray(pTHX) | ^~~~~~~~~~~~~~~~ Bzip2.xs: In function 'XS_Compress__Bzip2_bzflush': Bzip2.xs:2111:7: warning: 'Perl_dowantarray' is deprecated [-Wdeprecated-declarations] 2111 | if (GIMME == G_ARRAY) | ^~ /usr/lib64/perl5/CORE/proto.h:1031:1: note: declared here 1031 | Perl_dowantarray(pTHX) | ^~~~~~~~~~~~~~~~ Bzip2.xs: In function 'XS_Compress__Bzip2_bzdeflateInit': Bzip2.xs:2340:7: warning: 'Perl_dowantarray' is deprecated [-Wdeprecated-declarations] 2340 | if (GIMME == G_ARRAY) | ^~ /usr/lib64/perl5/CORE/proto.h:1031:1: note: declared here 1031 | Perl_dowantarray(pTHX) | ^~~~~~~~~~~~~~~~ Bzip2.xs:2353:7: warning: 'Perl_dowantarray' is deprecated [-Wdeprecated-declarations] 2353 | if (GIMME == G_ARRAY) | ^~ /usr/lib64/perl5/CORE/proto.h:1031:1: note: declared here 1031 | Perl_dowantarray(pTHX) | ^~~~~~~~~~~~~~~~ Bzip2.xs: In function 'XS_Compress__Bzip2_bzdeflate': Bzip2.xs:2455:5: warning: 'Perl_dowantarray' is deprecated [-Wdeprecated-declarations] 2455 | if (GIMME == G_ARRAY) | ^~ /usr/lib64/perl5/CORE/proto.h:1031:1: note: declared here 1031 | Perl_dowantarray(pTHX) | ^~~~~~~~~~~~~~~~ Bzip2.xs: In function 'XS_Compress__Bzip2_bzinflateInit': Bzip2.xs:2486:7: warning: 'Perl_dowantarray' is deprecated [-Wdeprecated-declarations] 2486 | if (GIMME == G_ARRAY) | ^~ /usr/lib64/perl5/CORE/proto.h:1031:1: note: declared here 1031 | Perl_dowantarray(pTHX) | ^~~~~~~~~~~~~~~~ Bzip2.xs:2500:5: warning: 'Perl_dowantarray' is deprecated [-Wdeprecated-declarations] 2500 | if (GIMME == G_ARRAY) | ^~ /usr/lib64/perl5/CORE/proto.h:1031:1: note: declared here 1031 | Perl_dowantarray(pTHX) | ^~~~~~~~~~~~~~~~ Bzip2.xs: In function 'XS_Compress__Bzip2_bzinflate': Bzip2.xs:2561:5: warning: 'Perl_dowantarray' is deprecated [-Wdeprecated-declarations] 2561 | if (GIMME == G_ARRAY) | ^~ /usr/lib64/perl5/CORE/proto.h:1031:1: note: declared here 1031 | Perl_dowantarray(pTHX) | ^~~~~~~~~~~~~~~~ rm -f blib/arch/auto/Compress/Bzip2/Bzip2.so gcc -lpthread -shared -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld Bzip2.o -o blib/arch/auto/Compress/Bzip2/Bzip2.so bzlib-src/libbz2.a \ -lperl \ chmod 755 blib/arch/auto/Compress/Bzip2/Bzip2.so Manifying 1 pod document + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vzQUmp + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build + mkdir /home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/BUILDROOT + cd Compress-Bzip2-2.28 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/BUILDROOT 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/Compress-Bzip2-2.28/bzlib-src' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/Compress-Bzip2-2.28/bzlib-src' "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Bzip2.bs blib/arch/auto/Compress/Bzip2/Bzip2.bs 644 Manifying 1 pod document Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Compress/Bzip2/Bzip2.so Installing /home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Compress/Bzip2/autosplit.ix Installing /home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Compress/Bzip2.pm Installing /home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/BUILDROOT/usr/share/man/man3/Compress::Bzip2.3pm Appending installation info to /home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/BUILDROOT/usr/lib64/perl5/perllocal.pod + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 2.280.0-6.mga10 --unique-debug-suffix -2.280.0-6.mga10.x86_64 --unique-debug-src-base perl-Compress-Bzip2-2.280.0-6.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/Compress-Bzip2-2.28 find-debuginfo: starting Extracting debug info from 1 files objcopy: unable to copy file '/home/pterjan/rpmbuild/BUILD/perl-Compress-Bzip2-2.280.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Compress/Bzip2/Bzip2.so'; reason: Permission denied *** ERROR:: GDB exited with exit status 1 during index generation error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.vzQUmp (%install) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.vzQUmp (%install) I: [iurt_root_command] ERROR: chroot