Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/perl-JSON-MaybeXS.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-243740-83162/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/perl-JSON-MaybeXS.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/perl-JSON-MaybeXS-1.004008-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/perl-JSON-MaybeXS.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-243740-83162/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/perl-JSON-MaybeXS.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.d4aCxe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf JSON-MaybeXS-1.004008 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/JSON-MaybeXS-1.004008.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd JSON-MaybeXS-1.004008 + /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.IFvP3l + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd JSON-MaybeXS-1.004008 + perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 sh: line 1: gcc: command not found Couldn't execute gcc -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g "-I/usr/lib64/perl5/CORE" -fPIC -c HASCOMPILER8awI/TESTfkc5.c -o HASCOMPILER8awI/TESTfkc5.o: Inappropriate ioctl for device at Makefile.PL line 71. Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for JSON::MaybeXS + /usr/bin/make -O -j32 V=1 VERBOSE=1 cp lib/JSON/MaybeXS.pm blib/lib/JSON/MaybeXS.pm Manifying 1 pod document + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9xvN1u + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-JSON-MaybeXS-1.004008-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-JSON-MaybeXS-1.004008-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/perl-JSON-MaybeXS-1.004008-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-JSON-MaybeXS-1.004008-1.oc9.x86_64 + cd JSON-MaybeXS-1.004008 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/perl-JSON-MaybeXS-1.004008-1.oc9.x86_64 'INSTALL=/usr/bin/install -p' Manifying 1 pod document Installing /builddir/build/BUILDROOT/perl-JSON-MaybeXS-1.004008-1.oc9.x86_64/usr/share/perl5/vendor_perl/JSON/MaybeXS.pm Installing /builddir/build/BUILDROOT/perl-JSON-MaybeXS-1.004008-1.oc9.x86_64/usr/share/man/man3/JSON::MaybeXS.3pm + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w -c /builddir/build/BUILDROOT/perl-JSON-MaybeXS-1.004008-1.oc9.x86_64 mode of '/builddir/build/BUILDROOT/perl-JSON-MaybeXS-1.004008-1.oc9.x86_64/usr/share/perl5/vendor_perl/JSON/MaybeXS.pm' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of '/builddir/build/BUILDROOT/perl-JSON-MaybeXS-1.004008-1.oc9.x86_64/usr/share/man/man3/JSON::MaybeXS.3pm' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.004008-1.oc9 --unique-debug-suffix -1.004008-1.oc9.x86_64 --unique-debug-src-base perl-JSON-MaybeXS-1.004008-1.oc9.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/JSON-MaybeXS-1.004008 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.BPqAYH + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd JSON-MaybeXS-1.004008 + 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 Can't locate experimental.pm in @INC (you may need to install the experimental module) (@INC contains: /builddir/build/BUILD/JSON-MaybeXS-1.004008/blib/lib /builddir/build/BUILD/JSON-MaybeXS-1.004008/blib/arch /usr/local/lib64/perl5/5.36 /usr/local/share/perl5/5.36 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/perl5/if.pm line 15. BEGIN failed--compilation aborted at /builddir/build/BUILD/JSON-MaybeXS-1.004008/blib/lib/JSON/MaybeXS.pm line 56. Compilation failed in require at t/cpanel.t line 4. BEGIN failed--compilation aborted at t/cpanel.t line 4. t/cpanel.t .......... Dubious, test returned 2 (wstat 512, 0x200) No subtests run Can't locate experimental.pm in @INC (you may need to install the experimental module) (@INC contains: CODE(0x55eaf2a83818) /builddir/build/BUILD/JSON-MaybeXS-1.004008/blib/lib /builddir/build/BUILD/JSON-MaybeXS-1.004008/blib/arch /usr/local/lib64/perl5/5.36 /usr/local/share/perl5/5.36 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/perl5/if.pm line 15. BEGIN failed--compilation aborted at /builddir/build/BUILD/JSON-MaybeXS-1.004008/blib/lib/JSON/MaybeXS.pm line 56. Compilation failed in require at t/legacy.t line 11. BEGIN failed--compilation aborted at t/legacy.t line 11. t/legacy.t .......... Dubious, test returned 2 (wstat 512, 0x200) No subtests run Can't locate experimental.pm in @INC (you may need to install the experimental module) (@INC contains: /builddir/build/BUILD/JSON-MaybeXS-1.004008/blib/lib /builddir/build/BUILD/JSON-MaybeXS-1.004008/blib/arch /usr/local/lib64/perl5/5.36 /usr/local/share/perl5/5.36 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/perl5/if.pm line 15. BEGIN failed--compilation aborted at /builddir/build/BUILD/JSON-MaybeXS-1.004008/blib/lib/JSON/MaybeXS.pm line 56. Compilation failed in require at t/new.t line 4. BEGIN failed--compilation aborted at t/new.t line 4. t/new.t ............. Dubious, test returned 2 (wstat 512, 0x200) No subtests run t/none.t ............ ok Can't locate experimental.pm in @INC (you may need to install the experimental module) (@INC contains: CODE(0x55c593cda7d0) CODE(0x55c593d315c8) /builddir/build/BUILD/JSON-MaybeXS-1.004008/blib/lib /builddir/build/BUILD/JSON-MaybeXS-1.004008/blib/arch /usr/local/lib64/perl5/5.36 /usr/local/share/perl5/5.36 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/perl5/if.pm line 15. BEGIN failed--compilation aborted at /builddir/build/BUILD/JSON-MaybeXS-1.004008/blib/lib/JSON/MaybeXS.pm line 56. Compilation failed in require at t/pp.t line 12. BEGIN failed--compilation aborted at t/pp.t line 12. t/pp.t .............. Dubious, test returned 2 (wstat 512, 0x200) No subtests run Can't locate experimental.pm in @INC (you may need to install the experimental module) (@INC contains: /builddir/build/BUILD/JSON-MaybeXS-1.004008/blib/lib /builddir/build/BUILD/JSON-MaybeXS-1.004008/blib/arch /usr/local/lib64/perl5/5.36 /usr/local/share/perl5/5.36 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/perl5/if.pm line 15. BEGIN failed--compilation aborted at /builddir/build/BUILD/JSON-MaybeXS-1.004008/blib/lib/JSON/MaybeXS.pm line 56. Compilation failed in require at t/preload_cpanel.t line 6. BEGIN failed--compilation aborted at t/preload_cpanel.t line 6. t/preload_cpanel.t .. Dubious, test returned 2 (wstat 512, 0x200) No subtests run Can't locate experimental.pm in @INC (you may need to install the experimental module) (@INC contains: /builddir/build/BUILD/JSON-MaybeXS-1.004008/blib/lib /builddir/build/BUILD/JSON-MaybeXS-1.004008/blib/arch /usr/local/lib64/perl5/5.36 /usr/local/share/perl5/5.36 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/perl5/if.pm line 15. BEGIN failed--compilation aborted at /builddir/build/BUILD/JSON-MaybeXS-1.004008/blib/lib/JSON/MaybeXS.pm line 56. Compilation failed in require at t/preload_xs.t line 6. BEGIN failed--compilation aborted at t/preload_xs.t line 6. t/preload_xs.t ...... Dubious, test returned 2 (wstat 512, 0x200) No subtests run Can't locate experimental.pm in @INC (you may need to install the experimental module) (@INC contains: CODE(0x561a78b84808) /builddir/build/BUILD/JSON-MaybeXS-1.004008/blib/lib /builddir/build/BUILD/JSON-MaybeXS-1.004008/blib/arch /usr/local/lib64/perl5/5.36 /usr/local/share/perl5/5.36 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/perl5/if.pm line 15. BEGIN failed--compilation aborted at /builddir/build/BUILD/JSON-MaybeXS-1.004008/blib/lib/JSON/MaybeXS.pm line 56. Compilation failed in require at t/xs.t line 11. BEGIN failed--compilation aborted at t/xs.t line 11. t/xs.t .............. Dubious, test returned 2 (wstat 512, 0x200) No subtests run Test Summary Report ------------------- t/cpanel.t (Wstat: 512 (exited 2) Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/legacy.t (Wstat: 512 (exited 2) Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/new.t (Wstat: 512 (exited 2) Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/pp.t (Wstat: 512 (exited 2) Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/preload_cpanel.t (Wstat: 512 (exited 2) Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/preload_xs.t (Wstat: 512 (exited 2) Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output t/xs.t (Wstat: 512 (exited 2) Tests: 0 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=8, Tests=2, 1 wallclock secs ( 0.02 usr 0.01 sys + 0.35 cusr 0.04 csys = 0.42 CPU) Result: FAIL Failed 7/8 test programs. 0/2 subtests failed. make: *** [Makefile:745: test_dynamic] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.BPqAYH (%check) Bad exit status from /var/tmp/rpm-tmp.BPqAYH (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/perl-JSON-MaybeXS.spec\n', 1)] 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 597, 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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/perl-JSON-MaybeXS.spec