Mock Version: 1.1.41 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/perl-Sub-Install.spec'], False, '/var/lib/mock/epel-7-x86_64-mockbuilder-1615/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-Sub-Install.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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/perl516-perl-Sub-Install-0.927-4.el7.centos.src.rpm warning: Could not canonicalize hostname: i-00012ce9 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-Sub-Install.spec'], False, '/var/lib/mock/epel-7-x86_64-mockbuilder-1615/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-Sub-Install.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.gg7VpS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Sub-Install-0.927 + /usr/bin/gzip -dc /builddir/build/SOURCES/Sub-Install-0.927.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd Sub-Install-0.927 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wcI2qE + exit 0 + umask 022 + cd /builddir/build/BUILD + cd Sub-Install-0.927 + scl enable perl516 ' perl Makefile.PL INSTALLDIRS=vendor ' Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Sub::Install + scl enable perl516 ' make -j3 ' cp lib/Sub/Install.pm blib/lib/Sub/Install.pm Manifying blib/man3/Sub::Install.3pm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2Lobqr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl516-perl-Sub-Install-0.927-4.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl516-perl-Sub-Install-0.927-4.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/perl516-perl-Sub-Install-0.927-4.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl516-perl-Sub-Install-0.927-4.el7.centos.x86_64 + cd Sub-Install-0.927 + rm -rf /builddir/build/BUILDROOT/perl516-perl-Sub-Install-0.927-4.el7.centos.x86_64 + scl enable perl516 ' make pure_install DESTDIR=/builddir/build/BUILDROOT/perl516-perl-Sub-Install-0.927-4.el7.centos.x86_64 ' Installing /builddir/build/BUILDROOT/perl516-perl-Sub-Install-0.927-4.el7.centos.x86_64/opt/rh/perl516/root/usr/share/perl5/vendor_perl/Sub/Install.pm Installing /builddir/build/BUILDROOT/perl516-perl-Sub-Install-0.927-4.el7.centos.x86_64/opt/rh/perl516/root/usr/share/man/man3/Sub::Install.3pm + find /builddir/build/BUILDROOT/perl516-perl-Sub-Install-0.927-4.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-Sub-Install-0.927-4.el7.centos.x86_64 + /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/Sub-Install-0.927 /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.QnQR3e + umask 022 + cd /builddir/build/BUILD + cd Sub-Install-0.927 + 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-compile.t ................ ok # # # Generated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.10 # perl: 5.016003 (wanted any version) on linux from /opt/rh/perl516/root/usr/bin/perl # # B => 1.35 (want any version) # Carp => 1.32 (want any version) # ExtUtils::MakeMaker => 6.82 (want 6.30) # File::Spec => 3.40 (want any version) # IO::Handle => 1.33 (want any version) # IPC::Open3 => 1.12 (want any version) # Scalar::Util => 1.31 (want any version) # Test::More => 0.98 (want 0.96) # strict => 1.07 (want any version) # warnings => 1.13 (want any version) # # Thanks for using my code. I hope it works for you. # If not, please try and include this output in the bug report. # That will help me reproduce the issue and solve your problem. # t/000-report-versions-tiny.t .. ok t/auto_as.t ................... ok t/export.t .................... ok t/inst-blessed.t .............. ok t/install.t ................... ok t/misc_errors.t ............... ok t/reinstall.t ................. ok t/SI_install.t ................ ok t/SI_reinstall.t .............. ok All tests successful. Files=10, Tests=66, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.34 cusr 0.04 csys = 0.42 CPU) Result: PASS Processing files: perl516-perl-Sub-Install-0.927-4.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ayfGD4 + exit 0 + umask 022 + cd /builddir/build/BUILD + cd Sub-Install-0.927 + DOCDIR=/builddir/build/BUILDROOT/perl516-perl-Sub-Install-0.927-4.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Sub-Install-0.927 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl516-perl-Sub-Install-0.927-4.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Sub-Install-0.927 + cp -pr Changes /builddir/build/BUILDROOT/perl516-perl-Sub-Install-0.927-4.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Sub-Install-0.927 + cp -pr LICENSE /builddir/build/BUILDROOT/perl516-perl-Sub-Install-0.927-4.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Sub-Install-0.927 + cp -pr README /builddir/build/BUILDROOT/perl516-perl-Sub-Install-0.927-4.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Sub-Install-0.927 + exit 0 Provides: perl516-perl(Sub::Install) = 0.927 perl516-perl-Sub-Install = 0.927-4.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(Carp) perl516-perl(Scalar::Util) perl516-perl(strict) perl516-perl(warnings) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl516-perl-Sub-Install-0.927-4.el7.centos.x86_64 warning: Could not canonicalize hostname: i-00012ce9 Wrote: /builddir/build/RPMS/perl516-perl-Sub-Install-0.927-4.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ATSRML + umask 022 + cd /builddir/build/BUILD + cd Sub-Install-0.927 + rm -rf /builddir/build/BUILDROOT/perl516-perl-Sub-Install-0.927-4.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 -->