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-Compress-Bzip2.spec'], chrootPath='/var/lib/mock/f31-build-100958-33326/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=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-Compress-Bzip2.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: perl: command not found Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Wrote: /builddir/build/SRPMS/perl-Compress-Bzip2-2.26-13.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Compress-Bzip2.spec'], chrootPath='/var/lib/mock/f31-build-100958-33326/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=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-Compress-Bzip2.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.FkYo6t + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Compress-Bzip2-2.26 + /usr/bin/gzip -dc /builddir/build/SOURCES/Compress-Bzip2-2.26.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Compress-Bzip2-2.26 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find bzlib-src -mindepth 1 -type f '!' -name 'sample*' -delete + sed -i -e '/^bzlib-src\//d' MANIFEST + find bzlib-src -type f + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GR4hPr + umask 022 + cd /builddir/build/BUILD + cd Compress-Bzip2-2.26 + perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 '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: Bzip2.c: In function 'XS_Compress__Bzip2_bzeof': BUILDSTDERR: Bzip2.c:2571:7: warning: unused variable 'RETVAL' [-Wunused-variable] BUILDSTDERR: 2571 | SV * RETVAL; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5359, BUILDSTDERR: from Bzip2.xs:4: BUILDSTDERR: Bzip2.c: In function 'XS_Compress__Bzip2_bzopen': BUILDSTDERR: /usr/lib64/perl5/CORE/embed.h:834:29: warning: 'class' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 834 | #define sv_setref_iv(a,b,c) Perl_sv_setref_iv(aTHX_ a,b,c) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: Bzip2.xs:1886:29: note: 'class' was declared here BUILDSTDERR: 1886 | char *filename, *mode, *class; BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/lib64/perl5/CORE/perl.h:5359, BUILDSTDERR: from Bzip2.xs:4: BUILDSTDERR: Bzip2.c: In function 'XS_Compress__Bzip2_new': BUILDSTDERR: /usr/lib64/perl5/CORE/embed.h:834:29: warning: 'class' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 834 | #define sv_setref_iv(a,b,c) Perl_sv_setref_iv(aTHX_ a,b,c) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: Bzip2.xs:1663:11: note: 'class' was declared here BUILDSTDERR: 1663 | char *class, *param; BUILDSTDERR: | ^~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Parsing config.in... found bzip2 1.0.8, 13-Jul-2019 installed Looks Good. Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Compress::Bzip2 Running Mkbootstrap for Bzip2 () "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/Compress-Bzip2-2.26/typemap' Bzip2.xs > Bzip2.xsc chmod 644 "Bzip2.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Bzip2.bs blib/arch/auto/Compress/Bzip2/Bzip2.bs 644 cp lib/Compress/Bzip2.pm blib/lib/Compress/Bzip2.pm AutoSplitting blib/lib/Compress/Bzip2.pm (blib/lib/auto/Compress/Bzip2) mv Bzip2.xsc Bzip2.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=\"2.26\" -DXS_VERSION=\"2.26\" -fPIC "-I/usr/lib64/perl5/CORE" Bzip2.c rm -f blib/arch/auto/Compress/Bzip2/Bzip2.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 -Wl,--enable-new-dtags -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld Bzip2.o -o blib/arch/auto/Compress/Bzip2/Bzip2.so \ -lbz2 -lperl \ chmod 755 blib/arch/auto/Compress/Bzip2/Bzip2.so Manifying 1 pod document Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BBz63s + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Compress-Bzip2-2.26-13.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Compress-Bzip2-2.26-13.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/perl-Compress-Bzip2-2.26-13.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Compress-Bzip2-2.26-13.fc31.riscv64 + cd Compress-Bzip2-2.26 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Compress-Bzip2-2.26-13.fc31.riscv64 + find /builddir/build/BUILDROOT/perl-Compress-Bzip2-2.26-13.fc31.riscv64 -type f -name '*.bs' -empty -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Compress-Bzip2-2.26-13.fc31.riscv64 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.26-13.fc31 --unique-debug-suffix -2.26-13.fc31.riscv64 --unique-debug-src-base perl-Compress-Bzip2-2.26-13.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Compress-Bzip2-2.26 BUILDSTDERR: 677 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/redhat/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' -- Bzip2.bs blib/arch/auto/Compress/Bzip2/Bzip2.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-Compress-Bzip2-2.26-13.fc31.riscv64/usr/lib64/perl5/vendor_perl/auto/Compress/Bzip2/Bzip2.so Installing /builddir/build/BUILDROOT/perl-Compress-Bzip2-2.26-13.fc31.riscv64/usr/lib64/perl5/vendor_perl/auto/Compress/Bzip2/autosplit.ix Installing /builddir/build/BUILDROOT/perl-Compress-Bzip2-2.26-13.fc31.riscv64/usr/lib64/perl5/vendor_perl/Compress/Bzip2.pm Installing /builddir/build/BUILDROOT/perl-Compress-Bzip2-2.26-13.fc31.riscv64/usr/share/man/man3/Compress::Bzip2.3pm explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/perl-Compress-Bzip2-2.26-13.fc31.riscv64/usr/lib64/perl5/vendor_perl/auto/Compress/Bzip2/Bzip2.so extracting debug info from /builddir/build/BUILDROOT/perl-Compress-Bzip2-2.26-13.fc31.riscv64/usr/lib64/perl5/vendor_perl/auto/Compress/Bzip2/Bzip2.so original debug info size: 260kB, size after compression: 256kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.LHWWws + umask 022 + cd /builddir/build/BUILD + cd Compress-Bzip2-2.26 + make test BUILDSTDERR: Warning: unable to close filehandle $out properly: Bad file descriptor at t/041-error.t line 63. + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Bzip2.bs blib/arch/auto/Compress/Bzip2/Bzip2.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/010-useability.t ............ ok t/011-prototype.t ............. ok t/020-compfile.t .............. ok t/021-compfile.t .............. ok t/022-compfile.t .............. ok t/023-compfile.t .............. ok t/024-compfile.t .............. ok t/025-compfile.t .............. ok t/026-compfile.t .............. ok t/030-uncompfile.t ............ ok t/031-uncompfile.t ............ ok t/032-uncompfile.t ............ ok t/033-uncompfile.t ............ ok t/034-uncompfile.t ............ ok t/035-uncompreadline.t ........ ok t/040-memory.t ................ ok t/041-double-free.t ........... ok t/041-error.t ................. ok t/050-deflate.t ............... ok t/051-deflate-flush.t ......... ok t/060-inflate.t ............... ok t/070-gzcomp.t ................ ok t/071-gzuncomp.t .............. ok t/080-version.t ............... ok t/081-basic.t ................. ok t/082-stream.t ................ ok t/900_kwalitee.t .............. skipped: This test is only run for the module author t/900_leaktrace.t ............. ok t/900_meta.t .................. skipped: This test is only run for the module author t/900_perl_minimum_version.t .. skipped: Author tests not required for installation t/900_pod-coverage.t .......... skipped: This test is only run for the module author t/900_pod.t ................... skipped: Test::Pod 1.00 required for testing POD All tests successful. Files=32, Tests=571, 529 wallclock secs ( 8.52 usr 3.42 sys + 431.25 cusr 100.12 csys = 543.31 CPU) Result: PASS Processing files: perl-Compress-Bzip2-2.26-13.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.S4IV4s + umask 022 + cd /builddir/build/BUILD + cd Compress-Bzip2-2.26 + DOCDIR=/builddir/build/BUILDROOT/perl-Compress-Bzip2-2.26-13.fc31.riscv64/usr/share/doc/perl-Compress-Bzip2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Compress-Bzip2-2.26-13.fc31.riscv64/usr/share/doc/perl-Compress-Bzip2 + cp -pr ANNOUNCE /builddir/build/BUILDROOT/perl-Compress-Bzip2-2.26-13.fc31.riscv64/usr/share/doc/perl-Compress-Bzip2 + cp -pr Changes /builddir/build/BUILDROOT/perl-Compress-Bzip2-2.26-13.fc31.riscv64/usr/share/doc/perl-Compress-Bzip2 + cp -pr NEWS /builddir/build/BUILDROOT/perl-Compress-Bzip2-2.26-13.fc31.riscv64/usr/share/doc/perl-Compress-Bzip2 + cp -pr README.md /builddir/build/BUILDROOT/perl-Compress-Bzip2-2.26-13.fc31.riscv64/usr/share/doc/perl-Compress-Bzip2 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.lnnIAv + umask 022 + cd /builddir/build/BUILD + cd Compress-Bzip2-2.26 + LICENSEDIR=/builddir/build/BUILDROOT/perl-Compress-Bzip2-2.26-13.fc31.riscv64/usr/share/licenses/perl-Compress-Bzip2 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Compress-Bzip2-2.26-13.fc31.riscv64/usr/share/licenses/perl-Compress-Bzip2 + cp -pr COPYING /builddir/build/BUILDROOT/perl-Compress-Bzip2-2.26-13.fc31.riscv64/usr/share/licenses/perl-Compress-Bzip2 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: perl(Compress::Bzip2) = 2.26 perl-Compress-Bzip2 = 2.26-13.fc31 perl-Compress-Bzip2(riscv-64) = 2.26-13.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) libbz2.so.1()(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(:VERSION) >= 5.6.0 perl(AutoLoader) perl(Carp) perl(Exporter) perl(Fcntl) perl(Getopt::Std) perl(XSLoader) perl(strict) perl(warnings) rtld(GNU_HASH) Processing files: perl-Compress-Bzip2-debugsource-2.26-13.fc31.riscv64 Provides: perl-Compress-Bzip2-debugsource = 2.26-13.fc31 perl-Compress-Bzip2-debugsource(riscv-64) = 2.26-13.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-Compress-Bzip2-debuginfo-2.26-13.fc31.riscv64 Provides: debuginfo(build-id) = 409076ef15edf77870ea7efa6b7ea52fde61dd00 perl-Compress-Bzip2-debuginfo = 2.26-13.fc31 perl-Compress-Bzip2-debuginfo(riscv-64) = 2.26-13.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-Compress-Bzip2-debugsource(riscv-64) = 2.26-13.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Compress-Bzip2-2.26-13.fc31.riscv64 Wrote: /builddir/build/RPMS/perl-Compress-Bzip2-2.26-13.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Compress-Bzip2-debuginfo-2.26-13.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/perl-Compress-Bzip2-debugsource-2.26-13.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.s5HPAv + umask 022 + cd /builddir/build/BUILD + cd Compress-Bzip2-2.26 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Compress-Bzip2-2.26-13.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0