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-threads-shared.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-38413-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-threads-shared.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 Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/perl-threads-shared-1.58-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-threads-shared.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-38413-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-threads-shared.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.QopPMn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf threads-shared-1.58 + /usr/bin/gzip -dc /builddir/build/SOURCES/threads-shared-1.58.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd threads-shared-1.58 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vzLy8H + umask 022 + cd /builddir/build/BUILD + cd threads-shared-1.58 + perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 'OPTIMIZE=-O2 -g' Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for threads::shared + make -j4 Running Mkbootstrap for shared () "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' shared.xs > shared.xsc chmod 644 "shared.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- shared.bs blib/arch/auto/threads/shared/shared.bs 644 cp lib/threads/shared.pm blib/lib/threads/shared.pm mv shared.xsc shared.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.58\" -DXS_VERSION=\"1.58\" -fPIC "-I/usr/lib64/perl5/CORE" -DHAS_PPPORT_H shared.c rm -f blib/arch/auto/threads/shared/shared.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 shared.o -o blib/arch/auto/threads/shared/shared.so \ -lpthread -lperl \ chmod 755 blib/arch/auto/threads/shared/shared.so Manifying 1 pod document + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.n1hhD2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-threads-shared-1.58-2.el8.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-threads-shared-1.58-2.el8.loongarch64 ++ dirname /builddir/build/BUILDROOT/perl-threads-shared-1.58-2.el8.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-threads-shared-1.58-2.el8.loongarch64 + cd threads-shared-1.58 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-threads-shared-1.58-2.el8.loongarch64 "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- shared.bs blib/arch/auto/threads/shared/shared.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-threads-shared-1.58-2.el8.loongarch64/usr/lib64/perl5/vendor_perl/auto/threads/shared/shared.so Installing /builddir/build/BUILDROOT/perl-threads-shared-1.58-2.el8.loongarch64/usr/lib64/perl5/vendor_perl/threads/shared.pm Installing /builddir/build/BUILDROOT/perl-threads-shared-1.58-2.el8.loongarch64/usr/share/man/man3/threads::shared.3pm + find /builddir/build/BUILDROOT/perl-threads-shared-1.58-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-threads-shared-1.58-2.el8.loongarch64/usr + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.58-2.el8 --unique-debug-suffix -1.58-2.el8.loongarch64 --unique-debug-src-base perl-threads-shared-1.58-2.el8.loongarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/threads-shared-1.58 extracting debug info from /builddir/build/BUILDROOT/perl-threads-shared-1.58-2.el8.loongarch64/usr/lib64/perl5/vendor_perl/auto/threads/shared/shared.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 560 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.2iFY9m + umask 022 + cd /builddir/build/BUILD + cd threads-shared-1.58 + make test "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- shared.bs blib/arch/auto/threads/shared/shared.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 # Testing threads::shared 1.58 t/0nothread.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/av_refs.t line 33. BEGIN failed--compilation aborted at t/av_refs.t line 33. t/av_refs.t ...... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 14/14 subtests 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/av_simple.t line 33. BEGIN failed--compilation aborted at t/av_simple.t line 33. t/av_simple.t .... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 47/47 subtests 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/blessed.t line 33. BEGIN failed--compilation aborted at t/blessed.t line 33. t/blessed.t ...... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 37/37 subtests 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/clone.t line 35. BEGIN failed--compilation aborted at t/clone.t line 35. t/clone.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 40/40 subtests 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/cond.t line 35. BEGIN failed--compilation aborted at t/cond.t line 35. t/cond.t ......... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 32/32 subtests t/disabled.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 19. BEGIN failed--compilation aborted at t/dualvar.t line 19. t/dualvar.t ...... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 226/226 subtests 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/hv_refs.t line 33. BEGIN failed--compilation aborted at t/hv_refs.t line 33. t/hv_refs.t ...... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 20/20 subtests 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/hv_simple.t line 33. BEGIN failed--compilation aborted at t/hv_simple.t line 33. t/hv_simple.t .... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 16/16 subtests 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/no_share.t line 39. BEGIN failed--compilation aborted at t/no_share.t line 39. t/no_share.t ..... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 6/6 subtests 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/object.t line 23. BEGIN failed--compilation aborted at t/object.t line 23. t/object.t ....... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 28/28 subtests 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/object2.t line 23. BEGIN failed--compilation aborted at t/object2.t line 23. t/object2.t ...... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 133/133 subtests t/pod.t .......... skipped: Module maintainer tests 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/shared_attr.t line 36. BEGIN failed--compilation aborted at t/shared_attr.t line 36. t/shared_attr.t .. Dubious, test returned 255 (wstat 65280, 0xff00) Failed 101/101 subtests 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/stress.t line 31. BEGIN failed--compilation aborted at t/stress.t line 31. t/stress.t ....... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/1 subtests 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/sv_refs.t line 33. BEGIN failed--compilation aborted at t/sv_refs.t line 33. t/sv_refs.t ...... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 21/21 subtests 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/sv_simple.t line 33. BEGIN failed--compilation aborted at t/sv_simple.t line 33. t/sv_simple.t .... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 11/11 subtests 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/utf8.t line 41. BEGIN failed--compilation aborted at t/utf8.t line 41. t/utf8.t ......... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 12/12 subtests 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/wait.t line 38. BEGIN failed--compilation aborted at t/wait.t line 38. t/wait.t ......... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 91/91 subtests 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/waithires.t line 48. BEGIN failed--compilation aborted at t/waithires.t line 48. t/waithires.t .... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 63/63 subtests Test Summary Report ------------------- t/av_refs.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 14 tests but ran 0. t/av_simple.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 47 tests but ran 0. t/blessed.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 37 tests but ran 0. t/clone.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 40 tests but ran 0. t/cond.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 32 tests but ran 0. t/dualvar.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 226 tests but ran 0. t/hv_refs.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 20 tests but ran 0. t/hv_simple.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 16 tests but ran 0. t/no_share.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 6 tests but ran 0. t/object.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 28 tests but ran 0. t/object2.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 133 tests but ran 0. t/shared_attr.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 101 tests but ran 0. t/stress.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 1 tests but ran 0. t/sv_refs.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 21 tests but ran 0. t/sv_simple.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 11 tests but ran 0. t/utf8.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 12 tests but ran 0. t/wait.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 91 tests but ran 0. t/waithires.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 63 tests but ran 0. Files=21, Tests=80, 1 wallclock secs ( 0.05 usr 0.01 sys + 0.57 cusr 0.05 csys = 0.68 CPU) Result: FAIL Failed 18/21 test programs. 0/80 subtests failed. make: *** [Makefile:955: test_dynamic] Error 255 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.2iFY9m (%check) Bad exit status from /var/tmp/rpm-tmp.2iFY9m (%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-threads-shared.spec