Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-CDB_File.spec'], chrootPath='/var/lib/mock/f31-build-68891-30230/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/perl-CDB_File.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 BUILDSTDERR: sh: /usr/bin/perl: No such file or directory Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Wrote: /builddir/build/SRPMS/perl-CDB_File-0.99-11.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-CDB_File.spec'], chrootPath='/var/lib/mock/f31-build-68891-30230/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=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-CDB_File.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=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rLt97B + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf CDB_File-0.99 + /usr/bin/gzip -dc /builddir/build/SOURCES/CDB_File-0.99.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd CDB_File-0.99 + /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.mOoTAD + umask 022 + cd /builddir/build/BUILD + cd CDB_File-0.99 + /usr/bin/perl Makefile.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' + make -j4 BUILDSTDERR: CDB_File.c: In function 'XS_CDB_File_handle': BUILDSTDERR: CDB_File.xs:378:15: warning: unused variable 'packname' [-Wunused-variable] BUILDSTDERR: 378 | char *packname; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: CDB_File.xs:377:13: warning: unused variable 'gv' [-Wunused-variable] BUILDSTDERR: 377 | GV *gv; BUILDSTDERR: | ^~ BUILDSTDERR: CDB_File.c: In function 'XS_CDB_File_TIEHASH': BUILDSTDERR: CDB_File.xs:415:6: warning: unused variable 'cdbp' [-Wunused-variable] BUILDSTDERR: 415 | SV *cdbp; BUILDSTDERR: | ^~~~ BUILDSTDERR: CDB_File.xs:414:6: warning: unused variable 'io' [-Wunused-variable] BUILDSTDERR: 414 | IO *io; BUILDSTDERR: | ^~ BUILDSTDERR: CDB_File.c: In function 'XS_CDB_File_FETCH': BUILDSTDERR: CDB_File.c:691:7: warning: unused variable 'RETVAL' [-Wunused-variable] BUILDSTDERR: 691 | SV * RETVAL; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: CDB_File.xs:455:6: warning: unused variable 'klen0' [-Wunused-variable] BUILDSTDERR: 455 | U32 klen0; BUILDSTDERR: | ^~~~~ BUILDSTDERR: CDB_File.xs:454:15: warning: unused variable 'x' [-Wunused-variable] BUILDSTDERR: 454 | STRLEN klen, x; BUILDSTDERR: | ^ BUILDSTDERR: CDB_File.xs:453:8: warning: unused variable 'pos' [-Wunused-variable] BUILDSTDERR: 453 | off_t pos; BUILDSTDERR: | ^~~ BUILDSTDERR: CDB_File.xs:450:10: warning: unused variable 'f' [-Wunused-variable] BUILDSTDERR: 450 | PerlIO *f; BUILDSTDERR: | ^ BUILDSTDERR: CDB_File.c: In function 'XS_CDB_File_multi_get': BUILDSTDERR: CDB_File.xs:538:12: warning: unused variable 'klen0' [-Wunused-variable] BUILDSTDERR: 538 | U32 dlen, klen0; BUILDSTDERR: | ^~~~~ BUILDSTDERR: CDB_File.xs:536:8: warning: unused variable 'pos' [-Wunused-variable] BUILDSTDERR: 536 | off_t pos; BUILDSTDERR: | ^~~ BUILDSTDERR: CDB_File.xs:534:7: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: 534 | char buf[8]; BUILDSTDERR: | ^~~ BUILDSTDERR: CDB_File.xs:533:10: warning: unused variable 'f' [-Wunused-variable] BUILDSTDERR: 533 | PerlIO *f; BUILDSTDERR: | ^ BUILDSTDERR: CDB_File.c: In function 'XS_CDB_File_DESTROY': BUILDSTDERR: CDB_File.xs:591:13: warning: unused variable 'io' [-Wunused-variable] BUILDSTDERR: 591 | IO *io; BUILDSTDERR: | ^~ BUILDSTDERR: CDB_File.c: In function 'XS_CDB_File_FIRSTKEY': BUILDSTDERR: CDB_File.c:944:7: warning: unused variable 'RETVAL' [-Wunused-variable] BUILDSTDERR: 944 | SV * RETVAL; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: CDB_File.xs:614:6: warning: unused variable 'klen' [-Wunused-variable] BUILDSTDERR: 614 | U32 klen; BUILDSTDERR: | ^~~~ BUILDSTDERR: CDB_File.xs:613:7: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: 613 | char buf[8]; BUILDSTDERR: | ^~~ BUILDSTDERR: CDB_File.c: In function 'XS_CDB_File_NEXTKEY': BUILDSTDERR: CDB_File.c:983:7: warning: unused variable 'RETVAL' [-Wunused-variable] BUILDSTDERR: 983 | SV * RETVAL; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: CDB_File.xs:633:9: warning: unused variable 'klen1' [-Wunused-variable] BUILDSTDERR: 633 | STRLEN klen1; BUILDSTDERR: | ^~~~~ BUILDSTDERR: CDB_File.xs:632:12: warning: unused variable 'klen0' [-Wunused-variable] BUILDSTDERR: 632 | U32 dlen, klen0; BUILDSTDERR: | ^~~~~ BUILDSTDERR: CDB_File.xs:632:6: warning: unused variable 'dlen' [-Wunused-variable] BUILDSTDERR: 632 | U32 dlen, klen0; BUILDSTDERR: | ^~~~ BUILDSTDERR: CDB_File.xs:631:8: warning: unused variable 'pos' [-Wunused-variable] BUILDSTDERR: 631 | off_t pos; BUILDSTDERR: | ^~~ BUILDSTDERR: CDB_File.xs:630:6: warning: unused variable 'found' [-Wunused-variable] BUILDSTDERR: 630 | int found; BUILDSTDERR: | ^~~~~ BUILDSTDERR: CDB_File.xs:629:16: warning: unused variable 'kp' [-Wunused-variable] BUILDSTDERR: 629 | char buf[8], *kp; BUILDSTDERR: | ^~ BUILDSTDERR: CDB_File.xs:629:7: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: 629 | char buf[8], *kp; BUILDSTDERR: | ^~~ BUILDSTDERR: CDB_File.c: In function 'XS_CDB_File_new': BUILDSTDERR: CDB_File.xs:661:6: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 661 | int i; BUILDSTDERR: | ^ BUILDSTDERR: CDB_File.c: In function 'XS_CDB_File__Maker_insert': BUILDSTDERR: CDB_File.xs:705:9: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 705 | int c, i, x; BUILDSTDERR: | ^ BUILDSTDERR: CDB_File.xs:705:6: warning: unused variable 'c' [-Wunused-variable] BUILDSTDERR: 705 | int c, i, x; BUILDSTDERR: | ^ BUILDSTDERR: At top level: BUILDSTDERR: CDB_File.xs:129:13: warning: 'seekerror' defined but not used [-Wunused-function] BUILDSTDERR: 129 | static void seekerror() { croak("Seek in CDB_File failed: %s", Strerror(errno)); } BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /usr/lib64/perl5/CORE/perl.h:1100, BUILDSTDERR: from CDB_File.xs:37: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'XS_CDB_File_new' at CDB_File.xs:673:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: CDB_File.c: In function 'XS_CDB_File_new': BUILDSTDERR: CDB_File.xs:673:27: note: length computed here BUILDSTDERR: 673 | strncpy(cdbmake->fn, fn, strlen(fn) + 1); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /usr/lib64/perl5/CORE/perl.h:1100, BUILDSTDERR: from CDB_File.xs:37: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'XS_CDB_File_new' at CDB_File.xs:674:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: CDB_File.c: In function 'XS_CDB_File_new': BUILDSTDERR: CDB_File.xs:674:35: note: length computed here BUILDSTDERR: 674 | strncpy(cdbmake->fntemp, fntemp, strlen(fntemp) + 1); BUILDSTDERR: | ^~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for CDB_File "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/CDB_File-0.99/typemap' CDB_File.xs > CDB_File.xsc Running Mkbootstrap for CDB_File () chmod 644 "CDB_File.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CDB_File.bs blib/arch/auto/CDB_File/CDB_File.bs 644 cp CDB_File.pm blib/lib/CDB_File.pm cp bun-x.pl blib/lib/bun-x.pl mv CDB_File.xsc CDB_File.c gcc -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 -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 -DVERSION=\"0.99\" -DXS_VERSION=\"0.99\" -fPIC "-I/usr/lib64/perl5/CORE" -DHASMMAP CDB_File.c rm -f blib/arch/auto/CDB_File/CDB_File.so 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 CDB_File.o -o blib/arch/auto/CDB_File/CDB_File.so \ -lperl \ chmod 755 blib/arch/auto/CDB_File/CDB_File.so Manifying 1 pod document Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.uRaAHB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-CDB_File-0.99-11.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-CDB_File-0.99-11.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/perl-CDB_File-0.99-11.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-CDB_File-0.99-11.fc31.riscv64 + cd CDB_File-0.99 + rm -rf /builddir/build/BUILDROOT/perl-CDB_File-0.99-11.fc31.riscv64 + make pure_install PERL_INSTALL_ROOT=/builddir/build/BUILDROOT/perl-CDB_File-0.99-11.fc31.riscv64 + find /builddir/build/BUILDROOT/perl-CDB_File-0.99-11.fc31.riscv64 -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl-CDB_File-0.99-11.fc31.riscv64 -type f -name '*.bs' -size 0 -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl-CDB_File-0.99-11.fc31.riscv64 -depth -type d -exec rmdir '{}' ';' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-CDB_File-0.99-11.fc31.riscv64/usr + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.99-11.fc31 --unique-debug-suffix -0.99-11.fc31.riscv64 --unique-debug-src-base perl-CDB_File-0.99-11.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/CDB_File-0.99 BUILDSTDERR: 438 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 "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CDB_File.bs blib/arch/auto/CDB_File/CDB_File.bs 644 Manifying 1 pod document Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-CDB_File-0.99-11.fc31.riscv64/usr/lib64/perl5/vendor_perl/auto/CDB_File/CDB_File.so Installing /builddir/build/BUILDROOT/perl-CDB_File-0.99-11.fc31.riscv64/usr/lib64/perl5/vendor_perl/CDB_File.pm Installing /builddir/build/BUILDROOT/perl-CDB_File-0.99-11.fc31.riscv64/usr/lib64/perl5/vendor_perl/bun-x.pl Installing /builddir/build/BUILDROOT/perl-CDB_File-0.99-11.fc31.riscv64/usr/share/man/man3/CDB_File.3pm explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/perl-CDB_File-0.99-11.fc31.riscv64/usr/lib64/perl5/vendor_perl/auto/CDB_File/CDB_File.so extracting debug info from /builddir/build/BUILDROOT/perl-CDB_File-0.99-11.fc31.riscv64/usr/lib64/perl5/vendor_perl/auto/CDB_File/CDB_File.so original debug info size: 164kB, size after compression: 160kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.FKg36C Processing files: perl-CDB_File-0.99-11.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KHBCEE + umask 022 + cd /builddir/build/BUILD + cd CDB_File-0.99 + DOCDIR=/builddir/build/BUILDROOT/perl-CDB_File-0.99-11.fc31.riscv64/usr/share/doc/perl-CDB_File + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-CDB_File-0.99-11.fc31.riscv64/usr/share/doc/perl-CDB_File + cp -pr ACKNOWLEDGE /builddir/build/BUILDROOT/perl-CDB_File-0.99-11.fc31.riscv64/usr/share/doc/perl-CDB_File + cp -pr CHANGES /builddir/build/BUILDROOT/perl-CDB_File-0.99-11.fc31.riscv64/usr/share/doc/perl-CDB_File + cp -pr COPYRIGHT /builddir/build/BUILDROOT/perl-CDB_File-0.99-11.fc31.riscv64/usr/share/doc/perl-CDB_File + cp -pr README /builddir/build/BUILDROOT/perl-CDB_File-0.99-11.fc31.riscv64/usr/share/doc/perl-CDB_File + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: perl(CDB_File) = 0.99 perl-CDB_File = 0.99-11.fc31 perl-CDB_File(riscv-64) = 0.99-11.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl 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) libperl.so.5.30()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) perl(CDB_File) perl(Exporter) perl(XSLoader) perl(strict) rtld(GNU_HASH) Processing files: perl-CDB_File-debugsource-0.99-11.fc31.riscv64 Provides: perl-CDB_File-debugsource = 0.99-11.fc31 perl-CDB_File-debugsource(riscv-64) = 0.99-11.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-CDB_File-debuginfo-0.99-11.fc31.riscv64 Provides: debuginfo(build-id) = b63f89eea74e90ad87bd4e65e16ec73884e8c8c4 perl-CDB_File-debuginfo = 0.99-11.fc31 perl-CDB_File-debuginfo(riscv-64) = 0.99-11.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-CDB_File-debugsource(riscv-64) = 0.99-11.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-CDB_File-0.99-11.fc31.riscv64 Wrote: /builddir/build/RPMS/perl-CDB_File-0.99-11.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/perl-CDB_File-debuginfo-0.99-11.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/perl-CDB_File-debugsource-0.99-11.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.XPA87D + umask 022 + cd /builddir/build/BUILD + cd CDB_File-0.99 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-CDB_File-0.99-11.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0