Mock Version: 1.1.41 Mock Version: 1.1.41 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target noarch --nodeps builddir/build/SPECS/perl-Test-Script.spec'], False, '/var/lib/mock/sclo7-perl516-rh-el7-build-7935-10520/root/', None, 86400, True, False, 497, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target noarch --nodeps builddir/build/SPECS/perl-Test-Script.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} 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) /var/tmp/scl69s4oY: line 8: /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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/perl516-perl-Test-Script-1.07-2.el7.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 noarch --nodeps builddir/build/SPECS/perl-Test-Script.spec'], False, '/var/lib/mock/sclo7-perl516-rh-el7-build-7935-10520/root/', None, 86400, True, False, 497, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps builddir/build/SPECS/perl-Test-Script.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} 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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pxOma6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Test-Script-1.07 + /usr/bin/gzip -dc /builddir/build/SOURCES/Test-Script-1.07.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd Test-Script-1.07 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GtV76l + umask 022 + cd /builddir/build/BUILD + cd Test-Script-1.07 + 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 Test::Script + scl enable perl516 ' make -j16 ' cp lib/Test/Script.pm blib/lib/Test/Script.pm Manifying blib/man3/Test::Script.3pm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.b8fZaD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl516-perl-Test-Script-1.07-2.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl516-perl-Test-Script-1.07-2.el7.noarch ++ dirname /builddir/build/BUILDROOT/perl516-perl-Test-Script-1.07-2.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl516-perl-Test-Script-1.07-2.el7.noarch + cd Test-Script-1.07 + rm -rf /builddir/build/BUILDROOT/perl516-perl-Test-Script-1.07-2.el7.noarch + scl enable perl516 ' make pure_install PERL_INSTALL_ROOT=/builddir/build/BUILDROOT/perl516-perl-Test-Script-1.07-2.el7.noarch ' Installing /builddir/build/BUILDROOT/perl516-perl-Test-Script-1.07-2.el7.noarch/opt/rh/perl516/root/usr/share/perl5/vendor_perl/Test/Script.pm Installing /builddir/build/BUILDROOT/perl516-perl-Test-Script-1.07-2.el7.noarch/opt/rh/perl516/root/usr/share/man/man3/Test::Script.3pm + find /builddir/build/BUILDROOT/perl516-perl-Test-Script-1.07-2.el7.noarch -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl516-perl-Test-Script-1.07-2.el7.noarch -depth -type d -exec rmdir '{}' ';' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl516-perl-Test-Script-1.07-2.el7.noarch/opt + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/Test-Script-1.07 /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/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/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.cBYp1U + umask 022 + cd /builddir/build/BUILD + cd Test-Script-1.07 + 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, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/01_compile.t ........ ok t/02_compiles_good.t .. ok t/03_compiles_bad.t ... ok t/04_runs_good.t ...... ok t/05_runs_bad.t ....... ok t/97_meta.t ........... skipped: Author tests not required for installation t/98_pod.t ............ skipped: Author tests not required for installation t/99_pmv.t ............ skipped: Author tests not required for installation All tests successful. Files=8, Tests=20, 1 wallclock secs ( 0.05 usr 0.01 sys + 0.61 cusr 0.07 csys = 0.74 CPU) Result: PASS + exit 0 Processing files: perl516-perl-Test-Script-1.07-2.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jdLiPe + umask 022 + cd /builddir/build/BUILD + cd Test-Script-1.07 + DOCDIR=/builddir/build/BUILDROOT/perl516-perl-Test-Script-1.07-2.el7.noarch/opt/rh/perl516/root/usr/share/doc/perl516-perl-Test-Script-1.07 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl516-perl-Test-Script-1.07-2.el7.noarch/opt/rh/perl516/root/usr/share/doc/perl516-perl-Test-Script-1.07 + cp -pr Changes /builddir/build/BUILDROOT/perl516-perl-Test-Script-1.07-2.el7.noarch/opt/rh/perl516/root/usr/share/doc/perl516-perl-Test-Script-1.07 + cp -pr LICENSE /builddir/build/BUILDROOT/perl516-perl-Test-Script-1.07-2.el7.noarch/opt/rh/perl516/root/usr/share/doc/perl516-perl-Test-Script-1.07 + cp -pr README /builddir/build/BUILDROOT/perl516-perl-Test-Script-1.07-2.el7.noarch/opt/rh/perl516/root/usr/share/doc/perl516-perl-Test-Script-1.07 + exit 0 Provides: perl516-perl(Test::Script) = 1.07 perl516-perl-Test-Script = 1.07-2.el7 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(Carp) perl516-perl(Exporter) perl516-perl(File::Spec) perl516-perl(File::Spec::Unix) perl516-perl(IPC::Run3) perl516-perl(Probe::Perl) perl516-perl(Test::Builder) perl516-perl(strict) perl516-perl(vars) perl516-runtime Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl516-perl-Test-Script-1.07-2.el7.noarch Wrote: /builddir/build/RPMS/perl516-perl-Test-Script-1.07-2.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.vJiHYS + umask 022 + cd /builddir/build/BUILD + cd Test-Script-1.07 + rm -rf /builddir/build/BUILDROOT/perl516-perl-Test-Script-1.07-2.el7.noarch + 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 -->