D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/perl-HTML-Tidy-1.600.0-13.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.habG9w + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-HTML-Tidy-1.600.0-build + test -d /home/pterjan/rpmbuild/BUILD/perl-HTML-Tidy-1.600.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/perl-HTML-Tidy-1.600.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/perl-HTML-Tidy-1.600.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-HTML-Tidy-1.600.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-HTML-Tidy-1.600.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.tL5e7t + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-HTML-Tidy-1.600.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/perl-HTML-Tidy-1.600.0-build + rm -rf HTML-Tidy-1.60 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/HTML-Tidy-1.60.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd HTML-Tidy-1.60 + /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.ImY0iG + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-HTML-Tidy-1.600.0-build + cd HTML-Tidy-1.60 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Alien::Tidyp not found. Looking for for tidyp on your system. NOTE: It seems that you don't have LWP::Simple installed. The webtidy program will not be able to retrieve web pages. Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for HTML::Tidy Writing MYMETA.yml and MYMETA.json + /usr/bin/make -O -j16 V=1 VERBOSE=1 Running Mkbootstrap for Tidy () chmod 644 "Tidy.bs" "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Tidy.bs blib/arch/auto/HTML/Tidy/Tidy.bs 644 cp lib/HTML/Tidy/Message.pm blib/lib/HTML/Tidy/Message.pm cp lib/HTML/Tidy.pm blib/lib/HTML/Tidy.pm "/usr/bin/perl5.40.0" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' Tidy.xs > Tidy.xsc mv Tidy.xsc Tidy.c gcc -c -I. -I/usr/include/tidyp -I/usr/local/include/tidyp -I/usr/include/tidyp -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=\"1.60\" -DXS_VERSION=\"1.60\" -fPIC "-I/usr/lib64/perl5/CORE" Tidy.c In file included from /usr/include/tidyp/tidyp.h:63, from Tidy.xs:5: /usr/include/tidyp/platform.h:588:9: warning: "__attribute__warn_unused_result__" redefined 588 | #define __attribute__warn_unused_result__ __attribute__((__warn_unused_result__)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from Tidy.xs:2: /usr/lib64/perl5/CORE/perl.h:450:11: note: this is the location of the previous definition 450 | # define __attribute__warn_unused_result__ __attribute__((warn_unused_result)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f blib/arch/auto/HTML/Tidy/Tidy.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 Tidy.o -o blib/arch/auto/HTML/Tidy/Tidy.so \ -L/usr/lib -L/usr/local/lib -ltidyp -lperl \ /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so.1 when searching for libgcc_s.so.1 chmod 755 blib/arch/auto/HTML/Tidy/Tidy.so cp bin/webtidy blib/script/webtidy "/usr/bin/perl5.40.0" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/webtidy Manifying 2 pod documents + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.BInNZn + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-HTML-Tidy-1.600.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/perl-HTML-Tidy-1.600.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/perl-HTML-Tidy-1.600.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/perl-HTML-Tidy-1.600.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/perl-HTML-Tidy-1.600.0-build + mkdir /home/pterjan/rpmbuild/BUILD/perl-HTML-Tidy-1.600.0-build/BUILDROOT + cd HTML-Tidy-1.60 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/perl-HTML-Tidy-1.600.0-build/BUILDROOT 'INSTALL=/usr/bin/install -p' "/usr/bin/perl5.40.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Tidy.bs blib/arch/auto/HTML/Tidy/Tidy.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-HTML-Tidy-1.600.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/HTML/Tidy/Tidy.so Installing /home/pterjan/rpmbuild/BUILD/perl-HTML-Tidy-1.600.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/HTML/Tidy.pm Installing /home/pterjan/rpmbuild/BUILD/perl-HTML-Tidy-1.600.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/HTML/Tidy/Message.pm Installing /home/pterjan/rpmbuild/BUILD/perl-HTML-Tidy-1.600.0-build/BUILDROOT/usr/share/man/man3/HTML::Tidy.3pm Installing /home/pterjan/rpmbuild/BUILD/perl-HTML-Tidy-1.600.0-build/BUILDROOT/usr/share/man/man3/HTML::Tidy::Message.3pm Installing /home/pterjan/rpmbuild/BUILD/perl-HTML-Tidy-1.600.0-build/BUILDROOT/usr/bin/webtidy Appending installation info to /home/pterjan/rpmbuild/BUILD/perl-HTML-Tidy-1.600.0-build/BUILDROOT/usr/lib64/perl5/perllocal.pod + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.600.0-13.mga10 --unique-debug-suffix -1.600.0-13.mga10.x86_64 --unique-debug-src-base perl-HTML-Tidy-1.600.0-13.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/perl-HTML-Tidy-1.600.0-build/HTML-Tidy-1.60 find-debuginfo: starting Extracting debug info from 1 files objcopy: unable to copy file '/home/pterjan/rpmbuild/BUILD/perl-HTML-Tidy-1.600.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/HTML/Tidy/Tidy.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.BInNZn (%install) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.BInNZn (%install) I: [iurt_root_command] ERROR: chroot