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-Digest-SHA.spec'], False, '/var/lib/mock/sclo7-perl516-rh-el7-build-7024-8828/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-Digest-SHA.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) /var/tmp/scl1IEpff: line 8: /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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/perl516-perl-Digest-SHA-5.85-3.el7.src.rpm error: Macro % has illegal name (%define) error: Macro % has illegal name (%define) error: Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/perl-Digest-SHA.spec'], False, '/var/lib/mock/sclo7-perl516-rh-el7-build-7024-8828/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-Digest-SHA.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.B06Dnt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Digest-SHA-5.85 + /usr/bin/gzip -dc /builddir/build/SOURCES/Digest-SHA-5.85.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd Digest-SHA-5.85 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (Digest-SHA-5.84-Reset-CFLAGS.patch):' Patch #0 (Digest-SHA-5.84-Reset-CFLAGS.patch): + /usr/bin/cat /builddir/build/SOURCES/Digest-SHA-5.84-Reset-CFLAGS.patch + /usr/bin/patch -p1 --fuzz=0 patching file Makefile.PL + chmod -x examples/dups + scl enable perl516 ' perl -MExtUtils::MakeMaker -e '\''ExtUtils::MM_Unix->fixin(q{examples/dups})'\'' ' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.N8pYHL + umask 022 + cd /builddir/build/BUILD + cd Digest-SHA-5.85 + scl enable perl516 ' /opt/rh/perl516/root/usr/bin/perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" ' Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Digest::SHA + 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 -typemap typemap SHA.xs > SHA.xsc && mv SHA.xsc SHA.c cp shasum blib/script/shasum /opt/rh/perl516/root/usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/shasum cp lib/Digest/SHA.pm blib/lib/Digest/SHA.pm Warning: Found a 'CODE' section which seems to be using 'RETVAL' but no 'OUTPUT' section. in SHA.xs, line 36 gcc -c -I. -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=\"5.85\" -DXS_VERSION=\"5.85\" -fPIC "-I/opt/rh/perl516/root/usr/lib64/perl5/CORE" -DSHA_PerlIO SHA.c In file included from SHA.xs:3:0: SHA.c: In function 'XS_Digest__SHA_shaclose': /opt/rh/perl516/root/usr/lib64/perl5/CORE/XSUB.h:175:28: warning: unused variable 'targ' [-Wunused-variable] #define dXSTARG SV * const targ = ((PL_op->op_private & OPpENTERSUB_HASTARG) \ ^ SHA.c:187:2: note: in expansion of macro 'dXSTARG' dXSTARG; ^ SHA.c:186:6: warning: variable 'RETVAL' set but not used [-Wunused-but-set-variable] int RETVAL; ^ rm -f blib/arch/auto/Digest/SHA/SHA.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 SHA.o -o blib/arch/auto/Digest/SHA/SHA.so \ \ chmod 755 blib/arch/auto/Digest/SHA/SHA.so /opt/rh/perl516/root/usr/bin/perl -MExtUtils::Command::MM -e 'cp_nonempty' -- SHA.bs blib/arch/auto/Digest/SHA/SHA.bs 644 Manifying blib/man1/shasum.1 Manifying blib/man3/Digest::SHA.3pm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8u77U9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl516-perl-Digest-SHA-5.85-3.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl516-perl-Digest-SHA-5.85-3.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/perl516-perl-Digest-SHA-5.85-3.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl516-perl-Digest-SHA-5.85-3.el7.x86_64 + cd Digest-SHA-5.85 + scl enable perl516 ' make pure_install DESTDIR=/builddir/build/BUILDROOT/perl516-perl-Digest-SHA-5.85-3.el7.x86_64 ' Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl516-perl-Digest-SHA-5.85-3.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/Digest/SHA/SHA.so Installing /builddir/build/BUILDROOT/perl516-perl-Digest-SHA-5.85-3.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/Digest/SHA.pm Installing /builddir/build/BUILDROOT/perl516-perl-Digest-SHA-5.85-3.el7.x86_64/opt/rh/perl516/root/usr/share/man/man1/shasum.1 Installing /builddir/build/BUILDROOT/perl516-perl-Digest-SHA-5.85-3.el7.x86_64/opt/rh/perl516/root/usr/share/man/man3/Digest::SHA.3pm Installing /builddir/build/BUILDROOT/perl516-perl-Digest-SHA-5.85-3.el7.x86_64/opt/rh/perl516/root/usr/bin/shasum + find /builddir/build/BUILDROOT/perl516-perl-Digest-SHA-5.85-3.el7.x86_64 -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl516-perl-Digest-SHA-5.85-3.el7.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-Digest-SHA-5.85-3.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/Digest-SHA-5.85 extracting debug info from /builddir/build/BUILDROOT/perl516-perl-Digest-SHA-5.85-3.el7.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/Digest/SHA/SHA.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 109 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.biORKz + umask 022 + cd /builddir/build/BUILD + cd Digest-SHA-5.85 + 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/allfcns.t .... ok t/base64.t ..... ok t/bitbuf.t ..... ok t/dumpload.t ... ok t/fips180-4.t .. ok t/fips198.t .... ok t/gg.t ......... ok t/gglong.t ..... ok t/hmacsha.t .... ok t/ireland.t .... ok t/methods.t .... ok t/nistbit.t .... ok t/nistbyte.t ... ok t/pod.t ........ ok t/podcover.t ... ok t/rfc2202.t .... ok t/sha1.t ....... ok t/sha224.t ..... ok t/sha256.t ..... ok t/sha384.t ..... ok t/sha512.t ..... ok t/unicode.t .... ok t/woodbury.t ... ok All tests successful. Files=23, Tests=132, 1 wallclock secs ( 0.05 usr 0.03 sys + 0.40 cusr 0.06 csys = 0.54 CPU) Result: PASS + exit 0 Processing files: perl516-perl-Digest-SHA-5.85-3.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.iWU2D2 + umask 022 + cd /builddir/build/BUILD + cd Digest-SHA-5.85 + DOCDIR=/builddir/build/BUILDROOT/perl516-perl-Digest-SHA-5.85-3.el7.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Digest-SHA-5.85 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl516-perl-Digest-SHA-5.85-3.el7.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Digest-SHA-5.85 + cp -pr Changes /builddir/build/BUILDROOT/perl516-perl-Digest-SHA-5.85-3.el7.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Digest-SHA-5.85 + cp -pr examples /builddir/build/BUILDROOT/perl516-perl-Digest-SHA-5.85-3.el7.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Digest-SHA-5.85 + cp -pr README /builddir/build/BUILDROOT/perl516-perl-Digest-SHA-5.85-3.el7.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Digest-SHA-5.85 + exit 0 Provides: perl516-perl(Digest::SHA) = 5.85 perl516-perl-Digest-SHA = 1:5.85-3.el7 perl516-perl-Digest-SHA(x86-64) = 1:5.85-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: /opt/rh/perl516/root/usr/bin/perl libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) perl516-perl >= 0:5.003000 perl516-perl(DynaLoader) perl516-perl(Exporter) perl516-perl(Fcntl) perl516-perl(Getopt::Long) perl516-perl(integer) perl516-perl(strict) perl516-perl(vars) perl516-runtime rtld(GNU_HASH) Processing files: perl516-perl-Digest-SHA-debuginfo-5.85-3.el7.x86_64 Provides: scl-package(perl516) perl516-perl-Digest-SHA-debuginfo = 1:5.85-3.el7 perl516-perl-Digest-SHA-debuginfo(x86-64) = 1:5.85-3.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-Digest-SHA-5.85-3.el7.x86_64 Wrote: /builddir/build/RPMS/perl516-perl-Digest-SHA-5.85-3.el7.x86_64.rpm Wrote: /builddir/build/RPMS/perl516-perl-Digest-SHA-debuginfo-5.85-3.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.w4MxZs + umask 022 + cd /builddir/build/BUILD + cd Digest-SHA-5.85 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl516-perl-Digest-SHA-5.85-3.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) Child return code was: 0 LEAVE do -->