Mock Version: 1.1.41 Mock Version: 1.1.41 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target noarch --nodeps builddir/build/SPECS/perl-CGI.spec'], False, '/var/lib/mock/sclo7-perl516-rh-el7-build-6826-8683/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-CGI.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) 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 Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/perl516-perl-CGI-3.63-3.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-CGI.spec'], False, '/var/lib/mock/sclo7-perl516-rh-el7-build-6826-8683/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-CGI.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.NDaD1Q + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf CGI.pm-3.63 + /usr/bin/gzip -dc /builddir/build/SOURCES/CGI.pm-3.63.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd CGI.pm-3.63 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + iconv -f iso8859-1 -t utf-8 + mv Changes.1 Changes + sed -i 's?usr/bin perl?usr/bin/perl?' t/init.t + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.y9DEmD + umask 022 + cd /builddir/build/BUILD + cd CGI.pm-3.63 + scl enable perl516 ' perl Makefile.PL INSTALLDIRS=vendor ' Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for CGI + scl enable perl516 ' make -j16 ' cp lib/CGI/Switch.pm blib/lib/CGI/Switch.pm cp lib/CGI/Cookie.pm blib/lib/CGI/Cookie.pm cp lib/CGI/Pretty.pm blib/lib/CGI/Pretty.pm cp lib/CGI.pm blib/lib/CGI.pm cp lib/CGI/Carp.pm blib/lib/CGI/Carp.pm cp lib/CGI/Apache.pm blib/lib/CGI/Apache.pm cp lib/CGI/Util.pm blib/lib/CGI/Util.pm cp lib/CGI/Push.pm blib/lib/CGI/Push.pm cp lib/CGI/Fast.pm blib/lib/CGI/Fast.pm Manifying blib/man3/CGI.3pm Manifying blib/man3/CGI::Apache.3pm Manifying blib/man3/CGI::Carp.3pm Manifying blib/man3/CGI::Cookie.3pm Manifying blib/man3/CGI::Fast.3pm Manifying blib/man3/CGI::Pretty.3pm Manifying blib/man3/CGI::Push.3pm Manifying blib/man3/CGI::Switch.3pm Manifying blib/man3/CGI::Util.3pm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bApvkr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch ++ dirname /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch + cd CGI.pm-3.63 + scl enable perl516 ' make pure_install DESTDIR=/builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch ' Manifying blib/man3/CGI.3pm Manifying blib/man3/CGI::Apache.3pm Manifying blib/man3/CGI::Carp.3pm Manifying blib/man3/CGI::Cookie.3pm Manifying blib/man3/CGI::Fast.3pm Manifying blib/man3/CGI::Pretty.3pm Manifying blib/man3/CGI::Push.3pm Manifying blib/man3/CGI::Switch.3pm Manifying blib/man3/CGI::Util.3pm Installing /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch/opt/rh/perl516/root/usr/share/perl5/vendor_perl/CGI.pm Installing /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch/opt/rh/perl516/root/usr/share/perl5/vendor_perl/CGI/Cookie.pm Installing /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch/opt/rh/perl516/root/usr/share/perl5/vendor_perl/CGI/Carp.pm Installing /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch/opt/rh/perl516/root/usr/share/perl5/vendor_perl/CGI/Pretty.pm Installing /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch/opt/rh/perl516/root/usr/share/perl5/vendor_perl/CGI/Switch.pm Installing /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch/opt/rh/perl516/root/usr/share/perl5/vendor_perl/CGI/Util.pm Installing /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch/opt/rh/perl516/root/usr/share/perl5/vendor_perl/CGI/Fast.pm Installing /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch/opt/rh/perl516/root/usr/share/perl5/vendor_perl/CGI/Push.pm Installing /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch/opt/rh/perl516/root/usr/share/perl5/vendor_perl/CGI/Apache.pm Installing /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch/opt/rh/perl516/root/usr/share/man/man3/CGI::Apache.3pm Installing /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch/opt/rh/perl516/root/usr/share/man/man3/CGI::Switch.3pm Installing /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch/opt/rh/perl516/root/usr/share/man/man3/CGI::Carp.3pm Installing /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch/opt/rh/perl516/root/usr/share/man/man3/CGI::Push.3pm Installing /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch/opt/rh/perl516/root/usr/share/man/man3/CGI::Pretty.3pm Installing /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch/opt/rh/perl516/root/usr/share/man/man3/CGI.3pm Installing /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch/opt/rh/perl516/root/usr/share/man/man3/CGI::Fast.3pm Installing /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch/opt/rh/perl516/root/usr/share/man/man3/CGI::Util.3pm Installing /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch/opt/rh/perl516/root/usr/share/man/man3/CGI::Cookie.3pm + find /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch -type f -name .packlist -exec rm -f '{}' ';' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.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/CGI.pm-3.63 /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.urPUXg + umask 022 + cd /builddir/build/BUILD + cd CGI.pm-3.63 + 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/headers/*.t t/apache.t ............... ok t/autoescape.t ........... ok t/can.t .................. ok t/carp.t ................. ok t/charset.t .............. ok t/checkbox_group.t ....... ok t/cookie.t ............... ok t/delete.t ............... ok t/Dump.t ................. ok t/end_form.t ............. ok t/fast.t ................. ok t/form.t ................. ok t/function.t ............. ok t/headers.t .............. ok t/hidden.t ............... ok t/html.t ................. ok t/http.t ................. ok t/init.t ................. ok t/multipart_init.t ....... ok t/no_tabindex.t .......... ok t/param_fetch.t .......... ok t/popup_menu.t ........... ok t/pretty.t ............... ok t/push.t ................. ok t/query_string.t ......... ok t/request.t .............. ok t/rt-52469.t ............. ok t/save_read_roundtrip.t .. ok t/start_end_asterisk.t ... ok t/start_end_end.t ........ ok t/start_end_start.t ...... ok t/switch.t ............... ok t/tmpdir.t ............... ok t/unescapeHTML.t ......... ok t/upload.t ............... ok t/uploadInfo.t ........... ok t/url.t .................. ok t/user_agent.t ........... ok t/utf8.t ................. ok t/util-58.t .............. ok t/util.t ................. ok All tests successful. Files=41, Tests=709, 3 wallclock secs ( 0.25 usr 0.05 sys + 2.49 cusr 0.26 csys = 3.05 CPU) Result: PASS + exit 0 Processing files: perl516-perl-CGI-3.63-3.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nFB6ed + umask 022 + cd /builddir/build/BUILD + cd CGI.pm-3.63 + DOCDIR=/builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch/opt/rh/perl516/root/usr/share/doc/perl516-perl-CGI-3.63 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch/opt/rh/perl516/root/usr/share/doc/perl516-perl-CGI-3.63 + cp -pr cgi_docs.html /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch/opt/rh/perl516/root/usr/share/doc/perl516-perl-CGI-3.63 + cp -pr Changes /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch/opt/rh/perl516/root/usr/share/doc/perl516-perl-CGI-3.63 + cp -pr README /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch/opt/rh/perl516/root/usr/share/doc/perl516-perl-CGI-3.63 + exit 0 Provides: perl516-perl(CGI) perl516-perl(CGI::Apache) = 1.01 perl516-perl(CGI::Carp) = 3.51 perl516-perl(CGI::Cookie) perl516-perl(CGI::Fast) perl516-perl(CGI::Pretty) = 3.46 perl516-perl(CGI::Push) perl516-perl(CGI::Switch) = 1.01 perl516-perl(CGI::Util) = 3.62 perl516-perl(CGITempFile) perl516-perl-CGI = 3.63-3.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.000 perl516-perl >= 0:5.008001 perl516-perl(CGI) perl516-perl(CGI::Util) perl516-perl(Carp) perl516-perl(Exporter) perl516-perl(base) perl516-perl(constant) perl516-perl(overload) perl516-perl(strict) perl516-perl(vars) perl516-perl(warnings) perl516-runtime Obsoletes: perl516-perl-CGI-tests <= 3.49 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.el7.noarch Wrote: /builddir/build/RPMS/perl516-perl-CGI-3.63-3.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.VR5qU7 + umask 022 + cd /builddir/build/BUILD + cd CGI.pm-3.63 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl516-perl-CGI-3.63-3.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 -->