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-BSD-Resource.spec'], False, '/var/lib/mock/sclo7-perl516-rh-el7-build-3188-5302/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-BSD-Resource.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-BSD-Resource-1.29.07-0.bootstrap1.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 x86_64 --nodeps builddir/build/SPECS/perl-BSD-Resource.spec'], False, '/var/lib/mock/sclo7-perl516-rh-el7-build-3188-5302/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-BSD-Resource.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.aOVPGf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf BSD-Resource-1.2907 + /usr/bin/gzip -dc /builddir/build/SOURCES/BSD-Resource-1.2907.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd BSD-Resource-1.2907 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Yeg5jg + umask 022 + cd /builddir/build/BUILD + cd BSD-Resource-1.2907 + scl enable perl516 ' 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" ' Configuring BSD::Resource... Checking whether you have certain header files... You do have . Excellent. Checking to see whether you have rlim_t... You seem to have rlim_t defined (which is nice). Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for BSD::Resource Done configuring BSD::Resource. Now you may issue 'make'. Do not forget also 'make test'. If some tests fail, please rerun the tests (see INSTALL). + scl enable perl516 ' make -j16 ' /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 Resource.xs > Resource.xsc && mv Resource.xsc Resource.c cp Resource.pm blib/lib/BSD/Resource.pm AutoSplitting blib/lib/BSD/Resource.pm (blib/lib/auto/BSD/Resource) 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.2907\" -DXS_VERSION=\"1.2907\" -fPIC "-I/opt/rh/perl516/root/usr/lib64/perl5/CORE" -DRlim_t=rlim_t Resource.c Resource.xs:208:1: warning: 'not_here' defined but not used [-Wunused-function] not_here(s) ^ rm -f blib/arch/auto/BSD/Resource/Resource.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 Resource.o -o blib/arch/auto/BSD/Resource/Resource.so \ \ chmod 755 blib/arch/auto/BSD/Resource/Resource.so /opt/rh/perl516/root/usr/bin/perl -MExtUtils::Command::MM -e 'cp_nonempty' -- Resource.bs blib/arch/auto/BSD/Resource/Resource.bs 644 Manifying blib/man3/BSD::Resource.3pm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2XUKmj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64 + cd BSD-Resource-1.2907 + scl enable perl516 ' make pure_install DESTDIR=/builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64 ' Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/Resource.so Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/BSD/Resource.pm Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/minflt.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/get_prios.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/getrusage.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/inblock.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/setrlimit.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/msgsnd.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/_g.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/isrss.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/getpriority.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/majflt.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/setpriority.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/getrlimit.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/ixrss.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/oublock.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/stime.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/times.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/nvcsw.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/nsignals.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/nivcsw.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/idrss.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/soft.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/hard.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/get_rlimits.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/_find_rlimit.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/nswap.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/_find_prio.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/utime.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/autosplit.ix Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/msgrcv.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/maxrss.al Installing /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/share/man/man3/BSD::Resource.3pm + find /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64 -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64 -type f -name '*.bs' -a -size 0 -exec rm -f '{}' ';' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.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/BSD-Resource-1.2907 extracting debug info from /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/BSD/Resource/Resource.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 92 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.YsTeeo + umask 022 + cd /builddir/build/BUILD + cd BSD-Resource-1.2907 + 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/getpriority.t ... ok t/getrlimit.t ..... ok t/getrusage.t ..... ok t/pod-coverage.t .. ok t/pod.t ........... ok t/setpriority.t ... ok t/setrlimit.t ..... ok t/times.t ......... ok All tests successful. Files=8, Tests=41, 27 wallclock secs ( 0.07 usr 0.01 sys + 9.66 cusr 8.26 csys = 18.00 CPU) Result: PASS + exit 0 Processing files: perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4Emvbo + umask 022 + cd /builddir/build/BUILD + cd BSD-Resource-1.2907 + DOCDIR=/builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-BSD-Resource-1.29.07 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-BSD-Resource-1.29.07 + cp -pr ChangeLog /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-BSD-Resource-1.29.07 + cp -pr README /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-BSD-Resource-1.29.07 + exit 0 Provides: perl516-perl(BSD::Resource) = 1.2907 perl516-perl-BSD-Resource = 1.29.07-0.bootstrap1.2.el7 perl516-perl-BSD-Resource(x86-64) = 1.29.07-0.bootstrap1.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: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) perl516-perl >= 0:5.002 perl516-perl(AutoLoader) perl516-perl(Carp) perl516-perl(DynaLoader) perl516-perl(Exporter) perl516-perl(strict) perl516-perl(vars) perl516-runtime rtld(GNU_HASH) Processing files: perl516-perl-BSD-Resource-debuginfo-1.29.07-0.bootstrap1.2.el7.x86_64 Provides: scl-package(perl516) perl516-perl-BSD-Resource-debuginfo = 1.29.07-0.bootstrap1.2.el7 perl516-perl-BSD-Resource-debuginfo(x86-64) = 1.29.07-0.bootstrap1.2.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-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64 Wrote: /builddir/build/RPMS/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.el7.x86_64.rpm Wrote: /builddir/build/RPMS/perl516-perl-BSD-Resource-debuginfo-1.29.07-0.bootstrap1.2.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.YQAOBq + umask 022 + cd /builddir/build/BUILD + cd BSD-Resource-1.2907 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl516-perl-BSD-Resource-1.29.07-0.bootstrap1.2.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 -->