D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/perl-Pg-2.1.1-36.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.D8Dvlx + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Pg-2.1.1-build + test -d /home/pterjan/rpmbuild/BUILD/perl-Pg-2.1.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/perl-Pg-2.1.1-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/perl-Pg-2.1.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Pg-2.1.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Pg-2.1.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.OEutRu + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Pg-2.1.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/perl-Pg-2.1.1-build + rm -rf Pg-2.1.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Pg-2.1.1.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd Pg-2.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find . -type f + xargs /usr/bin/perl -p -i -e 's|^#\!/usr/local/bin/perl|#\!/usr/bin/perl|g' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YbkWB3 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Pg-2.1.1-build + cd Pg-2.1.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ pg_config --includedir + export POSTGRES_INCLUDE=/usr/include + POSTGRES_INCLUDE=/usr/include ++ pg_config --libdir + export POSTGRES_LIB=/usr/lib64 + POSTGRES_LIB=/usr/lib64 + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Configuring Pg Remember to actually read the README file ! OS: linux Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Pg Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j16 V=1 VERBOSE=1 Running Mkbootstrap for Pg () chmod 644 "Pg.bs" "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pg.bs blib/arch/auto/Pg/Pg.bs 644 cp Pg.pm blib/lib/Pg.pm AutoSplitting blib/lib/Pg.pm (blib/lib/auto/Pg) "/usr/bin/perl5.40.0" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/perl-Pg-2.1.1-build/Pg-2.1.1/typemap' Pg.xs > Pg.xsc mv Pg.xsc Pg.c gcc -c -I/usr/include -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.1.1\" -DXS_VERSION=\"2.1.1\" -fPIC "-I/usr/lib64/perl5/CORE" Pg.c rm -f blib/arch/auto/Pg/Pg.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 Pg.o -o blib/arch/auto/Pg/Pg.so \ -L/usr/lib64 -lpq -lperl \ chmod 755 blib/arch/auto/Pg/Pg.so Manifying 1 pod document + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Pif3Xa + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Pg-2.1.1-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/perl-Pg-2.1.1-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/perl-Pg-2.1.1-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/perl-Pg-2.1.1-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Pg-2.1.1-build + mkdir /home/pterjan/rpmbuild/BUILD/perl-Pg-2.1.1-build/BUILDROOT + cd Pg-2.1.1 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/perl-Pg-2.1.1-build/BUILDROOT 'INSTALL=/usr/bin/install -p' "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Pg.bs blib/arch/auto/Pg/Pg.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-Pg-2.1.1-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Pg/Pg.so Installing /home/pterjan/rpmbuild/BUILD/perl-Pg-2.1.1-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Pg.pm Installing /home/pterjan/rpmbuild/BUILD/perl-Pg-2.1.1-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Pg/autosplit.ix Installing /home/pterjan/rpmbuild/BUILD/perl-Pg-2.1.1-build/BUILDROOT/usr/share/man/man3/Pg.3pm Appending installation info to /home/pterjan/rpmbuild/BUILD/perl-Pg-2.1.1-build/BUILDROOT/usr/lib64/perl5/perllocal.pod + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 2.1.1-36.mga10 --unique-debug-suffix -2.1.1-36.mga10.x86_64 --unique-debug-src-base perl-Pg-2.1.1-36.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/perl-Pg-2.1.1-build/Pg-2.1.1 find-debuginfo: starting Extracting debug info from 1 files objcopy: unable to copy file '/home/pterjan/rpmbuild/BUILD/perl-Pg-2.1.1-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Pg/Pg.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.Pif3Xa (%install) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Pif3Xa (%install) I: [iurt_root_command] ERROR: chroot