Mock Version: 1.1.41 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/perl-Readonly.spec'], False, '/var/lib/mock/epel-7-x86_64-mockbuilder-1659/root/', None, 0, True, False, 500, 135, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'CCACHE_UMASK': '002'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/perl-Readonly.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'CCACHE_UMASK': '002'} error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) sh: scl: command not found sh: /opt/rh/perl516/root/usr/bin/perl: No such file or directory sh: /opt/rh/perl516/root/usr/bin/perl: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/perl516-perl-Readonly-1.03-25.el7.centos.src.rpm warning: Could not canonicalize hostname: i-00012d05 error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/perl-Readonly.spec'], False, '/var/lib/mock/epel-7-x86_64-mockbuilder-1659/root/', None, 0, True, False, 500, 135, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'CCACHE_UMASK': '002'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/perl-Readonly.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'CCACHE_UMASK': '002'} error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HTZaVX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Readonly-1.03 + /usr/bin/gzip -dc /builddir/build/SOURCES/Readonly-1.03.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd Readonly-1.03 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (Readonly-1.03-interpreter.patch):' Patch #0 (Readonly-1.03-interpreter.patch): + /usr/bin/cat /builddir/build/SOURCES/Readonly-1.03-interpreter.patch + /usr/bin/patch -p0 --fuzz=0 patching file t/array.t patching file t/deepa.t patching file t/deeph.t patching file t/deeps.t patching file t/docs.t patching file t/export.t patching file t/hash.t patching file t/readonly.t patching file t/reassign.t patching file t/scalar.t patching file t/tie.t + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.W9o1EF + umask 022 + cd /builddir/build/BUILD + cd Readonly-1.03 + scl enable perl516 ' perl Makefile.PL INSTALLDIRS=vendor ' Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Readonly + scl enable perl516 ' make -j3 ' cp benchmark.pl blib/lib/benchmark.pl cp Readonly.pm blib/lib/Readonly.pm Manifying blib/man3/Readonly.3pm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Vg0Jso + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl516-perl-Readonly-1.03-25.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl516-perl-Readonly-1.03-25.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/perl516-perl-Readonly-1.03-25.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl516-perl-Readonly-1.03-25.el7.centos.x86_64 + cd Readonly-1.03 + rm -rf /builddir/build/BUILDROOT/perl516-perl-Readonly-1.03-25.el7.centos.x86_64 + scl enable perl516 ' make pure_install DESTDIR=/builddir/build/BUILDROOT/perl516-perl-Readonly-1.03-25.el7.centos.x86_64 ' Manifying blib/man3/Readonly.3pm Installing /builddir/build/BUILDROOT/perl516-perl-Readonly-1.03-25.el7.centos.x86_64/opt/rh/perl516/root/usr/share/perl5/vendor_perl/benchmark.pl Installing /builddir/build/BUILDROOT/perl516-perl-Readonly-1.03-25.el7.centos.x86_64/opt/rh/perl516/root/usr/share/perl5/vendor_perl/Readonly.pm Installing /builddir/build/BUILDROOT/perl516-perl-Readonly-1.03-25.el7.centos.x86_64/opt/rh/perl516/root/usr/share/man/man3/Readonly.3pm + find /builddir/build/BUILDROOT/perl516-perl-Readonly-1.03-25.el7.centos.x86_64 -type f -name .packlist -exec rm -f '{}' ';' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl516-perl-Readonly-1.03-25.el7.centos.x86_64 + mv /builddir/build/BUILDROOT/perl516-perl-Readonly-1.03-25.el7.centos.x86_64/opt/rh/perl516/root/usr/share/perl5/vendor_perl/benchmark.pl . + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/Readonly-1.03 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-scl-compress /opt/rh/perl516/root + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-scl-python-bytecompile /usr/bin/python 1 /opt/rh/perl516/root + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.wRg537 + umask 022 + cd /builddir/build/BUILD + cd Readonly-1.03 + scl enable perl516 ' make test ' PERL_DL_NONLAZY=1 /opt/rh/perl516/root/usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/array.t ..... ok t/deepa.t ..... ok t/deeph.t ..... ok t/deeps.t ..... ok t/docs.t ...... ok t/export.t .... ok t/hash.t ...... ok t/readonly.t .. ok t/reassign.t .. ok t/scalar.t .... ok t/tie.t ....... ok All tests successful. Files=11, Tests=170, 0 wallclock secs ( 0.05 usr 0.02 sys + 0.21 cusr 0.04 csys = 0.32 CPU) Result: PASS Processing files: perl516-perl-Readonly-1.03-25.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nzTQdT + exit 0 + umask 022 + cd /builddir/build/BUILD + cd Readonly-1.03 + DOCDIR=/builddir/build/BUILDROOT/perl516-perl-Readonly-1.03-25.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Readonly-1.03 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl516-perl-Readonly-1.03-25.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Readonly-1.03 + cp -pr Changes /builddir/build/BUILDROOT/perl516-perl-Readonly-1.03-25.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Readonly-1.03 + cp -pr README /builddir/build/BUILDROOT/perl516-perl-Readonly-1.03-25.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Readonly-1.03 + cp -pr benchmark.pl /builddir/build/BUILDROOT/perl516-perl-Readonly-1.03-25.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Readonly-1.03 + cp -pr t/ /builddir/build/BUILDROOT/perl516-perl-Readonly-1.03-25.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Readonly-1.03 + exit 0 Provides: perl516-perl(Readonly) = 1.03 perl516-perl(Readonly::Array) perl516-perl(Readonly::Hash) perl516-perl(Readonly::Scalar) perl516-perl-Readonly = 1.03-25.el7.centos perl516-perl-Readonly-tests = 1.03-25.el7.centos scl-package(perl516) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: perl516-perl >= 0:5.005 perl516-perl(Exporter) perl516-perl(strict) perl516-perl(vars) Obsoletes: perl516-perl-Readonly-tests < 1.03-25.el7.centos Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl516-perl-Readonly-1.03-25.el7.centos.x86_64 warning: Could not canonicalize hostname: i-00012d05 Wrote: /builddir/build/RPMS/perl516-perl-Readonly-1.03-25.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Br7Oms + umask 022 + cd /builddir/build/BUILD + cd Readonly-1.03 + rm -rf /builddir/build/BUILDROOT/perl516-perl-Readonly-1.03-25.el7.centos.x86_64 + exit 0 error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) Child return code was: 0 LEAVE do -->