D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/perl-File-Lockf-0.250.0-10.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.qZvZP3
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/perl-File-Lockf-0.250.0-build
+ test -d /home/pterjan/rpmbuild/BUILD/perl-File-Lockf-0.250.0-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/perl-File-Lockf-0.250.0-build
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/perl-File-Lockf-0.250.0-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-File-Lockf-0.250.0-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-File-Lockf-0.250.0-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.UFVumq
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/perl-File-Lockf-0.250.0-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/perl-File-Lockf-0.250.0-build
+ rm -rf File-Lockf-0.25
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/File-Lockf-0.25.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd File-Lockf-0.25
+ /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.SREtfK
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/perl-File-Lockf-0.250.0-build
+ CFLAGS='-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'
+ export CFLAGS
+ CXXFLAGS='-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'
+ export CXXFLAGS
+ FFLAGS='-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 '
+ export FFLAGS
+ FCFLAGS='-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 '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd File-Lockf-0.25
+ '[' 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 File::lockf
Writing MYMETA.yml and MYMETA.json
+ make
cp lockf.pm blib/lib/File/lockf.pm
Running Mkbootstrap for lockf ()
chmod 644 "lockf.bs"
"/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- lockf.bs blib/arch/auto/File/lockf/lockf.bs 644
"/usr/bin/perl5.40.0" "/usr/share/perl5/ExtUtils/xsubpp"  -typemap '/usr/share/perl5/ExtUtils/typemap'  lockf.xs > lockf.xsc
Please specify prototyping behavior for lockf.xs (see perlxs manual)
mv lockf.xsc lockf.c
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=\"0.20\" -DXS_VERSION=\"0.20\" -fPIC "-I/usr/lib64/perl5/CORE"   lockf.c
rm -f blib/arch/auto/File/lockf/lockf.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  lockf.o  -o blib/arch/auto/File/lockf/lockf.so  \
    -lperl   \
  
chmod 755 blib/arch/auto/File/lockf/lockf.so
Manifying 1 pod document
+ make test
"/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- lockf.bs blib/arch/auto/File/lockf/lockf.bs 644
No tests defined for File::lockf extension.
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.EXMyBL
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/perl-File-Lockf-0.250.0-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/perl-File-Lockf-0.250.0-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/perl-File-Lockf-0.250.0-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/perl-File-Lockf-0.250.0-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/perl-File-Lockf-0.250.0-build
+ mkdir /home/pterjan/rpmbuild/BUILD/perl-File-Lockf-0.250.0-build/BUILDROOT
+ CFLAGS='-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'
+ export CFLAGS
+ CXXFLAGS='-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'
+ export CXXFLAGS
+ FFLAGS='-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 '
+ export FFLAGS
+ FCFLAGS='-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 '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd File-Lockf-0.25
+ '[' 1 -eq 1 ']'
+ /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/perl-File-Lockf-0.250.0-build/BUILDROOT 'INSTALL=/usr/bin/install -p'
"/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- lockf.bs blib/arch/auto/File/lockf/lockf.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-File-Lockf-0.250.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/File/lockf/lockf.so
Installing /home/pterjan/rpmbuild/BUILD/perl-File-Lockf-0.250.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/File/lockf.pm
Installing /home/pterjan/rpmbuild/BUILD/perl-File-Lockf-0.250.0-build/BUILDROOT/usr/share/man/man3/File::lockf.3pm
Appending installation info to /home/pterjan/rpmbuild/BUILD/perl-File-Lockf-0.250.0-build/BUILDROOT/usr/lib64/perl5/perllocal.pod
+ /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.250.0-10.mga10 --unique-debug-suffix -0.250.0-10.mga10.x86_64 --unique-debug-src-base perl-File-Lockf-0.250.0-10.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/perl-File-Lockf-0.250.0-build/File-Lockf-0.25
find-debuginfo: starting

Extracting debug info from 1 files
objcopy: unable to copy file '/home/pterjan/rpmbuild/BUILD/perl-File-Lockf-0.250.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/File/lockf/lockf.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.EXMyBL (%install)

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.EXMyBL (%install)
I: [iurt_root_command] ERROR: chroot