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-Sys-CPU.spec'], chrootPath='/var/lib/mock/f33-build-265508-51385/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-Sys-CPU.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: /usr/bin/perl: No such file or directory Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580342400 Wrote: /builddir/build/SRPMS/perl-Sys-CPU-0.61-21.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-Sys-CPU.spec'], chrootPath='/var/lib/mock/f33-build-265508-51385/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-Sys-CPU.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=1580342400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9nCGI9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Sys-CPU-0.61 + /usr/bin/gzip -dc /builddir/build/SOURCES/Sys-CPU-0.61.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Sys-CPU-0.61 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (Sys-CPU-0.61-Add-support-for-cpu_type-on-ARM-and-AArch64-Linux-pl.patch):' Patch #0 (Sys-CPU-0.61-Add-support-for-cpu_type-on-ARM-and-AArch64-Linux-pl.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file CPU.xs Patch #1 (Sys-CPU-0.61-cpu_clock-can-be-undefined-on-an-ARM.patch): + echo 'Patch #1 (Sys-CPU-0.61-cpu_clock-can-be-undefined-on-an-ARM.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.PL patching file t/Sys-CPU.t + sed -i 's/\r//' Changes README + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5HfWU9 + umask 022 + cd /builddir/build/BUILD + cd Sys-CPU-0.61 + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Sys::CPU + make -j4 Running Mkbootstrap for CPU () "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' CPU.xs > CPU.xsc chmod 644 "CPU.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CPU.bs blib/arch/auto/Sys/CPU/CPU.bs 644 cp CPU.pm blib/lib/Sys/CPU.pm Please specify prototyping behavior for CPU.xs (see perlxs manual) mv CPU.xsc CPU.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 -g -DVERSION=\"0.61\" -DXS_VERSION=\"0.61\" -fPIC "-I/usr/lib64/perl5/CORE" CPU.c In file included from CPU.xs:3: CPU.c: In function 'XS_Sys__CPU_cpu_count': /usr/lib64/perl5/CORE/XSUB.h:177:28: warning: unused variable 'targ' [-Wunused-variable] 177 | #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ | ^~~~ /usr/lib64/perl5/CORE/XSUB.h:177:28: note: in definition of macro 'dXSTARG' 177 | #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ | ^~~~ CPU.c:480:6: warning: unused variable 'RETVAL' [-Wunused-variable] 480 | int RETVAL; | ^~~~~~ In file included from CPU.xs:3: CPU.c: In function 'XS_Sys__CPU_cpu_clock': /usr/lib64/perl5/CORE/XSUB.h:177:28: warning: unused variable 'targ' [-Wunused-variable] 177 | #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ | ^~~~ /usr/lib64/perl5/CORE/XSUB.h:177:28: note: in definition of macro 'dXSTARG' 177 | #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ | ^~~~ CPU.c:506:6: warning: unused variable 'RETVAL' [-Wunused-variable] 506 | int RETVAL; | ^~~~~~ CPU.c: In function 'XS_Sys__CPU_cpu_type': CPU.c:571:7: warning: unused variable 'RETVAL' [-Wunused-variable] 571 | SV * RETVAL; | ^~~~~~ rm -f blib/arch/auto/Sys/CPU/CPU.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 CPU.o -o blib/arch/auto/Sys/CPU/CPU.so \ -lperl \ chmod 755 blib/arch/auto/Sys/CPU/CPU.so Manifying 1 pod document + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qJNgCa + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-21.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-21.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-21.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-21.fc33.riscv64 + cd Sys-CPU-0.61 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Sys-CPU-0.61-21.fc33.riscv64 "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CPU.bs blib/arch/auto/Sys/CPU/CPU.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-Sys-CPU-0.61-21.fc33.riscv64/usr/lib64/perl5/vendor_perl/auto/Sys/CPU/CPU.so Installing /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-21.fc33.riscv64/usr/lib64/perl5/vendor_perl/Sys/CPU.pm Installing /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-21.fc33.riscv64/usr/share/man/man3/Sys::CPU.3pm + find /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-21.fc33.riscv64 -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-21.fc33.riscv64 -type f -name CPU.bs -exec rm -f '{}' ';' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-21.fc33.riscv64/usr + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.61-21.fc33 --unique-debug-suffix -0.61-21.fc33.riscv64 --unique-debug-src-base perl-Sys-CPU-0.61-21.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Sys-CPU-0.61 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-21.fc33.riscv64/usr/lib64/perl5/vendor_perl/auto/Sys/CPU/CPU.so extracting debug info from /builddir/build/BUILDROOT/perl-Sys-CPU-0.61-21.fc33.riscv64/usr/lib64/perl5/vendor_perl/auto/Sys/CPU/CPU.so original debug info size: 104kB, size after compression: 104kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 55 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 /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.VQKHsb + umask 022 + cd /builddir/build/BUILD + cd Sys-CPU-0.61 + make test TEST_VERBOSE=1 "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- CPU.bs blib/arch/auto/Sys/CPU/CPU.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/Sys-CPU.t .. 1..4 ok 1 ok 2 (CPU Count : 4) not ok 3 (cpu_clock undefined (ok if Win9x)) not ok 4 (cpu_type unavailable) Failed 2/4 subtests Test Summary Report ------------------- t/Sys-CPU.t (Wstat: 0 Tests: 4 Failed: 2) Failed tests: 3-4 Files=1, Tests=4, 2 wallclock secs ( 0.55 usr 0.18 sys + 0.61 cusr 0.16 csys = 1.50 CPU) Result: FAIL Failed 1/1 test programs. 2/4 subtests failed. make: *** [Makefile:959: test_dynamic] Error 255 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.VQKHsb (%check) Bad exit status from /var/tmp/rpm-tmp.VQKHsb (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/perl-Sys-CPU.spec