Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-Time-y2038.spec'], chrootPath='/var/lib/mock/f31-build-66090-29815/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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': 'C.UTF-8'} and shell False BUILDSTDERR: sh: perl: command not found Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Wrote: /builddir/build/SRPMS/perl-Time-y2038-20100403-21.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Time-y2038.spec'], chrootPath='/var/lib/mock/f31-build-66090-29815/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GRPnZI + 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 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xoytsN + umask 022 + cd /builddir/build/BUILD + cd Time-y2038-20100403 + perl Build.PL --installdirs=vendor '--optimize=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + ./Build BUILDSTDERR: Probing time.h capabilities. BUILDSTDERR: You may see some C errors, that's ok. BUILDSTDERR: try.c: In function 'main': BUILDSTDERR: try.c:6:9: warning: variable 'offset' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 6 | int offset; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: try.c: In function 'main': BUILDSTDERR: try.c:9:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 9 | zone = date->tm_zone; BUILDSTDERR: | ^ BUILDSTDERR: try.c:6:11: warning: variable 'zone' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 6 | char *zone; BUILDSTDERR: | ^~~~ BUILDSTDERR: Building a program to test the range of your system time functions... BUILDSTDERR: and running it... BUILDSTDERR: Done. BUILDSTDERR: gmtime_max: 67768036160140800 BUILDSTDERR: gmtime_min: -67768036191676800 BUILDSTDERR: localtime_max: 67768036160140800 BUILDSTDERR: localtime_min: -67768036191676800 BUILDSTDERR: mktime_max_tm_gmtoff: 0 BUILDSTDERR: mktime_max_tm_hour: 23 BUILDSTDERR: mktime_max_tm_isdst: 0 BUILDSTDERR: mktime_max_tm_mday: 31 BUILDSTDERR: mktime_max_tm_min: 59 BUILDSTDERR: mktime_max_tm_mon: 11 BUILDSTDERR: mktime_max_tm_sec: 59 BUILDSTDERR: mktime_max_tm_wday: 2 BUILDSTDERR: mktime_max_tm_yday: 364 BUILDSTDERR: mktime_max_tm_year: 2147483646 BUILDSTDERR: mktime_max_tm_zone: UTC BUILDSTDERR: mktime_min_tm_gmtoff: 0 BUILDSTDERR: mktime_min_tm_hour: 0 BUILDSTDERR: mktime_min_tm_isdst: 0 BUILDSTDERR: mktime_min_tm_mday: 2 BUILDSTDERR: mktime_min_tm_min: 0 BUILDSTDERR: mktime_min_tm_mon: 0 BUILDSTDERR: mktime_min_tm_sec: 0 BUILDSTDERR: mktime_min_tm_wday: 4 BUILDSTDERR: mktime_min_tm_yday: 1 BUILDSTDERR: mktime_min_tm_year: -2147483508 BUILDSTDERR: mktime_min_tm_zone: UTC BUILDSTDERR: timegm_max_tm_gmtoff: 0 BUILDSTDERR: timegm_max_tm_hour: 23 BUILDSTDERR: timegm_max_tm_isdst: 0 BUILDSTDERR: timegm_max_tm_mday: 31 BUILDSTDERR: timegm_max_tm_min: 59 BUILDSTDERR: timegm_max_tm_mon: 11 BUILDSTDERR: timegm_max_tm_sec: 59 BUILDSTDERR: timegm_max_tm_wday: 2 BUILDSTDERR: timegm_max_tm_yday: 364 BUILDSTDERR: timegm_max_tm_year: 2147483646 BUILDSTDERR: timegm_max_tm_zone: GMT BUILDSTDERR: timegm_min_tm_gmtoff: 0 BUILDSTDERR: timegm_min_tm_hour: 0 BUILDSTDERR: timegm_min_tm_isdst: 0 BUILDSTDERR: timegm_min_tm_mday: 2 BUILDSTDERR: timegm_min_tm_min: 0 BUILDSTDERR: timegm_min_tm_mon: 0 BUILDSTDERR: timegm_min_tm_sec: 0 BUILDSTDERR: timegm_min_tm_wday: 4 BUILDSTDERR: timegm_min_tm_yday: 1 BUILDSTDERR: timegm_min_tm_year: -2147483508 BUILDSTDERR: timegm_min_tm_zone: GMT BUILDSTDERR: y2038/time64.c: In function 'copy_tm_to_TM64': BUILDSTDERR: y2038/time64.c:416:32: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 416 | dest->tm_zone = src->tm_zone; BUILDSTDERR: | ^ BUILDSTDERR: In file included from y2038/time64.c:48: BUILDSTDERR: y2038/time64.c: In function 'asctime64_r': BUILDSTDERR: y2038/time64.h:75:33: warning: format '%lld' expects argument of type 'long long int', but argument 9 has type 'long int' [-Wformat=] BUILDSTDERR: 75 | #define TM64_ASCTIME_FORMAT "%.3s %.3s%3d %.2d:%.2d:%.2d %lld\n" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: y2038/time64.h:75:33: note: in definition of macro 'TM64_ASCTIME_FORMAT' BUILDSTDERR: 75 | #define TM64_ASCTIME_FORMAT "%.3s %.3s%3d %.2d:%.2d:%.2d %lld\n" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: y2038/time64.h:75:65: note: format string is defined here BUILDSTDERR: 75 | #define TM64_ASCTIME_FORMAT "%.3s %.3s%3d %.2d:%.2d:%.2d %lld\n" BUILDSTDERR: | ~~~^ BUILDSTDERR: | | BUILDSTDERR: | long long int BUILDSTDERR: | %ld BUILDSTDERR: At top level: BUILDSTDERR: y2038/time64.c:113:18: warning: 'dow_year_start' defined but not used [-Wunused-const-variable=] BUILDSTDERR: 113 | static const int dow_year_start[SOLAR_CYCLE_LENGTH] = { BUILDSTDERR: | ^~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Time-y2038' version '20100403' Building Time-y2038 gcc -Iy2038 -I/usr/lib64/perl5/CORE -fPIC -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 gcc -Iy2038 -Iy2038 -I/usr/lib64/perl5/CORE -fPIC -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 gcc -Iy2038 -Iy2038 -I/usr/lib64/perl5/CORE -DVERSION="20100403" -DXS_VERSION="20100403" -fPIC -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lqFYPK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Time-y2038-20100403-21.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Time-y2038-20100403-21.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/perl-Time-y2038-20100403-21.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Time-y2038-20100403-21.fc31.riscv64 + cd Time-y2038-20100403 + ./Build install --destdir=/builddir/build/BUILDROOT/perl-Time-y2038-20100403-21.fc31.riscv64 --create_packlist=0 + find /builddir/build/BUILDROOT/perl-Time-y2038-20100403-21.fc31.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-21.fc31.riscv64 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 20100403-21.fc31 --unique-debug-suffix -20100403-21.fc31.riscv64 --unique-debug-src-base perl-Time-y2038-20100403-21.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Time-y2038-20100403 BUILDSTDERR: 89 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs 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-21.fc31.riscv64/usr/lib64/perl5/vendor_perl/auto/Time/y2038/y2038.bs Installing /builddir/build/BUILDROOT/perl-Time-y2038-20100403-21.fc31.riscv64/usr/lib64/perl5/vendor_perl/auto/Time/y2038/y2038.so Installing /builddir/build/BUILDROOT/perl-Time-y2038-20100403-21.fc31.riscv64/usr/lib64/perl5/vendor_perl/Time/y2038.pm Installing /builddir/build/BUILDROOT/perl-Time-y2038-20100403-21.fc31.riscv64/usr/lib64/perl5/vendor_perl/Time/y2038/Everywhere.pm Installing /builddir/build/BUILDROOT/perl-Time-y2038-20100403-21.fc31.riscv64/usr/share/man/man3/Time::y2038.3pm Installing /builddir/build/BUILDROOT/perl-Time-y2038-20100403-21.fc31.riscv64/usr/share/man/man3/Time::y2038::Everywhere.3pm mode of '/builddir/build/BUILDROOT/perl-Time-y2038-20100403-21.fc31.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-21.fc31.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-21.fc31.riscv64/usr/lib64/perl5/vendor_perl/auto/Time/y2038/y2038.so' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/perl-Time-y2038-20100403-21.fc31.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-21.fc31.riscv64/usr/lib64/perl5/vendor_perl/Time/y2038/Everywhere.pm' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/perl-Time-y2038-20100403-21.fc31.riscv64/usr/lib64/perl5/vendor_perl/auto/Time/y2038/y2038.so extracting debug info from /builddir/build/BUILDROOT/perl-Time-y2038-20100403-21.fc31.riscv64/usr/lib64/perl5/vendor_perl/auto/Time/y2038/y2038.so original debug info size: 148kB, size after compression: 144kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.RKw3KL Processing files: perl-Time-y2038-20100403-21.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lF0kWM + umask 022 + cd /builddir/build/BUILD + cd Time-y2038-20100403 + DOCDIR=/builddir/build/BUILDROOT/perl-Time-y2038-20100403-21.fc31.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-21.fc31.riscv64/usr/share/doc/perl-Time-y2038 + cp -pr Changes /builddir/build/BUILDROOT/perl-Time-y2038-20100403-21.fc31.riscv64/usr/share/doc/perl-Time-y2038 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: perl(Time::y2038) = 20100403 perl(Time::y2038::Everywhere) = 20100403 perl-Time-y2038 = 20100403-21.fc31 perl-Time-y2038(riscv-64) = 20100403-21.fc31 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-21.fc31.riscv64 Provides: perl-Time-y2038-debugsource = 20100403-21.fc31 perl-Time-y2038-debugsource(riscv-64) = 20100403-21.fc31 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-21.fc31.riscv64 Provides: debuginfo(build-id) = 9f9e3f53b1e91ed8f503cfcd2a12524b540d62df perl-Time-y2038-debuginfo = 20100403-21.fc31 perl-Time-y2038-debuginfo(riscv-64) = 20100403-21.fc31 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-21.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Time-y2038-20100403-21.fc31.riscv64 Wrote: /builddir/build/RPMS/perl-Time-y2038-20100403-21.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Time-y2038-debugsource-20100403-21.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Time-y2038-debuginfo-20100403-21.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kVUH7M + umask 022 + cd /builddir/build/BUILD + cd Time-y2038-20100403 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Time-y2038-20100403-21.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0