Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/perl-Digest.spec'], chrootPath='/var/lib/mock/module-perl-5.30-8040020211118155107-3d27a66e-build-55895-28039/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 noarch --nodeps /builddir/build/SPECS/perl-Digest.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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/perl-Digest-1.17-396.module+an8.4.0+10497+c055a222.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/perl-Digest.spec'], chrootPath='/var/lib/mock/module-perl-5.30-8040020211118155107-3d27a66e-build-55895-28039/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 noarch --nodeps /builddir/build/SPECS/perl-Digest.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tUoTli + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Digest-1.17 + /usr/bin/gzip -dc /builddir/build/SOURCES/Digest-1.17.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Digest-1.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (Digest-0.17-CVE-2016-1238-prevent-loading-optional-modules-from-.patch):' Patch #0 (Digest-0.17-CVE-2016-1238-prevent-loading-optional-modules-from-.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Digest.pm Hunk #1 succeeded at 38 (offset -4 lines). + chmod -x digest-bench + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.exHGBN + umask 022 + cd /builddir/build/BUILD + cd Digest-1.17 + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Digest + make -j4 cp Digest.pm blib/lib/Digest.pm cp Digest/base.pm blib/lib/Digest/base.pm cp Digest/file.pm blib/lib/Digest/file.pm Manifying 3 pod documents + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.K8cLTi + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Digest-1.17-396.module+an8.4.0+10497+c055a222.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Digest-1.17-396.module+an8.4.0+10497+c055a222.noarch ++ dirname /builddir/build/BUILDROOT/perl-Digest-1.17-396.module+an8.4.0+10497+c055a222.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Digest-1.17-396.module+an8.4.0+10497+c055a222.noarch + cd Digest-1.17 + make pure_install PERL_INSTALL_ROOT=/builddir/build/BUILDROOT/perl-Digest-1.17-396.module+an8.4.0+10497+c055a222.noarch Manifying 3 pod documents Installing /builddir/build/BUILDROOT/perl-Digest-1.17-396.module+an8.4.0+10497+c055a222.noarch/usr/share/perl5/vendor_perl/Digest.pm Installing /builddir/build/BUILDROOT/perl-Digest-1.17-396.module+an8.4.0+10497+c055a222.noarch/usr/share/perl5/vendor_perl/Digest/file.pm Installing /builddir/build/BUILDROOT/perl-Digest-1.17-396.module+an8.4.0+10497+c055a222.noarch/usr/share/perl5/vendor_perl/Digest/base.pm Installing /builddir/build/BUILDROOT/perl-Digest-1.17-396.module+an8.4.0+10497+c055a222.noarch/usr/share/man/man3/Digest::file.3pm Installing /builddir/build/BUILDROOT/perl-Digest-1.17-396.module+an8.4.0+10497+c055a222.noarch/usr/share/man/man3/Digest.3pm Installing /builddir/build/BUILDROOT/perl-Digest-1.17-396.module+an8.4.0+10497+c055a222.noarch/usr/share/man/man3/Digest::base.3pm + find /builddir/build/BUILDROOT/perl-Digest-1.17-396.module+an8.4.0+10497+c055a222.noarch -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl-Digest-1.17-396.module+an8.4.0+10497+c055a222.noarch -depth -type d -exec rmdir '{}' ';' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Digest-1.17-396.module+an8.4.0+10497+c055a222.noarch/usr + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.17-396.module+an8.4.0+10497+c055a222 --unique-debug-suffix -1.17-396.module+an8.4.0+10497+c055a222.noarch --unique-debug-src-base perl-Digest-1.17-396.module+an8.4.0+10497+c055a222.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Digest-1.17 + /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.9xgadO + umask 022 + cd /builddir/build/BUILD + cd Digest-1.17 + 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 Base64.c: loadable library and perl binaries are mismatched (got handshake key 0xe300080, needed 0xe280080) t/base.t ...... Dubious, test returned 1 (wstat 256, 0x100) Failed 10/12 subtests t/digest.t .... ok Base64.c: loadable library and perl binaries are mismatched (got handshake key 0xe300080, needed 0xe280080) t/file.t ...... Dubious, test returned 1 (wstat 256, 0x100) Failed 3/5 subtests t/security.t .. ok Test Summary Report ------------------- t/base.t (Wstat: 256 Tests: 2 Failed: 0) Non-zero exit status: 1 Parse errors: Bad plan. You planned 12 tests but ran 2. t/file.t (Wstat: 256 Tests: 2 Failed: 0) Non-zero exit status: 1 Parse errors: Bad plan. You planned 5 tests but ran 2. Files=4, Tests=9, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.25 cusr 0.02 csys = 0.29 CPU) Result: FAIL Failed 2/4 test programs. 0/9 subtests failed. make: *** [Makefile:785: test_dynamic] Error 255 error: Bad exit status from /var/tmp/rpm-tmp.9xgadO (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.9xgadO (%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 noarch --nodeps /builddir/build/SPECS/perl-Digest.spec