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-version.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-41242-21227/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-version.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 Wrote: /builddir/build/SRPMS/perl-version-0.99.24-1.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-version.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-41242-21227/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-version.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.2xtiiS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf version-0.9924 + /usr/bin/gzip -dc /builddir/build/SOURCES/version-0.9924.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd version-0.9924 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Q9wwpI + umask 022 + cd /builddir/build/BUILD + cd version-0.9924 + perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -g' UNINST=0 NO_PACKLIST=1 Testing if you have a C compiler Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for version + make -j4 make[1]: Entering directory '/builddir/build/BUILD/version-0.9924/vutil' Running Mkbootstrap for vxs () "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' vxs.xs > vxs.xsc cp lib/version.pm blib/lib/version.pm cp lib/version/regex.pm blib/lib/version/regex.pm cp lib/version/Internals.pod blib/lib/version/Internals.pod cp vperl/vpp.pm blib/lib/version/vpp.pm cp lib/version.pod blib/lib/version.pod chmod 644 "vxs.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- vxs.bs ../blib/arch/auto/version/vxs/vxs.bs 644 cp lib/version/vxs.pm ../blib/lib/version/vxs.pm mv vxs.xsc vxs.c loongarch64-redhat-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=\"0.9924\" -DXS_VERSION=\"0.9924\" -fPIC "-I/usr/lib64/perl5/CORE" vxs.c rm -f ../blib/arch/auto/version/vxs/vxs.so loongarch64-redhat-linux-gnu-gcc -lpthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong vxs.o -o ../blib/arch/auto/version/vxs/vxs.so \ -lperl \ chmod 755 ../blib/arch/auto/version/vxs/vxs.so make[1]: Leaving directory '/builddir/build/BUILD/version-0.9924/vutil' Manifying 2 pod documents + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.l1fYEy + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-version-0.99.24-1.el8.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-version-0.99.24-1.el8.loongarch64 ++ dirname /builddir/build/BUILDROOT/perl-version-0.99.24-1.el8.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-version-0.99.24-1.el8.loongarch64 + cd version-0.9924 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-version-0.99.24-1.el8.loongarch64 make[1]: Entering directory '/builddir/build/BUILD/version-0.9924/vutil' "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- vxs.bs ../blib/arch/auto/version/vxs/vxs.bs 644 make[1]: Leaving directory '/builddir/build/BUILD/version-0.9924/vutil' Manifying 2 pod documents Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-version-0.99.24-1.el8.loongarch64/usr/lib64/perl5/vendor_perl/auto/version/vxs/vxs.so Installing /builddir/build/BUILDROOT/perl-version-0.99.24-1.el8.loongarch64/usr/lib64/perl5/vendor_perl/version.pm Installing /builddir/build/BUILDROOT/perl-version-0.99.24-1.el8.loongarch64/usr/lib64/perl5/vendor_perl/version.pod Installing /builddir/build/BUILDROOT/perl-version-0.99.24-1.el8.loongarch64/usr/lib64/perl5/vendor_perl/version/vxs.pm Installing /builddir/build/BUILDROOT/perl-version-0.99.24-1.el8.loongarch64/usr/lib64/perl5/vendor_perl/version/Internals.pod Installing /builddir/build/BUILDROOT/perl-version-0.99.24-1.el8.loongarch64/usr/lib64/perl5/vendor_perl/version/vpp.pm Installing /builddir/build/BUILDROOT/perl-version-0.99.24-1.el8.loongarch64/usr/lib64/perl5/vendor_perl/version/regex.pm Installing /builddir/build/BUILDROOT/perl-version-0.99.24-1.el8.loongarch64/usr/share/man/man3/version::Internals.3pm Installing /builddir/build/BUILDROOT/perl-version-0.99.24-1.el8.loongarch64/usr/share/man/man3/version.3pm + find /builddir/build/BUILDROOT/perl-version-0.99.24-1.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-version-0.99.24-1.el8.loongarch64/usr + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.99.24-1.el8 --unique-debug-suffix -0.99.24-1.el8.loongarch64 --unique-debug-src-base perl-version-0.99.24-1.el8.loongarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/version-0.9924 extracting debug info from /builddir/build/BUILDROOT/perl-version-0.99.24-1.el8.loongarch64/usr/lib64/perl5/vendor_perl/auto/version/vxs/vxs.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 437 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.qFHgWo + umask 022 + cd /builddir/build/BUILD + cd version-0.9924 + make test make[1]: Entering directory '/builddir/build/BUILD/version-0.9924/vutil' "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- vxs.bs ../blib/arch/auto/version/vxs/vxs.bs 644 make[1]: Leaving directory '/builddir/build/BUILD/version-0.9924/vutil' make[1]: Entering directory '/builddir/build/BUILD/version-0.9924/vutil' "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- vxs.bs ../blib/arch/auto/version/vxs/vxs.bs 644 No tests defined for version::vxs extension. make[1]: Leaving directory '/builddir/build/BUILD/version-0.9924/vutil' 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/00impl-pp.t ..... ok vxs.c: loadable library and perl binaries are mismatched (got handshake key 0xe280080, needed 0xe300080) t/01base.t ........ Dubious, test returned 1 (wstat 256, 0x100) No subtests run vxs.c: loadable library and perl binaries are mismatched (got handshake key 0xe280080, needed 0xe300080) t/02derived.t ..... Dubious, test returned 1 (wstat 256, 0x100) No subtests run vxs.c: loadable library and perl binaries are mismatched (got handshake key 0xe280080, needed 0xe300080) t/03require.t ..... Dubious, test returned 1 (wstat 256, 0x100) No subtests run vxs.c: loadable library and perl binaries are mismatched (got handshake key 0xe280080, needed 0xe300080) t/04strict_lax.t .. Dubious, test returned 1 (wstat 256, 0x100) No subtests run vxs.c: loadable library and perl binaries are mismatched (got handshake key 0xe280080, needed 0xe300080) t/05sigdie.t ...... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests vxs.c: loadable library and perl binaries are mismatched (got handshake key 0xe280080, needed 0xe300080) t/06noop.t ........ Dubious, test returned 1 (wstat 256, 0x100) No subtests run vxs.c: loadable library and perl binaries are mismatched (got handshake key 0xe280080, needed 0xe300080) t/07locale.t ...... Dubious, test returned 1 (wstat 256, 0x100) Failed 8/8 subtests vxs.c: loadable library and perl binaries are mismatched (got handshake key 0xe280080, needed 0xe300080) t/08_corelist.t ... Dubious, test returned 1 (wstat 256, 0x100) Failed 3/3 subtests vxs.c: loadable library and perl binaries are mismatched (got handshake key 0xe280080, needed 0xe300080) t/09_list_util.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 3/3 subtests vxs.c: loadable library and perl binaries are mismatched (got handshake key 0xe280080, needed 0xe300080) t/10_lyon.t ....... Dubious, test returned 1 (wstat 256, 0x100) No subtests run vxs.c: loadable library and perl binaries are mismatched (got handshake key 0xe280080, needed 0xe300080) t/11_taint.t ...... Dubious, test returned 1 (wstat 256, 0x100) No subtests run Test Summary Report ------------------- t/01base.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: No plan found in TAP output t/02derived.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: No plan found in TAP output t/03require.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: No plan found in TAP output t/04strict_lax.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: No plan found in TAP output t/05sigdie.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: Bad plan. You planned 1 tests but ran 0. t/06noop.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: No plan found in TAP output t/07locale.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: Bad plan. You planned 8 tests but ran 0. t/08_corelist.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: Bad plan. You planned 3 tests but ran 0. t/09_list_util.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: Bad plan. You planned 3 tests but ran 0. t/10_lyon.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: No plan found in TAP output t/11_taint.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: No plan found in TAP output Files=12, Tests=641, 1 wallclock secs ( 0.08 usr 0.00 sys + 1.18 cusr 0.12 csys = 1.38 CPU) Result: FAIL Failed 11/12 test programs. 0/641 subtests failed. make: *** [Makefile:847: test_dynamic] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.qFHgWo (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.qFHgWo (%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-version.spec