D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/perl-Net-Bluetooth-0.410.0-18.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.0x6OJD + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Net-Bluetooth-0.410.0-build + test -d /home/pterjan/rpmbuild/BUILD/perl-Net-Bluetooth-0.410.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/perl-Net-Bluetooth-0.410.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/perl-Net-Bluetooth-0.410.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Net-Bluetooth-0.410.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Net-Bluetooth-0.410.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.UqS6Jr + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Net-Bluetooth-0.410.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/perl-Net-Bluetooth-0.410.0-build + rm -rf Net-Bluetooth-0.41 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Net-Bluetooth-0.41.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Net-Bluetooth-0.41 + /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.SUPwQ9 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Net-Bluetooth-0.410.0-build + cd Net-Bluetooth-0.41 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor OS = linux Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Net::Bluetooth Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j16 V=1 VERBOSE=1 cp Bluetooth.pm blib/lib/Net/Bluetooth.pm Running Mkbootstrap for Bluetooth () chmod 644 "Bluetooth.bs" "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Bluetooth.bs blib/arch/auto/Net/Bluetooth/Bluetooth.bs 644 "/usr/bin/perl5.40.0" "/usr/share/perl5/ExtUtils/xsubpp" -prototypes -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/pterjan/rpmbuild/BUILD/perl-Net-Bluetooth-0.410.0-build/Net-Bluetooth-0.41/typemap' Bluetooth.xs > Bluetooth.xsc mv Bluetooth.xsc Bluetooth.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.41\" -DXS_VERSION=\"0.41\" -fPIC "-I/usr/lib64/perl5/CORE" Bluetooth.c In file included from /usr/lib64/perl5/CORE/perl.h:6166, from Bluetooth.xs:5: Bluetooth.xs: In function 'XS_Net__Bluetooth__register_service_handle': Bluetooth.xs:609:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 609 | PUSHs(sv_2mortal(newSVuv((unsigned int)session))); | ^ /usr/lib64/perl5/CORE/pp.h:549:35: note: in definition of macro 'PUSHs' 549 | # define PUSHs(s) (*++sp = (s)) | ^ Bluetooth.xs:609:31: note: in expansion of macro 'sv_2mortal' 609 | PUSHs(sv_2mortal(newSVuv((unsigned int)session))); | ^~~~~~~~~~ Bluetooth.xs:609:42: note: in expansion of macro 'newSVuv' 609 | PUSHs(sv_2mortal(newSVuv((unsigned int)session))); | ^~~~~~~ Bluetooth.xs: In function 'XS_Net__Bluetooth__stop_service_handle': Bluetooth.xs:635:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 635 | sdp_session = (sdp_session_t *) sdp_addr; | ^ rm -f blib/arch/auto/Net/Bluetooth/Bluetooth.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 Bluetooth.o -o blib/arch/auto/Net/Bluetooth/Bluetooth.so \ -lbluetooth -lperl \ chmod 755 blib/arch/auto/Net/Bluetooth/Bluetooth.so Manifying 1 pod document + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ZOiGtZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Net-Bluetooth-0.410.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/perl-Net-Bluetooth-0.410.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/perl-Net-Bluetooth-0.410.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/perl-Net-Bluetooth-0.410.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Net-Bluetooth-0.410.0-build + mkdir /home/pterjan/rpmbuild/BUILD/perl-Net-Bluetooth-0.410.0-build/BUILDROOT + cd Net-Bluetooth-0.41 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/perl-Net-Bluetooth-0.410.0-build/BUILDROOT 'INSTALL=/usr/bin/install -p' "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Bluetooth.bs blib/arch/auto/Net/Bluetooth/Bluetooth.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-Net-Bluetooth-0.410.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Net/Bluetooth/Bluetooth.so Installing /home/pterjan/rpmbuild/BUILD/perl-Net-Bluetooth-0.410.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Net/Bluetooth.pm Installing /home/pterjan/rpmbuild/BUILD/perl-Net-Bluetooth-0.410.0-build/BUILDROOT/usr/share/man/man3/Net::Bluetooth.3pm Appending installation info to /home/pterjan/rpmbuild/BUILD/perl-Net-Bluetooth-0.410.0-build/BUILDROOT/usr/lib64/perl5/perllocal.pod + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.410.0-18.mga10 --unique-debug-suffix -0.410.0-18.mga10.x86_64 --unique-debug-src-base perl-Net-Bluetooth-0.410.0-18.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/perl-Net-Bluetooth-0.410.0-build/Net-Bluetooth-0.41 find-debuginfo: starting Extracting debug info from 1 files objcopy: unable to copy file '/home/pterjan/rpmbuild/BUILD/perl-Net-Bluetooth-0.410.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Net/Bluetooth/Bluetooth.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.ZOiGtZ (%install) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ZOiGtZ (%install) I: [iurt_root_command] ERROR: chroot