Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/perl-Scalar-List-Utils.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-38383-18315/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=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/perl-Scalar-List-Utils.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 sh: perl: command not found sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/perl-Scalar-List-Utils-1.49-2.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/perl-Scalar-List-Utils.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-38383-18315/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=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/perl-Scalar-List-Utils.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wNf8st + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Scalar-List-Utils-1.49 + /usr/bin/gzip -dc /builddir/build/SOURCES/Scalar-List-Utils-1.49.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Scalar-List-Utils-1.49 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Borb5p + umask 022 + cd /builddir/build/BUILD + cd Scalar-List-Utils-1.49 + perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -g' NO_PACKLIST=1 Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for List::Util + make -j4 Running Mkbootstrap for Util () "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' ListUtil.xs > ListUtil.xsc chmod 644 "Util.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Util.bs blib/arch/auto/List/Util/Util.bs 644 cp lib/Scalar/Util.pm blib/lib/Scalar/Util.pm cp lib/Sub/Util.pm blib/lib/Sub/Util.pm cp lib/List/Util.pm blib/lib/List/Util.pm cp lib/List/Util/XS.pm blib/lib/List/Util/XS.pm mv ListUtil.xsc ListUtil.c loongarch64-loongson-linux-gnu-gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.49\" -DXS_VERSION=\"1.49\" -fPIC "-I/usr/lib64/perl5/CORE" -DPERL_EXT -DUSE_PPPORT_H ListUtil.c rm -f blib/arch/auto/List/Util/Util.so loongarch64-loongson-linux-gnu-gcc -lpthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/loongson/loongson-hardened-ld -L/usr/local/lib -fstack-protector-strong ListUtil.o -o blib/arch/auto/List/Util/Util.so \ -lperl \ chmod 755 blib/arch/auto/List/Util/Util.so Manifying 4 pod documents + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HGaQUm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Scalar-List-Utils-1.49-2.el8.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Scalar-List-Utils-1.49-2.el8.loongarch64 ++ dirname /builddir/build/BUILDROOT/perl-Scalar-List-Utils-1.49-2.el8.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Scalar-List-Utils-1.49-2.el8.loongarch64 + cd Scalar-List-Utils-1.49 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Scalar-List-Utils-1.49-2.el8.loongarch64 "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Util.bs blib/arch/auto/List/Util/Util.bs 644 Manifying 4 pod documents Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-Scalar-List-Utils-1.49-2.el8.loongarch64/usr/lib64/perl5/vendor_perl/auto/List/Util/Util.so Installing /builddir/build/BUILDROOT/perl-Scalar-List-Utils-1.49-2.el8.loongarch64/usr/lib64/perl5/vendor_perl/List/Util.pm Installing /builddir/build/BUILDROOT/perl-Scalar-List-Utils-1.49-2.el8.loongarch64/usr/lib64/perl5/vendor_perl/List/Util/XS.pm Installing /builddir/build/BUILDROOT/perl-Scalar-List-Utils-1.49-2.el8.loongarch64/usr/lib64/perl5/vendor_perl/Sub/Util.pm Installing /builddir/build/BUILDROOT/perl-Scalar-List-Utils-1.49-2.el8.loongarch64/usr/lib64/perl5/vendor_perl/Scalar/Util.pm Installing /builddir/build/BUILDROOT/perl-Scalar-List-Utils-1.49-2.el8.loongarch64/usr/share/man/man3/Scalar::Util.3pm Installing /builddir/build/BUILDROOT/perl-Scalar-List-Utils-1.49-2.el8.loongarch64/usr/share/man/man3/List::Util.3pm Installing /builddir/build/BUILDROOT/perl-Scalar-List-Utils-1.49-2.el8.loongarch64/usr/share/man/man3/List::Util::XS.3pm Installing /builddir/build/BUILDROOT/perl-Scalar-List-Utils-1.49-2.el8.loongarch64/usr/share/man/man3/Sub::Util.3pm + find /builddir/build/BUILDROOT/perl-Scalar-List-Utils-1.49-2.el8.loongarch64 -type f -name '*.bs' -size 0 -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Scalar-List-Utils-1.49-2.el8.loongarch64/usr + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.49-2.el8 --unique-debug-suffix -1.49-2.el8.loongarch64 --unique-debug-src-base perl-Scalar-List-Utils-1.49-2.el8.loongarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Scalar-List-Utils-1.49 extracting debug info from /builddir/build/BUILDROOT/perl-Scalar-List-Utils-1.49-2.el8.loongarch64/usr/lib64/perl5/vendor_perl/auto/List/Util/Util.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 531 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 '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.oAisMj + umask 022 + cd /builddir/build/BUILD + cd Scalar-List-Utils-1.49 + make test "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Util.bs blib/arch/auto/List/Util/Util.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/00version.t ......... ok t/any-all.t ........... ok t/blessed.t ........... ok Can't load '/usr/lib64/perl5/vendor_perl/auto/threads/threads.so' for module threads: /usr/lib64/perl5/vendor_perl/auto/threads/threads.so: undefined symbol: thread_locale_init at /usr/share/perl5/XSLoader.pm line 96. at /usr/lib64/perl5/vendor_perl/threads.pm line 32. Compilation failed in require at t/dualvar.t line 79. BEGIN failed--compilation aborted at t/dualvar.t line 86. # Looks like your test exited with 2 before it could output anything. t/dualvar.t ........... Dubious, test returned 2 (wstat 512, 0x200) Failed 41/41 subtests t/first.t ............. ok t/getmagic-once.t ..... ok t/isvstring.t ......... ok t/lln.t ............... ok t/max.t ............... ok t/maxstr.t ............ ok t/min.t ............... ok t/minstr.t ............ ok t/openhan.t ........... ok t/pair.t .............. ok t/product.t ........... ok t/prototype.t ......... ok t/readonly.t .......... ok t/reduce.t ............ ok t/refaddr.t ........... ok t/reftype.t ........... ok t/rt-96343.t .......... ok t/scalarutil-proto.t .. ok t/shuffle.t ........... ok t/stack-corruption.t .. ok t/subname.t ........... ok t/sum.t ............... ok t/sum0.t .............. ok t/tainted.t ........... ok t/uniq.t .............. ok t/weak.t .............. ok Test Summary Report ------------------- t/dualvar.t (Wstat: 512 Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 41 tests but ran 0. Files=30, Tests=438, 3 wallclock secs ( 0.10 usr 0.02 sys + 2.31 cusr 0.15 csys = 2.58 CPU) Result: FAIL Failed 1/30 test programs. 0/438 subtests failed. RPM build errors: make: *** [Makefile:968: test_dynamic] Error 255 error: Bad exit status from /var/tmp/rpm-tmp.oAisMj (%check) Bad exit status from /var/tmp/rpm-tmp.oAisMj (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, 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 loongarch64 --nodeps /builddir/build/SPECS/perl-Scalar-List-Utils.spec