Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-Time-y2038.spec'], chrootPath='/var/lib/mock/f33-build-285757-53203/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-Time-y2038.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False sh: perl: command not found Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1592870400 Wrote: /builddir/build/SRPMS/perl-Time-y2038-20100403-23.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Time-y2038.spec'], chrootPath='/var/lib/mock/f33-build-285757-53203/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Time-y2038.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1592870400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VqsEJs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Time-y2038-20100403 + /usr/bin/gzip -dc /builddir/build/SOURCES/Time-y2038-20100403.tar.gz + /usr/bin/tar -xof - + 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 /var/tmp/rpm-tmp.UWY4Tq + umask 022 + cd /builddir/build/BUILD + cd Time-y2038-20100403 + perl Build.PL --installdirs=vendor '--optimize=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' 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:6:9: warning: variable 'offset' set but not used [-Wunused-but-set-variable] 6 | int offset; | ^~~~~~ 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; | ^ try.c:6:11: warning: variable 'zone' set but not used [-Wunused-but-set-variable] 6 | char *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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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,-z,relro -Wl,--as-needed -Wl,-z,now -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: -18000 mktime_max_tm_hour: 18 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: EST mktime_min_tm_gmtoff: -17762 mktime_min_tm_hour: 19 mktime_min_tm_isdst: 0 mktime_min_tm_mday: 1 mktime_min_tm_min: 3 mktime_min_tm_mon: 0 mktime_min_tm_sec: 58 mktime_min_tm_wday: 3 mktime_min_tm_yday: 0 mktime_min_tm_year: -2147483508 mktime_min_tm_zone: LMT 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 'long int' [-Wformat=] 75 | #define TM64_ASCTIME_FORMAT "%.3s %.3s%3d %.2d:%.2d:%.2d %lld\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ y2038/time64.h:75:33: note: in definition of macro 'TM64_ASCTIME_FORMAT' 75 | #define TM64_ASCTIME_FORMAT "%.3s %.3s%3d %.2d:%.2d:%.2d %lld\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 At top level: y2038/time64.c:113:18: warning: 'dow_year_start' defined but not used [-Wunused-const-variable=] 113 | static const int dow_year_start[SOLAR_CYCLE_LENGTH] = { | ^~~~~~~~~~~~~~ gcc -Iy2038 -Iy2038 -I/usr/lib64/perl5/CORE -DVERSION="20100403" -DXS_VERSION="20100403" -fPIC -c -D_REENTRANT -D_GNU_SOURCE -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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,-z,relro -Wl,--as-needed -Wl,-z,now -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 /var/tmp/rpm-tmp.pJvTes + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Time-y2038-20100403-23.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Time-y2038-20100403-23.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/perl-Time-y2038-20100403-23.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Time-y2038-20100403-23.fc33.riscv64 + cd Time-y2038-20100403 + ./Build install --destdir=/builddir/build/BUILDROOT/perl-Time-y2038-20100403-23.fc33.riscv64 --create_packlist=0 Building Time-y2038 Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-Time-y2038-20100403-23.fc33.riscv64/usr/lib64/perl5/vendor_perl/auto/Time/y2038/y2038.bs Installing /builddir/build/BUILDROOT/perl-Time-y2038-20100403-23.fc33.riscv64/usr/lib64/perl5/vendor_perl/auto/Time/y2038/y2038.so Installing /builddir/build/BUILDROOT/perl-Time-y2038-20100403-23.fc33.riscv64/usr/lib64/perl5/vendor_perl/Time/y2038.pm Installing /builddir/build/BUILDROOT/perl-Time-y2038-20100403-23.fc33.riscv64/usr/lib64/perl5/vendor_perl/Time/y2038/Everywhere.pm Installing /builddir/build/BUILDROOT/perl-Time-y2038-20100403-23.fc33.riscv64/usr/share/man/man3/Time::y2038::Everywhere.3pm Installing /builddir/build/BUILDROOT/perl-Time-y2038-20100403-23.fc33.riscv64/usr/share/man/man3/Time::y2038.3pm + find /builddir/build/BUILDROOT/perl-Time-y2038-20100403-23.fc33.riscv64 -type f -name '*.bs' -empty -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w -c /builddir/build/BUILDROOT/perl-Time-y2038-20100403-23.fc33.riscv64 mode of '/builddir/build/BUILDROOT/perl-Time-y2038-20100403-23.fc33.riscv64/usr/share/man/man3/Time::y2038::Everywhere.3pm' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of '/builddir/build/BUILDROOT/perl-Time-y2038-20100403-23.fc33.riscv64/usr/share/man/man3/Time::y2038.3pm' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of '/builddir/build/BUILDROOT/perl-Time-y2038-20100403-23.fc33.riscv64/usr/lib64/perl5/vendor_perl/Time/y2038/Everywhere.pm' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of '/builddir/build/BUILDROOT/perl-Time-y2038-20100403-23.fc33.riscv64/usr/lib64/perl5/vendor_perl/Time/y2038.pm' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of '/builddir/build/BUILDROOT/perl-Time-y2038-20100403-23.fc33.riscv64/usr/lib64/perl5/vendor_perl/auto/Time/y2038/y2038.so' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x) + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 20100403-23.fc33 --unique-debug-suffix -20100403-23.fc33.riscv64 --unique-debug-src-base perl-Time-y2038-20100403-23.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Time-y2038-20100403 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/perl-Time-y2038-20100403-23.fc33.riscv64/usr/lib64/perl5/vendor_perl/auto/Time/y2038/y2038.so extracting debug info from /builddir/build/BUILDROOT/perl-Time-y2038-20100403-23.fc33.riscv64/usr/lib64/perl5/vendor_perl/auto/Time/y2038/y2038.so original debug info size: 144kB, size after compression: 140kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 89 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.oLXYdp + umask 022 + cd /builddir/build/BUILD + cd Time-y2038-20100403 + ./Build test t/everywhere.t ... ok t/localtimetz.t .. ok t/time.t ......... ok t/timegm.t ....... ok All tests successful. Files=4, Tests=83, 9 wallclock secs ( 0.62 usr 0.32 sys + 7.09 cusr 1.66 csys = 9.69 CPU) Result: PASS + RPM_EC=0 ++ jobs -p + exit 0 Processing files: perl-Time-y2038-20100403-23.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xUcoaq + umask 022 + cd /builddir/build/BUILD + cd Time-y2038-20100403 + DOCDIR=/builddir/build/BUILDROOT/perl-Time-y2038-20100403-23.fc33.riscv64/usr/share/doc/perl-Time-y2038 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Time-y2038-20100403-23.fc33.riscv64/usr/share/doc/perl-Time-y2038 + cp -pr Changes /builddir/build/BUILDROOT/perl-Time-y2038-20100403-23.fc33.riscv64/usr/share/doc/perl-Time-y2038 + RPM_EC=0 ++ jobs -p + exit 0 Provides: perl(Time::y2038) = 20100403 perl(Time::y2038::Everywhere) = 20100403 perl-Time-y2038 = 20100403-23.fc33 perl-Time-y2038(riscv-64) = 20100403-23.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) perl(Exporter) perl(Time::y2038) perl(XSLoader) perl(base) perl(strict) perl(warnings) rtld(GNU_HASH) Processing files: perl-Time-y2038-debugsource-20100403-23.fc33.riscv64 Provides: perl-Time-y2038-debugsource = 20100403-23.fc33 perl-Time-y2038-debugsource(riscv-64) = 20100403-23.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-Time-y2038-debuginfo-20100403-23.fc33.riscv64 Provides: debuginfo(build-id) = 45762c33f1cdae85ad0c56a3e0a097247224192d perl-Time-y2038-debuginfo = 20100403-23.fc33 perl-Time-y2038-debuginfo(riscv-64) = 20100403-23.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-Time-y2038-debugsource(riscv-64) = 20100403-23.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Time-y2038-20100403-23.fc33.riscv64 Wrote: /builddir/build/RPMS/perl-Time-y2038-20100403-23.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Time-y2038-debugsource-20100403-23.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Time-y2038-debuginfo-20100403-23.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qCkBSo + umask 022 + cd /builddir/build/BUILD + cd Time-y2038-20100403 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Time-y2038-20100403-23.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0