D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/perl-Time-y2038-20100403.0.0-25.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RGOnNX + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Time-y2038-20100403.0.0-build + test -d /home/pterjan/rpmbuild/BUILD/perl-Time-y2038-20100403.0.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/perl-Time-y2038-20100403.0.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/perl-Time-y2038-20100403.0.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Time-y2038-20100403.0.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Time-y2038-20100403.0.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.9Jldd2 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Time-y2038-20100403.0.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/perl-Time-y2038-20100403.0.0-build + rm -rf Time-y2038-20100403 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Time-y2038-20100403.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Time-y2038-20100403 + /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.pXgFCp + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Time-y2038-20100403.0.0-build + cd Time-y2038-20100403 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/perl Build.PL installdirs=vendor Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Time-y2038' version '20100403' + ./Build Probing time.h capabilities. You may see some C errors, that's ok. Building Time-y2038 try.c: In function 'main': try.c:9:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 9 | zone = date->tm_zone; | ^ Building a program to test the range of your system time functions... gcc -Iy2038 -I/usr/lib64/perl5/CORE -fPIC -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 -o check_max.o check_max.c gcc -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' -fstack-protector-strong -L/usr/local/lib -o check_max check_max.o and running it... Done. gmtime_max: 67768036160140800 gmtime_min: -67768036191676800 localtime_max: 67768036160140800 localtime_min: -67768036191676800 mktime_max_tm_gmtoff: 0 mktime_max_tm_hour: 23 mktime_max_tm_isdst: 0 mktime_max_tm_mday: 31 mktime_max_tm_min: 59 mktime_max_tm_mon: 11 mktime_max_tm_sec: 59 mktime_max_tm_wday: 2 mktime_max_tm_yday: 364 mktime_max_tm_year: 2147483646 mktime_max_tm_zone: UTC mktime_min_tm_gmtoff: 0 mktime_min_tm_hour: 0 mktime_min_tm_isdst: 0 mktime_min_tm_mday: 2 mktime_min_tm_min: 0 mktime_min_tm_mon: 0 mktime_min_tm_sec: 0 mktime_min_tm_wday: 4 mktime_min_tm_yday: 1 mktime_min_tm_year: -2147483508 mktime_min_tm_zone: UTC timegm_max_tm_gmtoff: 0 timegm_max_tm_hour: 23 timegm_max_tm_isdst: 0 timegm_max_tm_mday: 31 timegm_max_tm_min: 59 timegm_max_tm_mon: 11 timegm_max_tm_sec: 59 timegm_max_tm_wday: 2 timegm_max_tm_yday: 364 timegm_max_tm_year: 2147483646 timegm_max_tm_zone: GMT timegm_min_tm_gmtoff: 0 timegm_min_tm_hour: 0 timegm_min_tm_isdst: 0 timegm_min_tm_mday: 2 timegm_min_tm_min: 0 timegm_min_tm_mon: 0 timegm_min_tm_sec: 0 timegm_min_tm_wday: 4 timegm_min_tm_yday: 1 timegm_min_tm_year: -2147483508 timegm_min_tm_zone: GMT gcc -Iy2038 -Iy2038 -I/usr/lib64/perl5/CORE -fPIC -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 -o y2038/time64.o y2038/time64.c y2038/time64.c: In function 'copy_tm_to_TM64': y2038/time64.c:416:32: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 416 | dest->tm_zone = src->tm_zone; | ^ In file included from y2038/time64.c:48: y2038/time64.c: In function 'asctime64_r': y2038/time64.h:75:33: warning: format '%lld' expects argument of type 'long long int', but argument 9 has type 'Year' {aka 'long int'} [-Wformat=] 75 | #define TM64_ASCTIME_FORMAT "%.3s %.3s%3d %.2d:%.2d:%.2d %lld\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ y2038/time64.c:787:21: note: in expansion of macro 'TM64_ASCTIME_FORMAT' 787 | sprintf(result, TM64_ASCTIME_FORMAT, | ^~~~~~~~~~~~~~~~~~~ y2038/time64.h:75:65: note: format string is defined here 75 | #define TM64_ASCTIME_FORMAT "%.3s %.3s%3d %.2d:%.2d:%.2d %lld\n" | ~~~^ | | | long long int | %ld gcc -Iy2038 -Iy2038 -I/usr/lib64/perl5/CORE '-DVERSION="20100403"' '-DXS_VERSION="20100403"' -fPIC -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 -o lib/Time/y2038.o lib/Time/y2038.c ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/Time/y2038/y2038.bs') 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 -lperl -o blib/arch/auto/Time/y2038/y2038.so lib/Time/y2038.o y2038/time64.o + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.iF1dlE + umask 022 + cd /home/pterjan/rpmbuild/BUILD/perl-Time-y2038-20100403.0.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/perl-Time-y2038-20100403.0.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/perl-Time-y2038-20100403.0.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/perl-Time-y2038-20100403.0.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/perl-Time-y2038-20100403.0.0-build + mkdir /home/pterjan/rpmbuild/BUILD/perl-Time-y2038-20100403.0.0-build/BUILDROOT + cd Time-y2038-20100403 + '[' 1 -eq 1 ']' + ./Build install destdir=/home/pterjan/rpmbuild/BUILD/perl-Time-y2038-20100403.0.0-build/BUILDROOT Building Time-y2038 Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /home/pterjan/rpmbuild/BUILD/perl-Time-y2038-20100403.0.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Time/y2038/y2038.so Installing /home/pterjan/rpmbuild/BUILD/perl-Time-y2038-20100403.0.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Time/y2038/y2038.bs Installing /home/pterjan/rpmbuild/BUILD/perl-Time-y2038-20100403.0.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Time/y2038.pm Installing /home/pterjan/rpmbuild/BUILD/perl-Time-y2038-20100403.0.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/Time/y2038/Everywhere.pm Installing /home/pterjan/rpmbuild/BUILD/perl-Time-y2038-20100403.0.0-build/BUILDROOT/usr/share/man/man3/Time::y2038::Everywhere.3pm Installing /home/pterjan/rpmbuild/BUILD/perl-Time-y2038-20100403.0.0-build/BUILDROOT/usr/share/man/man3/Time::y2038.3pm + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 20100403.0.0-25.mga10 --unique-debug-suffix -20100403.0.0-25.mga10.x86_64 --unique-debug-src-base perl-Time-y2038-20100403.0.0-25.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/perl-Time-y2038-20100403.0.0-build/Time-y2038-20100403 find-debuginfo: starting Extracting debug info from 1 files objcopy: unable to copy file '/home/pterjan/rpmbuild/BUILD/perl-Time-y2038-20100403.0.0-build/BUILDROOT/usr/lib64/perl5/vendor_perl/auto/Time/y2038/y2038.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.iF1dlE (%install) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.iF1dlE (%install) I: [iurt_root_command] ERROR: chroot