D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/perl-Devel-Declare-0.6.22-7.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ttU4xY + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Devel-Declare-0.6.22-build + test -d /home/pterjan/rpmbuild/BUILD/perl-Devel-Declare-0.6.22-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/perl-Devel-Declare-0.6.22-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/perl-Devel-Declare-0.6.22-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Devel-Declare-0.6.22-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Devel-Declare-0.6.22-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wWjd1J + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Devel-Declare-0.6.22-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/perl-Devel-Declare-0.6.22-build + rm -rf Devel-Declare-0.006022 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Devel-Declare-0.006022.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Devel-Declare-0.006022 + /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.tkYY1k + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Devel-Declare-0.6.22-build + cd Devel-Declare-0.006022 + '[' 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 Devel::Declare Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j16 V=1 VERBOSE=1 Running Mkbootstrap for Declare () chmod 644 "Declare.bs" "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Declare.bs blib/arch/auto/Devel/Declare/Declare.bs 644 cp lib/Devel/Declare.pm blib/lib/Devel/Declare.pm cp lib/Devel/Declare/MethodInstaller/Simple.pm blib/lib/Devel/Declare/MethodInstaller/Simple.pm cp lib/Devel/Declare/Context/Simple.pm blib/lib/Devel/Declare/Context/Simple.pm "/usr/bin/perl5.40.0" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' Declare.xs > Declare.xsc mv Declare.xsc Declare.c gcc -c -I/usr/lib64/perl5/vendor_perl/B/Hooks/OP/Check/Install -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=\"0.006022\" -DXS_VERSION=\"0.006022\" -fPIC "-I/usr/lib64/perl5/CORE" Declare.c In file included from Declare.xs:7: stolen_chunk_of_toke.c:145:9: warning: "PL_lex_stuff" redefined 145 | #define PL_lex_stuff (PL_parser->lex_stuff) | ^~~~~~~~~~~~ In file included from stolen_chunk_of_toke.c:20: ppport.h:4928:10: note: this is the location of the previous definition 4928 | # define PL_lex_stuff D_PPP_my_PL_parser_var(lex_stuff) | ^~~~~~~~~~~~ stolen_chunk_of_toke.c:152:9: warning: "PL_linestr" redefined 152 | #define PL_linestr (PL_parser->linestr) | ^~~~~~~~~~ ppport.h:4924:10: note: this is the location of the previous definition 4924 | # define PL_linestr D_PPP_my_PL_parser_var(linestr) | ^~~~~~~~~~ stolen_chunk_of_toke.c:155:9: warning: "PL_expect" redefined 155 | #define PL_expect (PL_parser->expect) | ^~~~~~~~~ ppport.h:4920:10: note: this is the location of the previous definition 4920 | # define PL_expect D_PPP_my_PL_parser_var(expect) | ^~~~~~~~~ stolen_chunk_of_toke.c:156:9: warning: "PL_copline" redefined 156 | #define PL_copline (PL_parser->copline) | ^~~~~~~~~~ ppport.h:4921:10: note: this is the location of the previous definition 4921 | # define PL_copline D_PPP_my_PL_parser_var(copline) | ^~~~~~~~~~ stolen_chunk_of_toke.c:157:9: warning: "PL_bufptr" redefined 157 | #define PL_bufptr (PL_parser->bufptr) | ^~~~~~~~~ ppport.h:4925:10: note: this is the location of the previous definition 4925 | # define PL_bufptr D_PPP_my_PL_parser_var(bufptr) | ^~~~~~~~~ stolen_chunk_of_toke.c:161:9: warning: "PL_bufend" redefined 161 | #define PL_bufend (PL_parser->bufend) | ^~~~~~~~~ ppport.h:4926:10: note: this is the location of the previous definition 4926 | # define PL_bufend D_PPP_my_PL_parser_var(bufend) | ^~~~~~~~~ stolen_chunk_of_toke.c:165:9: warning: "PL_lex_state" redefined 165 | #define PL_lex_state (PL_parser->lex_state) | ^~~~~~~~~~~~ ppport.h:4927:10: note: this is the location of the previous definition 4927 | # define PL_lex_state D_PPP_my_PL_parser_var(lex_state) | ^~~~~~~~~~~~ stolen_chunk_of_toke.c:166:9: warning: "PL_rsfp" redefined 166 | #define PL_rsfp (PL_parser->rsfp) | ^~~~~~~ ppport.h:4922:10: note: this is the location of the previous definition 4922 | # define PL_rsfp D_PPP_my_PL_parser_var(rsfp) | ^~~~~~~ stolen_chunk_of_toke.c:167:9: warning: "PL_rsfp_filters" redefined 167 | #define PL_rsfp_filters (PL_parser->rsfp_filters) | ^~~~~~~~~~~~~~~ ppport.h:4923:10: note: this is the location of the previous definition 4923 | # define PL_rsfp_filters D_PPP_my_PL_parser_var(rsfp_filters) | ^~~~~~~~~~~~~~~ stolen_chunk_of_toke.c:168:9: warning: "PL_in_my" redefined 168 | #define PL_in_my (PL_parser->in_my) | ^~~~~~~~ ppport.h:4930:10: note: this is the location of the previous definition 4930 | # define PL_in_my D_PPP_my_PL_parser_var(in_my) | ^~~~~~~~ stolen_chunk_of_toke.c:169:9: warning: "PL_in_my_stash" redefined 169 | #define PL_in_my_stash (PL_parser->in_my_stash) | ^~~~~~~~~~~~~~ ppport.h:4931:10: note: this is the location of the previous definition 4931 | # define PL_in_my_stash D_PPP_my_PL_parser_var(in_my_stash) | ^~~~~~~~~~~~~~ stolen_chunk_of_toke.c:170:9: warning: "PL_tokenbuf" redefined 170 | #define PL_tokenbuf (PL_parser->tokenbuf) | ^~~~~~~~~~~ ppport.h:4929:10: note: this is the location of the previous definition 4929 | # define PL_tokenbuf D_PPP_my_PL_parser_var(tokenbuf) | ^~~~~~~~~~~ stolen_chunk_of_toke.c:172:9: warning: "PL_error_count" redefined 172 | #define PL_error_count (PL_parser->error_count) | ^~~~~~~~~~~~~~ ppport.h:4932:10: note: this is the location of the previous definition 4932 | # define PL_error_count D_PPP_my_PL_parser_var(error_count) | ^~~~~~~~~~~~~~ Declare.xs:14:9: warning: "PERL_VERSION_GE" redefined 14 | #define PERL_VERSION_GE(r,v,s) \ | ^~~~~~~~~~~~~~~ In file included from /usr/lib64/perl5/CORE/perl.h:3329, from Declare.xs:3: /usr/lib64/perl5/CORE/handy.h:578:10: note: this is the location of the previous definition 578 | # define PERL_VERSION_GE(j,n,p) (! PERL_VERSION_LT(j,n,p)) | ^~~~~~~~~~~~~~~ rm -f blib/arch/auto/Devel/Declare/Declare.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 Declare.o -o blib/arch/auto/Devel/Declare/Declare.so \ -lperl \ chmod 755 blib/arch/auto/Devel/Declare/Declare.so Manifying 1 pod document + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.dXa0h4 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Devel-Declare-0.6.22-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/perl-Devel-Declare-0.6.22-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/perl-Devel-Declare-0.6.22-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/perl-Devel-Declare-0.6.22-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Devel-Declare-0.6.22-build + mkdir /home/pterjan/rpmbuild/BUILD/perl-Devel-Declare-0.6.22-build/BUILDROOT + cd Devel-Declare-0.006022 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/perl-Devel-Declare-0.6.22-build/BUILDROOT 'INSTALL=/usr/bin/install -p' "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Declare.bs blib/arch/auto/Devel/Declare/Declare.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-Devel-Declare-0.6.22-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Devel/Declare/Declare.so Installing /home/pterjan/rpmbuild/BUILD/perl-Devel-Declare-0.6.22-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Devel/Declare.pm Installing /home/pterjan/rpmbuild/BUILD/perl-Devel-Declare-0.6.22-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Devel/Declare/MethodInstaller/Simple.pm Installing /home/pterjan/rpmbuild/BUILD/perl-Devel-Declare-0.6.22-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Devel/Declare/Context/Simple.pm Installing /home/pterjan/rpmbuild/BUILD/perl-Devel-Declare-0.6.22-build/BUILDROOT/usr/share/man/man3/Devel::Declare.3pm Appending installation info to /home/pterjan/rpmbuild/BUILD/perl-Devel-Declare-0.6.22-build/BUILDROOT/usr/lib64/perl5/perllocal.pod + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.6.22-7.mga10 --unique-debug-suffix -0.6.22-7.mga10.x86_64 --unique-debug-src-base perl-Devel-Declare-0.6.22-7.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/perl-Devel-Declare-0.6.22-build/Devel-Declare-0.006022 find-debuginfo: starting Extracting debug info from 1 files objcopy: unable to copy file '/home/pterjan/rpmbuild/BUILD/perl-Devel-Declare-0.6.22-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Devel/Declare/Declare.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.dXa0h4 (%install) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.dXa0h4 (%install) I: [iurt_root_command] ERROR: chroot