Mock Version: 1.1.41 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/perl-CPAN-Meta.spec'], False, '/var/lib/mock/epel-7-x86_64-mockbuilder-1699/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-CPAN-Meta.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: 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 sh: /opt/rh/perl516/root/usr/bin/perl: No such file or directory warning: Could not canonicalize hostname: i-00012cff Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/perl516-perl-CPAN-Meta-2.132830-2.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-CPAN-Meta.spec'], False, '/var/lib/mock/epel-7-x86_64-mockbuilder-1699/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-CPAN-Meta.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.3IpGNA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf CPAN-Meta-2.132830 + /usr/bin/gzip -dc /builddir/build/SOURCES/CPAN-Meta-2.132830.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd CPAN-Meta-2.132830 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i '1s,#!.*perl,#!/opt/rh/perl516/root/usr/bin/perl,' t/00-compile.t t/00-report-prereqs.t t/converter-bad.t t/converter-fail.t t/converter.t t/load-bad.t t/meta-obj.t t/no-index.t t/prereqs-finalize.t t/prereqs-merge.t t/prereqs.t t/repository.t t/save-load.t t/strings.t t/validator.t + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Vzx7Wh + umask 022 + cd /builddir/build/BUILD + cd CPAN-Meta-2.132830 + scl enable perl516 ' /opt/rh/perl516/root/usr/bin/perl Makefile.PL INSTALLDIRS=vendor ' Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for CPAN::Meta + scl enable perl516 ' make -j3 ' cp lib/CPAN/Meta/Prereqs.pm blib/lib/CPAN/Meta/Prereqs.pm cp lib/CPAN/Meta.pm blib/lib/CPAN/Meta.pm cp lib/CPAN/Meta/History.pm blib/lib/CPAN/Meta/History.pm cp lib/CPAN/Meta/Validator.pm blib/lib/CPAN/Meta/Validator.pm cp lib/CPAN/Meta/Converter.pm blib/lib/CPAN/Meta/Converter.pm cp lib/CPAN/Meta/Feature.pm blib/lib/CPAN/Meta/Feature.pm cp lib/CPAN/Meta/Spec.pm blib/lib/CPAN/Meta/Spec.pm Manifying blib/man3/CPAN::Meta.3pm Manifying blib/man3/CPAN::Meta::Converter.3pm Manifying blib/man3/CPAN::Meta::Feature.3pm Manifying blib/man3/CPAN::Meta::History.3pm Manifying blib/man3/CPAN::Meta::Prereqs.3pm Manifying blib/man3/CPAN::Meta::Spec.3pm Manifying blib/man3/CPAN::Meta::Validator.3pm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tZmiI0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64 + cd CPAN-Meta-2.132830 + scl enable perl516 ' make pure_install DESTDIR=/builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64 ' Manifying blib/man3/CPAN::Meta.3pm Manifying blib/man3/CPAN::Meta::Converter.3pm Manifying blib/man3/CPAN::Meta::Feature.3pm Manifying blib/man3/CPAN::Meta::History.3pm Installing /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/perl5/vendor_perl/CPAN/Meta.pm Installing /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/perl5/vendor_perl/CPAN/Meta/Feature.pm Installing /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/perl5/vendor_perl/CPAN/Meta/Spec.pm Installing /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/perl5/vendor_perl/CPAN/Meta/History.pm Installing /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/perl5/vendor_perl/CPAN/Meta/Validator.pm Installing /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/perl5/vendor_perl/CPAN/Meta/Converter.pm Installing /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/perl5/vendor_perl/CPAN/Meta/Prereqs.pm Installing /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/man/man3/CPAN::Meta::Spec.3pm Installing /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/man/man3/CPAN::Meta::Converter.3pm Installing /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/man/man3/CPAN::Meta.3pm Installing /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/man/man3/CPAN::Meta::Prereqs.3pm Installing /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/man/man3/CPAN::Meta::History.3pm Installing /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/man/man3/CPAN::Meta::Validator.3pm Installing /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/man/man3/CPAN::Meta::Feature.3pm + find /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64 -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64 -depth -type d -exec rmdir '{}' ';' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.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/CPAN-Meta-2.132830 /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.XPL6xK + umask 022 + cd /builddir/build/BUILD + cd CPAN-Meta-2.132830 + 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 # Prerequisite Report: # Version Module # ------- ------------------------ # 2.122 CPAN::Meta::Requirements # 0.010 CPAN::Meta::YAML # 1.32 Carp # 2.145 Data::Dumper # 6.82 ExtUtils::MakeMaker # 2.84 File::Basename # 3.40 File::Spec # 3.40 File::Spec::Functions # 0.22 File::Temp # 1.10 IO::Dir # 1.33 IO::Handle # 1.12 IPC::Open3 # 2.27203 JSON::PP # 1.31 List::Util # 1.4404 Parse::CPAN::Meta # 1.31 Scalar::Util # 0.98 Test::More # 1.18 overload # 1.07 strict # 1.09 utf8 # 0.9907 version # 1.13 warnings t/00-report-prereqs.t .. ok t/converter-bad.t ...... ok t/converter-fail.t ..... ok t/converter.t .......... ok t/load-bad.t ........... ok t/meta-obj.t ........... ok t/no-index.t ........... ok t/prereqs-finalize.t ... ok t/prereqs-merge.t ...... ok t/prereqs.t ............ ok t/repository.t ......... ok t/save-load.t .......... ok t/strings.t ............ ok t/validator.t .......... ok All tests successful. Files=15, Tests=554, 2 wallclock secs ( 0.09 usr 0.01 sys + 1.76 cusr 0.11 csys = 1.97 CPU) Result: PASS + exit 0 Processing files: perl516-perl-CPAN-Meta-2.132830-2.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bUE0aC + umask 022 + cd /builddir/build/BUILD + cd CPAN-Meta-2.132830 + DOCDIR=/builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-CPAN-Meta-2.132830 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-CPAN-Meta-2.132830 + cp -pr Changes /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-CPAN-Meta-2.132830 + cp -pr history /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-CPAN-Meta-2.132830 + cp -pr LICENSE /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-CPAN-Meta-2.132830 + cp -pr README /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-CPAN-Meta-2.132830 + cp -pr Todo /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-CPAN-Meta-2.132830 + cp -pr t/ /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-CPAN-Meta-2.132830 + exit 0 Provides: perl516-perl(CPAN::Meta) = 2.132830 perl516-perl(CPAN::Meta::Converter) = 2.132830 perl516-perl(CPAN::Meta::Feature) = 2.132830 perl516-perl(CPAN::Meta::History) = 2.132830 perl516-perl(CPAN::Meta::Prereqs) = 2.132830 perl516-perl(CPAN::Meta::Spec) = 2.132830 perl516-perl(CPAN::Meta::Validator) = 2.132830 perl516-perl-CPAN-Meta = 2.132830-2.el7.centos perl516-perl-CPAN-Meta-tests = 2.132830-2.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.006 perl516-perl(CPAN::Meta::Converter) perl516-perl(CPAN::Meta::Feature) perl516-perl(CPAN::Meta::Prereqs) perl516-perl(CPAN::Meta::Requirements) perl516-perl(CPAN::Meta::Requirements) >= 2.121 perl516-perl(CPAN::Meta::Validator) perl516-perl(Carp) perl516-perl(Parse::CPAN::Meta) >= 1.4400 perl516-perl(Parse::CPAN::Meta) >= 1.4403 perl516-perl(Scalar::Util) perl516-perl(strict) perl516-perl(version) >= 0.88 perl516-perl(warnings) Obsoletes: perl516-perl-CPAN-Meta-tests < 2.113640-3 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.x86_64 warning: Could not canonicalize hostname: i-00012cff Wrote: /builddir/build/RPMS/perl516-perl-CPAN-Meta-2.132830-2.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fYpBvr + umask 022 + cd /builddir/build/BUILD + cd CPAN-Meta-2.132830 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl516-perl-CPAN-Meta-2.132830-2.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 -->