Mock Version: 1.1.41 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/perl-Scalar-List-Utils.spec'], False, '/var/lib/mock/epel-7-x86_64-mockbuilder-1695/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-Scalar-List-Utils.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-00012d0d Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/perl516-perl-Scalar-List-Utils-1.31-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-Scalar-List-Utils.spec'], False, '/var/lib/mock/epel-7-x86_64-mockbuilder-1695/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-Scalar-List-Utils.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.W0XF4Y + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Scalar-List-Utils-1.31 + /usr/bin/gzip -dc /builddir/build/SOURCES/Scalar-List-Utils-1.31.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd Scalar-List-Utils-1.31 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SQsj5l + umask 022 + cd /builddir/build/BUILD + cd Scalar-List-Utils-1.31 + scl enable perl516 ' /opt/rh/perl516/root/usr/bin/perl Makefile.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" ' Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for List::Util + scl enable perl516 ' make -j3 ' /opt/rh/perl516/root/usr/bin/perl /opt/rh/perl516/root/usr/share/perl5/ExtUtils/xsubpp -typemap /opt/rh/perl516/root/usr/share/perl5/ExtUtils/typemap ListUtil.xs > ListUtil.xsc && mv ListUtil.xsc ListUtil.c cp lib/List/Util/XS.pm blib/lib/List/Util/XS.pm cp lib/List/Util.pm blib/lib/List/Util.pm cp lib/Scalar/Util.pm blib/lib/Scalar/Util.pm gcc -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 -DVERSION=\"1.31\" -DXS_VERSION=\"1.31\" -fPIC "-I/opt/rh/perl516/root/usr/lib64/perl5/CORE" -DPERL_EXT ListUtil.c ListUtil.xs: In function 'XS_List__Util_reduce': ListUtil.xs:250:14: warning: variable 'newsp' set but not used [-Wunused-but-set-variable] dMULTICALL; ^ ListUtil.xs: In function 'XS_List__Util_first': ListUtil.xs:303:14: warning: variable 'newsp' set but not used [-Wunused-but-set-variable] dMULTICALL; ^ ListUtil.xs: In function 'XS_List__Util_pairfirst': ListUtil.xs:368:7: warning: variable 'newsp' set but not used [-Wunused-but-set-variable] dMULTICALL; ^ ListUtil.xs: In function 'XS_List__Util_pairgrep': ListUtil.xs:452:7: warning: variable 'newsp' set but not used [-Wunused-but-set-variable] dMULTICALL; ^ ListUtil.xs: In function 'XS_List__Util_pairmap': ListUtil.xs:545:10: warning: unused variable 'b' [-Wunused-variable] SV *b = GvSV(bgv) = argi < items-1 ? ^ ListUtil.xs:544:10: warning: unused variable 'a' [-Wunused-variable] SV *a = GvSV(agv) = args_copy ? args_copy[argi] : stack[argi]; ^ ListUtil.xs:539:7: warning: variable 'newsp' set but not used [-Wunused-but-set-variable] dMULTICALL; ^ ListUtil.xs:587:10: warning: unused variable 'b' [-Wunused-variable] SV *b = GvSV(bgv) = argi < items-1 ? ^ ListUtil.xs:586:10: warning: unused variable 'a' [-Wunused-variable] SV *a = GvSV(agv) = args_copy ? args_copy[argi] : ST(argi); ^ ListUtil.c: In function 'XS_List__Util_min': ListUtil.xs:105:16: warning: 'retval' may be used uninitialized in this function [-Wmaybe-uninitialized] if(val < retval ? !ix : ix) { ^ ListUtil.xs:76:8: note: 'retval' was declared here NV retval; ^ rm -f blib/arch/auto/List/Util/Util.so 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 ListUtil.o -o blib/arch/auto/List/Util/Util.so \ \ chmod 755 blib/arch/auto/List/Util/Util.so /opt/rh/perl516/root/usr/bin/perl -MExtUtils::Command::MM -e 'cp_nonempty' -- Util.bs blib/arch/auto/List/Util/Util.bs 644 Manifying blib/man3/List::Util.3pm Manifying blib/man3/List::Util::XS.3pm Manifying blib/man3/Scalar::Util.3pm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WhPfjN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl516-perl-Scalar-List-Utils-1.31-2.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl516-perl-Scalar-List-Utils-1.31-2.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/perl516-perl-Scalar-List-Utils-1.31-2.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl516-perl-Scalar-List-Utils-1.31-2.el7.centos.x86_64 + cd Scalar-List-Utils-1.31 + scl enable perl516 ' make pure_install DESTDIR=/builddir/build/BUILDROOT/perl516-perl-Scalar-List-Utils-1.31-2.el7.centos.x86_64 ' Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl516-perl-Scalar-List-Utils-1.31-2.el7.centos.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/List/Util/Util.so Installing /builddir/build/BUILDROOT/perl516-perl-Scalar-List-Utils-1.31-2.el7.centos.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/Scalar/Util.pm Installing /builddir/build/BUILDROOT/perl516-perl-Scalar-List-Utils-1.31-2.el7.centos.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/List/Util.pm Installing /builddir/build/BUILDROOT/perl516-perl-Scalar-List-Utils-1.31-2.el7.centos.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/List/Util/XS.pm Installing /builddir/build/BUILDROOT/perl516-perl-Scalar-List-Utils-1.31-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/man/man3/List::Util::XS.3pm Installing /builddir/build/BUILDROOT/perl516-perl-Scalar-List-Utils-1.31-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/man/man3/List::Util.3pm Installing /builddir/build/BUILDROOT/perl516-perl-Scalar-List-Utils-1.31-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/man/man3/Scalar::Util.3pm + find /builddir/build/BUILDROOT/perl516-perl-Scalar-List-Utils-1.31-2.el7.centos.x86_64 -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl516-perl-Scalar-List-Utils-1.31-2.el7.centos.x86_64 -type f -name '*.bs' -size 0 -exec rm -f '{}' ';' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl516-perl-Scalar-List-Utils-1.31-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/Scalar-List-Utils-1.31 extracting debug info from /builddir/build/BUILDROOT/perl516-perl-Scalar-List-Utils-1.31-2.el7.centos.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/List/Util/Util.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 105 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.CIoywg + umask 022 + cd /builddir/build/BUILD + cd Scalar-List-Utils-1.31 + 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/00version.t ........... ok t/blessed.t ............. ok t/dualvar.t ............. ok t/first.t ............... ok t/getmagic-once.t ....... ok t/isvstring.t ........... ok t/lln.t ................. ok t/max.t ................. ok t/maxstr.t .............. ok t/min.t ................. ok t/minstr.t .............. ok t/multicall-refcount.t .. ok t/openhan.t ............. ok t/pair.t ................ ok t/proto.t ............... ok t/readonly.t ............ ok t/reduce.t .............. ok t/refaddr.t ............. ok t/reftype.t ............. ok t/shuffle.t ............. ok t/stack-corruption.t .... ok t/sum.t ................. ok t/sum0.t ................ ok t/tainted.t ............. ok t/weak.t ................ ok All tests successful. Files=25, Tests=347, 0 wallclock secs ( 0.08 usr 0.02 sys + 0.59 cusr 0.08 csys = 0.77 CPU) Result: PASS + exit 0 Processing files: perl516-perl-Scalar-List-Utils-1.31-2.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8YLk0M + umask 022 + cd /builddir/build/BUILD + cd Scalar-List-Utils-1.31 + DOCDIR=/builddir/build/BUILDROOT/perl516-perl-Scalar-List-Utils-1.31-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Scalar-List-Utils-1.31 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl516-perl-Scalar-List-Utils-1.31-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Scalar-List-Utils-1.31 + cp -pr Changes /builddir/build/BUILDROOT/perl516-perl-Scalar-List-Utils-1.31-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Scalar-List-Utils-1.31 + cp -pr README /builddir/build/BUILDROOT/perl516-perl-Scalar-List-Utils-1.31-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Scalar-List-Utils-1.31 + exit 0 Provides: perl516-perl(List::Util) = 1.31 perl516-perl(List::Util::XS) = 1.31 perl516-perl(Scalar::Util) = 1.31 perl516-perl-Scalar-List-Utils = 1.31-2.el7.centos perl516-perl-Scalar-List-Utils(x86-64) = 1.31-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: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) perl516-perl(Exporter) perl516-perl(List::Util) perl516-perl(XSLoader) perl516-perl(strict) rtld(GNU_HASH) Processing files: perl516-perl-Scalar-List-Utils-debuginfo-1.31-2.el7.centos.x86_64 Provides: scl-package(perl516) perl516-perl-Scalar-List-Utils-debuginfo = 1.31-2.el7.centos perl516-perl-Scalar-List-Utils-debuginfo(x86-64) = 1.31-2.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-Scalar-List-Utils-1.31-2.el7.centos.x86_64 warning: Could not canonicalize hostname: i-00012d0d Wrote: /builddir/build/RPMS/perl516-perl-Scalar-List-Utils-1.31-2.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/perl516-perl-Scalar-List-Utils-debuginfo-1.31-2.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.k8wPun + umask 022 + cd /builddir/build/BUILD + cd Scalar-List-Utils-1.31 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl516-perl-Scalar-List-Utils-1.31-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 -->