Mock Version: 1.1.41 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/perl-Params-Validate.spec'], False, '/var/lib/mock/epel-7-x86_64-mockbuilder-1650/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-Params-Validate.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 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 sh: /opt/rh/perl516/root/usr/bin/perl: No such file or directory warning: Could not canonicalize hostname: i-00012ceb Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/perl516-perl-Params-Validate-1.08-7.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-Params-Validate.spec'], False, '/var/lib/mock/epel-7-x86_64-mockbuilder-1650/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-Params-Validate.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.aHO2Fx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Params-Validate-1.08 + /usr/bin/gzip -dc /builddir/build/SOURCES/Params-Validate-1.08.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd Params-Validate-1.08 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (Params-Validate-1.08.diff): + echo 'Patch #0 (Params-Validate-1.08.diff):' + /usr/bin/cat /builddir/build/SOURCES/Params-Validate-1.08.diff + /usr/bin/patch -p1 --fuzz=0 patching file t/release-pod-spell.t + sed -i -e 's,set_spell_cmd(.*),set_spell_cmd(\'\''hunspell -l\'\''),' t/release-pod-spell.t Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IWU9zG + exit 0 + umask 022 + cd /builddir/build/BUILD + cd Params-Validate-1.08 + scl enable perl516 ' /opt/rh/perl516/root/usr/bin/perl Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS" ' Could not get valid metadata. Error is: Invalid metadata structure. Errors: License 'artistic_2_0' is invalid (license -> artistic_2_0) [Validation: 2] at /opt/rh/perl516/root/usr/share/perl5/vendor_perl/Module/Build/Base.pm line 4544. Could not create MYMETA files Creating new 'Build' script for 'Params-Validate' version '1.08' + scl enable perl516 ' ./Build ' Building Params-Validate gcc -Ic -I/opt/rh/perl516/root/usr/lib64/perl5/CORE -DXS_VERSION="1.08" -DVERSION="1.08" -fPIC -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -o lib/Params/Validate/XS.o lib/Params/Validate/XS.c ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/Params/Validate/XS/XS.bs') gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro -o blib/arch/auto/Params/Validate/XS/XS.so lib/Params/Validate/XS.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AivZ8U + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64 + cd Params-Validate-1.08 + scl enable perl516 ' ./Build install destdir=/builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64 create_packlist=0 ' Building Params-Validate Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/Params/Validate/XS/XS.so Installing /builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/Params/Validate/XS/XS.bs Installing /builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/Params/Validate.pm Installing /builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/Params/ValidatePP.pm Installing /builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/Params/ValidateXS.pm Installing /builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/Params/Validate/Constants.pm Installing /builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/Params/Validate/XS.pm Installing /builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/Params/Validate/PP.pm Installing /builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/Attribute/Params/Validate.pm Installing /builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64/opt/rh/perl516/root/usr/share/man/man3/Params::Validate.3pm Installing /builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64/opt/rh/perl516/root/usr/share/man/man3/Attribute::Params::Validate.3pm + find /builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64 -type d -depth -exec rmdir '{}' ';' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.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/Params-Validate-1.08 extracting debug info from /builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/Params/Validate/XS/XS.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 188 blocks + /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.Ml9X2b + umask 022 + cd /builddir/build/BUILD + cd Params-Validate-1.08 + scl enable perl516 ' SKIP_POD_NO404S=1 ./Build test ' t/01-validate.t ......................... ok t/02-noop.t ............................. ok t/03-attribute.t ........................ ok t/04-defaults.t ......................... ok t/05-noop_default.t ..................... ok t/06-options.t .......................... ok t/07-with.t ............................. ok t/08-noop_with.t ........................ ok t/09-regex.t ............................ ok t/10-noop_regex.t ....................... ok t/11-cb.t ............................... ok t/12-noop_cb.t .......................... ok t/13-taint.t ............................ ok t/14-no_validate.t ...................... ok t/15-case.t ............................. ok t/16-normalize.t ........................ ok t/17-callbacks.t ........................ ok t/18-depends.t .......................... ok t/19-untaint.t .......................... ok t/21-can.t .............................. ok t/22-overload-can-bug.t ................. ok t/23-readonly.t ......................... ok t/24-tied.t ............................. ok t/25-undef-regex.t ...................... ok t/26-isa.t .............................. ok t/27-string-as-type.t ................... ok t/28-readonly-return.t .................. ok t/29-taint-mode.t ....................... skipped: This test is flaky t/30-hashref-alteration.t ............... ok t/31-incorrect-spelling.t ............... skipped: Spec validation is disabled for now t/32-regex-as-value.t ................... ok t/33-keep-errsv.t ....................... ok t/34-recursive-validation.t ............. ok t/35-default-xs-bug.t ................... ok t/release-cpan-changes.t ................ skipped: these tests are for release candidate testing t/release-eol.t ......................... skipped: these tests are for release candidate testing t/release-no-tabs.t ..................... skipped: these tests are for release candidate testing t/release-pod-coverage.t ................ skipped: these tests are for release candidate testing t/release-pod-linkcheck.t ............... skipped: these tests are for release candidate testing t/release-pod-no404s.t .................. skipped: these tests are for release candidate testing t/release-pod-spell.t ................... skipped: these tests are for release candidate testing t/release-pod-syntax.t .................. skipped: these tests are for release candidate testing t/release-pp-01-validate.t .............. skipped: these tests are for testing by the release t/release-pp-02-noop.t .................. skipped: these tests are for testing by the release t/release-pp-03-attribute.t ............. skipped: these tests are for testing by the release t/release-pp-04-defaults.t .............. skipped: these tests are for testing by the release t/release-pp-05-noop_default.t .......... skipped: these tests are for testing by the release t/release-pp-06-options.t ............... skipped: these tests are for testing by the release t/release-pp-07-with.t .................. skipped: these tests are for testing by the release t/release-pp-08-noop_with.t ............. skipped: these tests are for testing by the release t/release-pp-09-regex.t ................. skipped: these tests are for testing by the release t/release-pp-10-noop_regex.t ............ skipped: these tests are for testing by the release t/release-pp-11-cb.t .................... skipped: these tests are for testing by the release t/release-pp-12-noop_cb.t ............... skipped: these tests are for testing by the release t/release-pp-13-taint.t ................. skipped: these tests are for testing by the release t/release-pp-14-no_validate.t ........... skipped: these tests are for testing by the release t/release-pp-15-case.t .................. skipped: these tests are for testing by the release t/release-pp-16-normalize.t ............. skipped: these tests are for testing by the release t/release-pp-17-callbacks.t ............. skipped: these tests are for testing by the release t/release-pp-18-depends.t ............... skipped: these tests are for testing by the release t/release-pp-19-untaint.t ............... skipped: these tests are for testing by the release t/release-pp-21-can.t ................... skipped: these tests are for testing by the release t/release-pp-22-overload-can-bug.t ...... skipped: these tests are for testing by the release t/release-pp-23-readonly.t .............. skipped: these tests are for testing by the release t/release-pp-24-tied.t .................. skipped: these tests are for testing by the release t/release-pp-25-undef-regex.t ........... skipped: these tests are for testing by the release t/release-pp-26-isa.t ................... skipped: these tests are for testing by the release t/release-pp-27-string-as-type.t ........ skipped: these tests are for testing by the release t/release-pp-28-readonly-return.t ....... skipped: these tests are for testing by the release t/release-pp-29-taint-mode.t ............ skipped: these tests are for testing by the release t/release-pp-30-hashref-alteration.t .... skipped: these tests are for testing by the release t/release-pp-31-incorrect-spelling.t .... skipped: these tests are for testing by the release t/release-pp-32-regex-as-value.t ........ skipped: these tests are for testing by the release t/release-pp-33-keep-errsv.t ............ skipped: these tests are for testing by the release t/release-pp-34-recursive-validation.t .. skipped: these tests are for testing by the release t/release-pp-35-default-xs-bug.t ........ skipped: these tests are for testing by the release t/release-pp-is-loaded.t ................ skipped: these tests are for release candidate testing t/release-xs-is-loaded.t ................ skipped: these tests are for release candidate testing t/release-xs-segfault.t ................. skipped: these tests are for release candidate testing All tests successful. Test Summary Report ------------------- t/34-recursive-validation.t (Wstat: 0 Tests: 1 Failed: 0) TODO passed: 1 Files=79, Tests=515, 2 wallclock secs ( 0.17 usr 0.04 sys + 1.76 cusr 0.25 csys = 2.22 CPU) Result: PASS Processing files: perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64 + exit 0 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.G6qgaC + umask 022 + cd /builddir/build/BUILD + cd Params-Validate-1.08 + DOCDIR=/builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Params-Validate-1.08 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Params-Validate-1.08 + cp -pr Changes /builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Params-Validate-1.08 + cp -pr LICENSE /builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Params-Validate-1.08 + cp -pr README /builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Params-Validate-1.08 + cp -pr TODO /builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Params-Validate-1.08 + exit 0 Provides: perl516-perl(Attribute::Params::Validate) = 1.08 perl516-perl(Params::Validate) = 1.08 perl516-perl(Params::Validate::Constants) = 1.08 perl516-perl(Params::Validate::PP) = 1.08 perl516-perl(Params::Validate::XS) = 1.08 perl516-perl-Params-Validate = 1.08-7.el7.centos perl516-perl-Params-Validate(x86-64) = 1.08-7.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: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) perl516-perl >= 0:5.008001 perl516-perl(Attribute::Handlers) >= 0.79 perl516-perl(Exporter) perl516-perl(Module::Implementation) perl516-perl(Params::Validate) perl516-perl(Params::Validate::Constants) perl516-perl(Scalar::Util) >= 1.10 perl516-perl(XSLoader) perl516-perl(attributes) perl516-perl(strict) perl516-perl(vars) perl516-perl(warnings) rtld(GNU_HASH) Processing files: perl516-perl-Params-Validate-debuginfo-1.08-7.el7.centos.x86_64 Provides: scl-package(perl516) perl516-perl-Params-Validate-debuginfo = 1.08-7.el7.centos perl516-perl-Params-Validate-debuginfo(x86-64) = 1.08-7.el7.centos Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64 warning: Could not canonicalize hostname: i-00012ceb Wrote: /builddir/build/RPMS/perl516-perl-Params-Validate-1.08-7.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/perl516-perl-Params-Validate-debuginfo-1.08-7.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.oXMHgU + umask 022 + cd /builddir/build/BUILD + cd Params-Validate-1.08 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl516-perl-Params-Validate-1.08-7.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 -->