Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/perl-Devel-CheckLib.spec'], chrootPath='/var/lib/mock/rocky-9-s390x/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=0uid=1004gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/perl-Devel-CheckLib.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1628467200 Wrote: /builddir/build/SRPMS/perl-Devel-CheckLib-1.14-8.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/perl-Devel-CheckLib.spec'], chrootPath='/var/lib/mock/rocky-9-s390x/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=0uid=1004gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/perl-Devel-CheckLib.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1628467200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wHwYag + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Devel-CheckLib-1.14 + /usr/bin/gzip -dc /builddir/build/SOURCES/Devel-CheckLib-1.14.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Devel-CheckLib-1.14 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.M5Hbwm + umask 022 + cd /builddir/build/BUILD + cd Devel-CheckLib-1.14 + perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 Warning: prerequisite Mock::Config 0.02 not found. Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Devel::CheckLib Writing MYMETA.yml and MYMETA.json + make -j10 cp lib/Devel/CheckLib.pm blib/lib/Devel/CheckLib.pm cp bin/use-devel-checklib blib/script/use-devel-checklib "/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/use-devel-checklib Manifying 1 pod document Manifying 1 pod document + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KCGQyv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Devel-CheckLib-1.14-8.el9.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Devel-CheckLib-1.14-8.el9.s390x ++ dirname /builddir/build/BUILDROOT/perl-Devel-CheckLib-1.14-8.el9.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Devel-CheckLib-1.14-8.el9.s390x + cd Devel-CheckLib-1.14 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Devel-CheckLib-1.14-8.el9.s390x Manifying 1 pod document Manifying 1 pod document Installing /builddir/build/BUILDROOT/perl-Devel-CheckLib-1.14-8.el9.s390x/usr/share/perl5/vendor_perl/Devel/CheckLib.pm Installing /builddir/build/BUILDROOT/perl-Devel-CheckLib-1.14-8.el9.s390x/usr/share/man/man1/use-devel-checklib.1 Installing /builddir/build/BUILDROOT/perl-Devel-CheckLib-1.14-8.el9.s390x/usr/share/man/man3/Devel::CheckLib.3pm Installing /builddir/build/BUILDROOT/perl-Devel-CheckLib-1.14-8.el9.s390x/usr/bin/use-devel-checklib + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Devel-CheckLib-1.14-8.el9.s390x/usr + /usr/lib/rpm/find-debuginfo.sh -j10 --strict-build-id -m -i --build-id-seed 1.14-8.el9 --unique-debug-suffix -1.14-8.el9.s390x --unique-debug-src-base perl-Devel-CheckLib-1.14-8.el9.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Devel-CheckLib-1.14 + /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 '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.8WHNa1 + umask 022 + cd /builddir/build/BUILD + cd Devel-CheckLib-1.14 + make test 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/00-load.t ................... ok t/analyze-binary.t ............ ok Subroutine Config::STORE redefined at t/bad-single-word-compiler.t line 19. t/bad-single-word-compiler.t .. ok # Failed test 'linked OK: LIBS=-lm' # at t/cmdline-LIBS-INC.t line 49. # STDOUT: # STDERR: Can't locate blib.pm in @INC (you may need to install the blib module) (@INC contains: /builddir/build/BUILD/Devel-CheckLib-1.14/blib/lib /builddir/build/BUILD/Devel-CheckLib-1.14/blib/arch /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .). # BEGIN failed--compilation aborted. # # Failed test 'linked OK: LIBS=-lm, LIBS=-lbazbam, LIBS=-LDevel-Assert-testlib-e2gbxVXK' # at t/cmdline-LIBS-INC.t line 63. # STDOUT: # STDERR: Can't locate blib.pm in @INC (you may need to install the blib module) (@INC contains: /builddir/build/BUILD/Devel-CheckLib-1.14/blib/lib /builddir/build/BUILD/Devel-CheckLib-1.14/blib/arch /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .). # BEGIN failed--compilation aborted. # # Failed test 'linked OK: "LIBS=-lm -lbazbam -LDevel-Assert-testlib-e2gbxVXK"' # at t/cmdline-LIBS-INC.t line 77. # STDOUT: # STDERR: Can't locate blib.pm in @INC (you may need to install the blib module) (@INC contains: /builddir/build/BUILD/Devel-CheckLib-1.14/blib/lib /builddir/build/BUILD/Devel-CheckLib-1.14/blib/arch /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .). # BEGIN failed--compilation aborted. # # Looks like you failed 3 tests of 3. t/cmdline-LIBS-INC.t .......... Dubious, test returned 3 (wstat 768, 0x300) Failed 3/3 subtests t/custom-function.t ........... ok t/dash-l-libs.t ............... ok t/exit_with_message.t ......... ok t/flags.t ..................... ok t/found.t ..................... ok t/headers.t ................... ok Subroutine Config::STORE redefined at t/multi-word-compiler.t line 19. t/multi-word-compiler.t ....... ok t/not_found.t ................. ok Test Summary Report ------------------- t/cmdline-LIBS-INC.t (Wstat: 768 Tests: 3 Failed: 3) Failed tests: 1-3 Non-zero exit status: 3 Files=12, Tests=42, 3 wallclock secs ( 0.02 usr 0.00 sys + 2.34 cusr 0.92 csys = 3.28 CPU) Result: FAIL Failed 1/12 test programs. 3/42 subtests failed. make: *** [Makefile:886: test_dynamic] Error 255 error: Bad exit status from /var/tmp/rpm-tmp.8WHNa1 (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.8WHNa1 (%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 599, 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 s390x --nodeps /builddir/build/SPECS/perl-Devel-CheckLib.spec