Mock Version: 1.1.41 Mock Version: 1.1.41 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/perl-Class-Load-XS.spec'], False, '/var/lib/mock/sclo7-perl516-rh-el7-build-6855-8714/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 x86_64 --nodeps builddir/build/SPECS/perl-Class-Load-XS.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 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-Class-Load-XS-0.06-5.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 x86_64 --nodeps builddir/build/SPECS/perl-Class-Load-XS.spec'], False, '/var/lib/mock/sclo7-perl516-rh-el7-build-6855-8714/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 x86_64 --nodeps builddir/build/SPECS/perl-Class-Load-XS.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CcXlFq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Class-Load-XS-0.06 + /usr/bin/gzip -dc /builddir/build/SOURCES/Class-Load-XS-0.06.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd Class-Load-XS-0.06 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.e2bMgq + umask 022 + cd /builddir/build/BUILD + cd Class-Load-XS-0.06 + scl enable perl516 ' perl Build.PL installdirs=vendor optimize="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic" ' 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 'Class-Load-XS' version '0.06' + scl enable perl516 ' ./Build ' Building Class-Load-XS gcc -I/opt/rh/perl516/root/usr/lib64/perl5/CORE -DXS_VERSION="0.06" -DVERSION="0.06" -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/Class/Load/XS.o lib/Class/Load/XS.c lib/Class/Load/XS.c: In function 'XS_Class__Load__XS_is_class_loaded': lib/Class/Load/XS.xs:99:14: warning: unused variable 'found_method' [-Wunused-variable] bool found_method = FALSE; ^ ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/Class/Load/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/Class/Load/XS/XS.so lib/Class/Load/XS.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iCvoes + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl516-perl-Class-Load-XS-0.06-5.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl516-perl-Class-Load-XS-0.06-5.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/perl516-perl-Class-Load-XS-0.06-5.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl516-perl-Class-Load-XS-0.06-5.el7.x86_64 + cd Class-Load-XS-0.06 + scl enable perl516 ' ./Build install destdir=/builddir/build/BUILDROOT/perl516-perl-Class-Load-XS-0.06-5.el7.x86_64 create_packlist=0 ' Building Class-Load-XS Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl516-perl-Class-Load-XS-0.06-5.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/Class/Load/XS/XS.so Installing /builddir/build/BUILDROOT/perl516-perl-Class-Load-XS-0.06-5.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/Class/Load/XS/XS.bs Installing /builddir/build/BUILDROOT/perl516-perl-Class-Load-XS-0.06-5.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/Class/Load/XS.pm Installing /builddir/build/BUILDROOT/perl516-perl-Class-Load-XS-0.06-5.el7.x86_64/opt/rh/perl516/root/usr/share/man/man3/Class::Load::XS.3pm + find /builddir/build/BUILDROOT/perl516-perl-Class-Load-XS-0.06-5.el7.x86_64 -type f -name '*.bs' -a -size 0 -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl516-perl-Class-Load-XS-0.06-5.el7.x86_64 -depth -type d -exec rmdir '{}' ';' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl516-perl-Class-Load-XS-0.06-5.el7.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/Class-Load-XS-0.06 extracting debug info from /builddir/build/BUILDROOT/perl516-perl-Class-Load-XS-0.06-5.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/Class/Load/XS/XS.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 29 blocks + /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.8OHYpw + umask 022 + cd /builddir/build/BUILD + cd Class-Load-XS-0.06 + scl enable perl516 - # Using XS implementation t/000-load.t .................... ok t/001-is-class-loaded.t ......... ok t/002-try-load-class.t .......... ok t/003-load-class.t .............. ok t/004-load-double.t ............. ok t/005-load-optional.t ........... ok t/006-returned-error.t .......... ok t/007-first-existing.t .......... ok t/008-gvstash-bug.t ............. ok t/009-invalid-module-name.t ..... ok t/010-isa-false-positive.t ...... ok t/011-without-xs.t .............. ok t/012-without-implementation.t .. ok t/013-errors.t .................. ok t/014-weird-constants.t ......... ok t/release-cpan-changes.t ........ skipped: Test::CPAN::Changes required for this test t/release-eol.t ................. skipped: Test::EOL required t/release-no-tabs.t ............. skipped: Test::NoTabs required t/release-pod-linkcheck.t ....... skipped: Test::Pod::LinkCheck required for testing POD t/release-pod-no404s.t .......... skipped: Test::Pod::No404s required for testing POD t/release-pod-syntax.t .......... skipped: Test::Pod 1.41 required for testing POD All tests successful. Files=21, Tests=126, 2 wallclock secs ( 0.10 usr 0.03 sys + 0.99 cusr 0.15 csys = 1.27 CPU) Result: PASS + exit 0 Processing files: perl516-perl-Class-Load-XS-0.06-5.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.27ohbE + umask 022 + cd /builddir/build/BUILD + cd Class-Load-XS-0.06 + DOCDIR=/builddir/build/BUILDROOT/perl516-perl-Class-Load-XS-0.06-5.el7.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Class-Load-XS-0.06 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl516-perl-Class-Load-XS-0.06-5.el7.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Class-Load-XS-0.06 + cp -pr Changes /builddir/build/BUILDROOT/perl516-perl-Class-Load-XS-0.06-5.el7.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Class-Load-XS-0.06 + cp -pr LICENSE /builddir/build/BUILDROOT/perl516-perl-Class-Load-XS-0.06-5.el7.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Class-Load-XS-0.06 + cp -pr README /builddir/build/BUILDROOT/perl516-perl-Class-Load-XS-0.06-5.el7.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Class-Load-XS-0.06 + exit 0 Provides: perl516-perl(Class::Load::XS) = 0.06 perl516-perl-Class-Load-XS = 0.06-5.el7 perl516-perl-Class-Load-XS(x86-64) = 0.06-5.el7 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(Class::Load) >= 0.20 perl516-perl(XSLoader) perl516-perl(strict) perl516-perl(warnings) perl516-runtime rtld(GNU_HASH) Processing files: perl516-perl-Class-Load-XS-debuginfo-0.06-5.el7.x86_64 Provides: scl-package(perl516) perl516-perl-Class-Load-XS-debuginfo = 0.06-5.el7 perl516-perl-Class-Load-XS-debuginfo(x86-64) = 0.06-5.el7 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-Class-Load-XS-0.06-5.el7.x86_64 Wrote: /builddir/build/RPMS/perl516-perl-Class-Load-XS-0.06-5.el7.x86_64.rpm Wrote: /builddir/build/RPMS/perl516-perl-Class-Load-XS-debuginfo-0.06-5.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.eoqBn2 + umask 022 + cd /builddir/build/BUILD + cd Class-Load-XS-0.06 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl516-perl-Class-Load-XS-0.06-5.el7.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 -->