Mock Version: 1.1.41 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/perl-autodie.spec'], False, '/var/lib/mock/epel-7-x86_64-mockbuilder-1700/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-autodie.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 warning: Could not canonicalize hostname: i-00012cc3 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/perl516-perl-autodie-2.22-3.el7.centos.src.rpm 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-autodie.spec'], False, '/var/lib/mock/epel-7-x86_64-mockbuilder-1700/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-autodie.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.jDSwN2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf autodie-2.22 + /usr/bin/gzip -dc /builddir/build/SOURCES/autodie-2.22.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd autodie-2.22 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find -type f -exec chmod -x '{}' + + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jaAd11 + umask 022 + cd /builddir/build/BUILD + cd autodie-2.22 + scl enable perl516 ' perl Makefile.PL INSTALLDIRS=vendor ' Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for autodie + scl enable perl516 ' make -j3 ' cp lib/Fatal.pm blib/lib/Fatal.pm cp lib/autodie/exception.pm blib/lib/autodie/exception.pm cp lib/autodie/skip.pm blib/lib/autodie/skip.pm cp lib/autodie/hints.pm blib/lib/autodie/hints.pm cp lib/autodie/exception/system.pm blib/lib/autodie/exception/system.pm cp lib/autodie.pm blib/lib/autodie.pm Manifying blib/man3/Fatal.3pm Manifying blib/man3/autodie.3pm Manifying blib/man3/autodie::exception.3pm Manifying blib/man3/autodie::exception::system.3pm Manifying blib/man3/autodie::hints.3pm Manifying blib/man3/autodie::skip.3pm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rJX8v2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl516-perl-autodie-2.22-3.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl516-perl-autodie-2.22-3.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/perl516-perl-autodie-2.22-3.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl516-perl-autodie-2.22-3.el7.centos.x86_64 + cd autodie-2.22 + scl enable perl516 ' make pure_install DESTDIR=/builddir/build/BUILDROOT/perl516-perl-autodie-2.22-3.el7.centos.x86_64 ' Installing /builddir/build/BUILDROOT/perl516-perl-autodie-2.22-3.el7.centos.x86_64/opt/rh/perl516/root/usr/share/perl5/vendor_perl/Fatal.pm Installing /builddir/build/BUILDROOT/perl516-perl-autodie-2.22-3.el7.centos.x86_64/opt/rh/perl516/root/usr/share/perl5/vendor_perl/autodie.pm Installing /builddir/build/BUILDROOT/perl516-perl-autodie-2.22-3.el7.centos.x86_64/opt/rh/perl516/root/usr/share/perl5/vendor_perl/autodie/hints.pm Installing /builddir/build/BUILDROOT/perl516-perl-autodie-2.22-3.el7.centos.x86_64/opt/rh/perl516/root/usr/share/perl5/vendor_perl/autodie/skip.pm Installing /builddir/build/BUILDROOT/perl516-perl-autodie-2.22-3.el7.centos.x86_64/opt/rh/perl516/root/usr/share/perl5/vendor_perl/autodie/exception.pm Installing /builddir/build/BUILDROOT/perl516-perl-autodie-2.22-3.el7.centos.x86_64/opt/rh/perl516/root/usr/share/perl5/vendor_perl/autodie/exception/system.pm Installing /builddir/build/BUILDROOT/perl516-perl-autodie-2.22-3.el7.centos.x86_64/opt/rh/perl516/root/usr/share/man/man3/autodie::skip.3pm Installing /builddir/build/BUILDROOT/perl516-perl-autodie-2.22-3.el7.centos.x86_64/opt/rh/perl516/root/usr/share/man/man3/autodie.3pm Installing /builddir/build/BUILDROOT/perl516-perl-autodie-2.22-3.el7.centos.x86_64/opt/rh/perl516/root/usr/share/man/man3/Fatal.3pm Installing /builddir/build/BUILDROOT/perl516-perl-autodie-2.22-3.el7.centos.x86_64/opt/rh/perl516/root/usr/share/man/man3/autodie::exception::system.3pm Installing /builddir/build/BUILDROOT/perl516-perl-autodie-2.22-3.el7.centos.x86_64/opt/rh/perl516/root/usr/share/man/man3/autodie::hints.3pm Installing /builddir/build/BUILDROOT/perl516-perl-autodie-2.22-3.el7.centos.x86_64/opt/rh/perl516/root/usr/share/man/man3/autodie::exception.3pm + find /builddir/build/BUILDROOT/perl516-perl-autodie-2.22-3.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-autodie-2.22-3.el7.centos.x86_64/opt + /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/autodie-2.22 /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.ZT00H3 + umask 022 + cd /builddir/build/BUILD + cd autodie-2.22 + 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/00-load.t ...................... ok t/author-critic.t ................ skipped: these tests are for testing by the author t/autodie.t ...................... ok t/backcompat.t ................... ok t/basic_exceptions.t ............. ok t/binmode.t ...................... ok t/blog_hints.t ................... ok t/boilerplate.t .................. ok t/caller.t ....................... ok t/chmod.t ........................ ok t/chown.t ........................ ok t/context.t ...................... ok t/context_lexical.t .............. ok t/core-trampoline-slurp.t ........ ok t/crickey.t ...................... ok t/critic.t ....................... skipped: Author test. Set $ENV{AUTHOR_TESTING} to true to run. t/dbmopen.t ...................... ok t/eval_error.t ................... ok t/exception_class.t .............. ok t/exceptions.t ................... ok t/exec.t ......................... ok t/Fatal.t ........................ ok t/filehandles.t .................. ok t/fileno.t ....................... ok t/flock.t ........................ ok t/fork.t ......................... skipped: BSD::Resource required to test fork() t/format-clobber.t ............... ok # Sub::Identify is not loaded t/hints.t ........................ ok t/hints_insist.t ................. ok t/hints_pod_examples.t ........... ok t/hints_provider_does.t .......... ok t/hints_provider_easy_does_it.t .. ok t/hints_provider_isa.t ........... ok t/internal-backcompat.t .......... ok t/internal.t ..................... ok t/kill.t ......................... ok t/kwalitee.t ..................... skipped: Author test. Set $ENV{RELEASE_TESTING} to true to run. t/lethal.t ....................... ok t/lex58.t ........................ skipped: IPC::System::Simple required t/mkdir.t ........................ ok t/no_carp.t ...................... ok t/open.t ......................... ok t/pod-coverage.t ................. skipped: Author test. Set $ENV{AUTHOR_TESTING} to true to run. t/pod.t .......................... skipped: Author test. Set $ENV{AUTHOR_TESTING} to true to run. t/recv.t ......................... ok t/release-pod-coverage.t ......... skipped: these tests are for release candidate testing t/release-pod-syntax.t ........... skipped: these tests are for release candidate testing t/repeat.t ....................... ok t/scope_leak.t ................... ok t/skip.t ......................... ok t/socket.t ....................... skipped: Author test. Set $ENV{AUTHOR_TESTING} to true to run. t/string-eval-basic.t ............ ok t/string-eval-leak.t ............. ok t/sysopen.t ...................... ok t/system.t ....................... skipped: IPC::System::Simple not installed t/truncate.t ..................... ok t/unlink.t ....................... ok t/user-context.t ................. ok t/usersub.t ...................... ok t/utf8_open.t .................... ok t/utime.t ........................ ok t/version.t ...................... ok t/version_tag.t .................. ok All tests successful. Files=63, Tests=474, 3 wallclock secs ( 0.15 usr 0.04 sys + 2.48 cusr 0.31 csys = 2.98 CPU) Result: PASS Processing files: perl516-perl-autodie-2.22-3.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rnLd9h + exit 0 + umask 022 + cd /builddir/build/BUILD + cd autodie-2.22 + DOCDIR=/builddir/build/BUILDROOT/perl516-perl-autodie-2.22-3.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-autodie-2.22 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl516-perl-autodie-2.22-3.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-autodie-2.22 + cp -pr AUTHORS /builddir/build/BUILDROOT/perl516-perl-autodie-2.22-3.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-autodie-2.22 + cp -pr Changes /builddir/build/BUILDROOT/perl516-perl-autodie-2.22-3.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-autodie-2.22 + cp -pr LICENSE /builddir/build/BUILDROOT/perl516-perl-autodie-2.22-3.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-autodie-2.22 + cp -pr README /builddir/build/BUILDROOT/perl516-perl-autodie-2.22-3.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-autodie-2.22 + exit 0 Provides: perl516-perl(Fatal) = 2.22 perl516-perl(autodie) = 2.22 perl516-perl(autodie::Scope::Guard) perl516-perl(autodie::exception) = 2.22 perl516-perl(autodie::exception::system) = 2.22 perl516-perl(autodie::hints) = 2.22 perl516-perl(autodie::skip) = 2.22 perl516-perl-autodie = 2.22-3.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.008 perl516-perl(Carp) perl516-perl(Config) perl516-perl(Exporter) perl516-perl(Fatal) perl516-perl(Scalar::Util) perl516-perl(Tie::RefHash) perl516-perl(autodie::exception) perl516-perl(base) perl516-perl(constant) perl516-perl(if) perl516-perl(strict) perl516-perl(warnings) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl516-perl-autodie-2.22-3.el7.centos.x86_64 warning: Could not canonicalize hostname: i-00012cc3 Wrote: /builddir/build/RPMS/perl516-perl-autodie-2.22-3.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fD4RlM + umask 022 + cd /builddir/build/BUILD + cd autodie-2.22 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl516-perl-autodie-2.22-3.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 -->