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 noarch --nodeps /builddir/build/SPECS/cloc.spec'], chrootPath='/var/lib/mock/dist-oc8-build-56856-15121/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=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/cloc.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/cloc-1.90-3.oc8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/cloc.spec'], chrootPath='/var/lib/mock/dist-oc8-build-56856-15121/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=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/cloc.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.tOdSpI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cloc-1.90/Unix + /usr/bin/gzip -dc /builddir/build/SOURCES/cloc-v1.90.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cloc-1.90/Unix + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.c8uWnN + umask 022 + cd /builddir/build/BUILD + cd cloc-1.90/Unix + make -j32 make -f pod2man.mk PACKAGE=cloc makeman make[1]: Entering directory '/builddir/build/BUILD/cloc-1.90/Unix' # make target - create manual page from a *.pod page podchecker cloc.1.pod cloc.1.pod pod syntax OK. LC_ALL= LANG=C pod2man --utf8 \ --center="User Commands" \ --date="$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" "+%Y-%m-%d")" \ --name="cloc" \ --section="1" \ cloc.1.pod \ | sed 's,[Pp]erl v[0-9.]\+,cloc,' \ > cloc.1 && \ rm -f pod*.tmp make[1]: Leaving directory '/builddir/build/BUILD/cloc-1.90/Unix' Nothing to compile for a Perl script. Try 'make help' or 'make -n DESTDIR= prefix=/usr/local install' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tdOyzv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cloc-1.90-3.oc8.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cloc-1.90-3.oc8.noarch ++ dirname /builddir/build/BUILDROOT/cloc-1.90-3.oc8.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cloc-1.90-3.oc8.noarch + cd cloc-1.90/Unix + make install DESTDIR=/builddir/build/BUILDROOT/cloc-1.90-3.oc8.noarch # perl-test - Check syntax perl -cw cloc Can't locate Regexp/Common.pm in @INC (you may need to install the Regexp::Common module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at cloc line 59. BEGIN failed--compilation aborted at cloc line 59. make: *** [Makefile:89: test-perl] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.tdOyzv (%install) Bad exit status from /var/tmp/rpm-tmp.tdOyzv (%install) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/cloc.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 noarch --nodeps /builddir/build/SPECS/cloc.spec