Mock Version: 1.1.41 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/perl-Socket.spec'], False, '/var/lib/mock/epel-7-x86_64-mockbuilder-1659/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-Socket.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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/perl516-perl-Socket-2.013-2.el7.centos.src.rpm warning: Could not canonicalize hostname: i-00012cc4 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-Socket.spec'], False, '/var/lib/mock/epel-7-x86_64-mockbuilder-1659/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-Socket.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.9UK2eg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Socket-2.013 + /usr/bin/gzip -dc /builddir/build/SOURCES/Socket-2.013.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd Socket-2.013 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BlKfYS + umask 022 + cd /builddir/build/BUILD + cd Socket-2.013 + scl enable perl516 ' perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" ' Checking HAS_SOCKADDR_SA_LEN... test-0.c: In function 'main': test-0.c:16:27: error: 'struct sockaddr' has no member named 'sa_len' struct sockaddr sa; sa.sa_len = 0; ^ test-0.c:16:21: warning: variable 'sa' set but not used [-Wunused-but-set-variable] struct sockaddr sa; sa.sa_len = 0; ^ Checking HAS_IP_MREQ... test-1.c: In function 'main': test-1.c:16:20: warning: variable 'mreq' set but not used [-Wunused-but-set-variable] struct ip_mreq mreq; mreq.imr_multiaddr.s_addr = INADDR_ANY; ^ Checking HAS_IP_MREQ_SOURCE... test-2.c: In function 'main': test-2.c:16:27: warning: variable 'mreq' set but not used [-Wunused-but-set-variable] struct ip_mreq_source mreq; mreq.imr_multiaddr.s_addr = INADDR_ANY; ^ Checking I_NETINET_IP... Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Socket + scl enable perl516 ' make -j3 ' /opt/rh/perl516/root/usr/bin/perl /opt/rh/perl516/root/usr/share/perl5/ExtUtils/xsubpp -noprototypes -typemap /opt/rh/perl516/root/usr/share/perl5/ExtUtils/typemap -typemap typemap Socket.xs > Socket.xsc && mv Socket.xsc Socket.c cp Socket.pm blib/lib/Socket.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=\"2.013\" -DXS_VERSION=\"2.013\" -fPIC "-I/opt/rh/perl516/root/usr/lib64/perl5/CORE" -DHAS_IP_MREQ -DHAS_IP_MREQ_SOURCE -DI_NETINET_IP Socket.c rm -f blib/arch/auto/Socket/Socket.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 Socket.o -o blib/arch/auto/Socket/Socket.so \ \ chmod 755 blib/arch/auto/Socket/Socket.so /opt/rh/perl516/root/usr/bin/perl -MExtUtils::Command::MM -e 'cp_nonempty' -- Socket.bs blib/arch/auto/Socket/Socket.bs 644 Manifying blib/man3/Socket.3pm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tXFpKz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl516-perl-Socket-2.013-2.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl516-perl-Socket-2.013-2.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/perl516-perl-Socket-2.013-2.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl516-perl-Socket-2.013-2.el7.centos.x86_64 + cd Socket-2.013 + scl enable perl516 ' make pure_install DESTDIR=/builddir/build/BUILDROOT/perl516-perl-Socket-2.013-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-Socket-2.013-2.el7.centos.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/Socket/Socket.so Installing /builddir/build/BUILDROOT/perl516-perl-Socket-2.013-2.el7.centos.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/Socket.pm Installing /builddir/build/BUILDROOT/perl516-perl-Socket-2.013-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/man/man3/Socket.3pm + find /builddir/build/BUILDROOT/perl516-perl-Socket-2.013-2.el7.centos.x86_64 -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl516-perl-Socket-2.013-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-Socket-2.013-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/Socket-2.013 extracting debug info from /builddir/build/BUILDROOT/perl516-perl-Socket-2.013-2.el7.centos.x86_64/opt/rh/perl516/root/usr/lib64/perl5/vendor_perl/auto/Socket/Socket.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 265 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.vZqYqi + umask 022 + cd /builddir/build/BUILD + cd Socket-2.013 + 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/getaddrinfo.t .. ok t/getnameinfo.t .. ok t/ip_mreq.t ...... ok t/ipv6_mreq.t .... ok t/sockaddr.t ..... ok t/Socket.t ....... ok t/socketpair.t ... ok All tests successful. Files=7, Tests=136, 4 wallclock secs ( 0.04 usr 0.01 sys + 0.15 cusr 0.03 csys = 0.23 CPU) Result: PASS Processing files: perl516-perl-Socket-2.013-2.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.zGawki + exit 0 + umask 022 + cd /builddir/build/BUILD + cd Socket-2.013 + DOCDIR=/builddir/build/BUILDROOT/perl516-perl-Socket-2.013-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Socket-2.013 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl516-perl-Socket-2.013-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Socket-2.013 + cp -pr Artistic /builddir/build/BUILDROOT/perl516-perl-Socket-2.013-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Socket-2.013 + cp -pr Changes /builddir/build/BUILDROOT/perl516-perl-Socket-2.013-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Socket-2.013 + cp -pr Copying /builddir/build/BUILDROOT/perl516-perl-Socket-2.013-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Socket-2.013 + cp -pr LICENSE /builddir/build/BUILDROOT/perl516-perl-Socket-2.013-2.el7.centos.x86_64/opt/rh/perl516/root/usr/share/doc/perl516-perl-Socket-2.013 + exit 0 Provides: perl516-perl(Socket) = 2.013 perl516-perl-Socket = 1:2.013-2.el7.centos perl516-perl-Socket(x86-64) = 1:2.013-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.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) perl516-perl(Carp) perl516-perl(Exporter) perl516-perl(XSLoader) perl516-perl(strict) perl516-perl(warnings::register) rtld(GNU_HASH) Processing files: perl516-perl-Socket-debuginfo-2.013-2.el7.centos.x86_64 Provides: scl-package(perl516) perl516-perl-Socket-debuginfo = 1:2.013-2.el7.centos perl516-perl-Socket-debuginfo(x86-64) = 1:2.013-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-Socket-2.013-2.el7.centos.x86_64 warning: Could not canonicalize hostname: i-00012cc4 Wrote: /builddir/build/RPMS/perl516-perl-Socket-2.013-2.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/perl516-perl-Socket-debuginfo-2.013-2.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.FXIw5i + umask 022 + cd /builddir/build/BUILD + cd Socket-2.013 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl516-perl-Socket-2.013-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 -->