D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/perl-Digest-GOST-0.60.0-17.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8XPFRj
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/perl-Digest-GOST-0.60.0-build
+ test -d /home/pterjan/rpmbuild/BUILD/perl-Digest-GOST-0.60.0-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/perl-Digest-GOST-0.60.0-build
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/perl-Digest-GOST-0.60.0-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Digest-GOST-0.60.0-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Digest-GOST-0.60.0-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.BHeJfs
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/perl-Digest-GOST-0.60.0-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/perl-Digest-GOST-0.60.0-build
+ rm -rf Digest-GOST-0.06
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Digest-GOST-0.06.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd Digest-GOST-0.06
+ /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.87ABXz
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/perl-Digest-GOST-0.60.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 Digest-GOST-0.06
+ '[' 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 Digest::GOST
Writing MYMETA.yml and MYMETA.json
+ /usr/bin/make -O -j16 V=1 VERBOSE=1
cp lib/Digest/GOST/CryptoPro.pm blib/lib/Digest/GOST/CryptoPro.pm
cp lib/Digest/GOST.pm blib/lib/Digest/GOST.pm
Running Mkbootstrap for GOST ()
chmod 644 "GOST.bs"
"/usr/bin/perl5.40.0" "/usr/share/perl5/ExtUtils/xsubpp"  -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/perl-Digest-GOST-0.60.0-build/Digest-GOST-0.06/typemap'  GOST.xs > GOST.xsc
mv GOST.xsc GOST.c
"/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- GOST.bs blib/arch/auto/Digest/GOST/GOST.bs 644
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.06\" -DXS_VERSION=\"0.06\" -fPIC "-I/usr/lib64/perl5/CORE"   GOST.c
In file included from src/gost.c:16,
                 from GOST.xs:8:
src/byte_order.h:160:9: warning: "ROTL32" redefined
  160 | #define ROTL32(dword, n) ((dword) << (n) ^ ((dword) >> (32 - (n))))
      |         ^~~~~~
In file included from /usr/lib64/perl5/CORE/hv_func.h:11,
                 from /usr/lib64/perl5/CORE/hv.h:707,
                 from /usr/lib64/perl5/CORE/perl.h:4550,
                 from GOST.xs:4:
/usr/lib64/perl5/CORE/hv_macro.h:67:11: note: this is the location of the previous definition
   67 |   #define ROTL32(x,r)  (((U32)(x) << (r)) | ((U32)(x) >> (32 - (r))))
      |           ^~~~~~
src/byte_order.h:161:9: warning: "ROTR32" redefined
  161 | #define ROTR32(dword, n) ((dword) >> (n) ^ ((dword) << (32 - (n))))
      |         ^~~~~~
/usr/lib64/perl5/CORE/hv_macro.h:68:11: note: this is the location of the previous definition
   68 |   #define ROTR32(x,r)  (((U32)(x) << (32 - (r))) | ((U32)(x) >> (r)))
      |           ^~~~~~
src/byte_order.h:162:9: warning: "ROTL64" redefined
  162 | #define ROTL64(qword, n) ((qword) << (n) ^ ((qword) >> (64 - (n))))
      |         ^~~~~~
/usr/lib64/perl5/CORE/hv_macro.h:69:11: note: this is the location of the previous definition
   69 |   #define ROTL64(x,r)  ( ( (U64)(x) << (r) ) | ( (U64)(x) >> ( 64 - (r) ) ) )
      |           ^~~~~~
src/byte_order.h:163:9: warning: "ROTR64" redefined
  163 | #define ROTR64(qword, n) ((qword) >> (n) ^ ((qword) << (64 - (n))))
      |         ^~~~~~
/usr/lib64/perl5/CORE/hv_macro.h:70:11: note: this is the location of the previous definition
   70 |   #define ROTR64(x,r)  ( ( (U64)(x) << ( 64 - (r) ) ) | ( (U64)(x) >> (r) ) )
      |           ^~~~~~
rm -f blib/arch/auto/Digest/GOST/GOST.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  GOST.o  -o blib/arch/auto/Digest/GOST/GOST.so  \
    -lperl   \
  
chmod 755 blib/arch/auto/Digest/GOST/GOST.so
Manifying 2 pod documents
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.70F1fX
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/perl-Digest-GOST-0.60.0-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/perl-Digest-GOST-0.60.0-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/perl-Digest-GOST-0.60.0-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/perl-Digest-GOST-0.60.0-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Digest-GOST-0.60.0-build
+ mkdir /home/pterjan/rpmbuild/BUILD/perl-Digest-GOST-0.60.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 Digest-GOST-0.06
+ '[' 1 -eq 1 ']'
+ /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/perl-Digest-GOST-0.60.0-build/BUILDROOT 'INSTALL=/usr/bin/install -p'
"/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- GOST.bs blib/arch/auto/Digest/GOST/GOST.bs 644
Manifying 2 pod documents
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /home/pterjan/rpmbuild/BUILD/perl-Digest-GOST-0.60.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Digest/GOST/GOST.so
Installing /home/pterjan/rpmbuild/BUILD/perl-Digest-GOST-0.60.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Digest/GOST.pm
Installing /home/pterjan/rpmbuild/BUILD/perl-Digest-GOST-0.60.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Digest/GOST/CryptoPro.pm
Installing /home/pterjan/rpmbuild/BUILD/perl-Digest-GOST-0.60.0-build/BUILDROOT/usr/share/man/man3/Digest::GOST::CryptoPro.3pm
Installing /home/pterjan/rpmbuild/BUILD/perl-Digest-GOST-0.60.0-build/BUILDROOT/usr/share/man/man3/Digest::GOST.3pm
Appending installation info to /home/pterjan/rpmbuild/BUILD/perl-Digest-GOST-0.60.0-build/BUILDROOT/usr/lib64/perl5/perllocal.pod
+ /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.60.0-17.mga10 --unique-debug-suffix -0.60.0-17.mga10.x86_64 --unique-debug-src-base perl-Digest-GOST-0.60.0-17.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/perl-Digest-GOST-0.60.0-build/Digest-GOST-0.06
find-debuginfo: starting

Extracting debug info from 1 files
objcopy: unable to copy file '/home/pterjan/rpmbuild/BUILD/perl-Digest-GOST-0.60.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Digest/GOST/GOST.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.70F1fX (%install)

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