Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc --nodeps /builddir/build/SPECS/perl-Socket.spec'], chrootPath='/var/lib/mock/perl-Socket-2.010-5.el7-20200401053159-25931/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1005) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc --nodeps /builddir/build/SPECS/perl-Socket.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: ppc Building for target ppc Wrote: /builddir/build/SRPMS/perl-Socket-2.010-5.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc --nodeps /builddir/build/SPECS/perl-Socket.spec'], chrootPath='/var/lib/mock/perl-Socket-2.010-5.el7-20200401053159-25931/root'shell=Falseuid=1005env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc --nodeps /builddir/build/SPECS/perl-Socket.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: ppc Building for target ppc Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.T9D6yL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Socket-2.010 + /usr/bin/gzip -dc /builddir/build/SOURCES/Socket-2.010.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd Socket-2.010 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (Socket-2.018-Fix-calling-getnameinfo-on-tainted-value.patch):' Patch #0 (Socket-2.018-Fix-calling-getnameinfo-on-tainted-value.patch): + /usr/bin/cat /builddir/build/SOURCES/Socket-2.018-Fix-calling-getnameinfo-on-tainted-value.patch + /usr/bin/patch -p1 --fuzz=0 patching file Socket.xs patching file t/getnameinfo.t Patch #1 (Socket-2.010-inet_aton-Use-getaddrinfo-if-possible.patch): + echo 'Patch #1 (Socket-2.010-inet_aton-Use-getaddrinfo-if-possible.patch):' + /usr/bin/cat /builddir/build/SOURCES/Socket-2.010-inet_aton-Use-getaddrinfo-if-possible.patch + /usr/bin/patch -p1 --fuzz=0 patching file Socket.xs + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0PjR9f + umask 022 + cd /builddir/build/BUILD + cd Socket-2.010 + 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 -m32 -mcpu=power7 -mtune=power7' 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 Writing Makefile for Socket + make -j32 /usr/bin/perl /usr/share/perl5/vendor_perl/ExtUtils/xsubpp -noprototypes -typemap /usr/share/perl5/ExtUtils/typemap -typemap typemap Socket.xs > Socket.xsc && mv Socket.xsc Socket.c Running Mkbootstrap for Socket () cp Socket.pm blib/lib/Socket.pm chmod 644 Socket.bs cp Socket.bs blib/arch/auto/Socket/Socket.bs chmod 644 blib/arch/auto/Socket/Socket.bs 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 -m32 -mcpu=power7 -mtune=power7 -DVERSION=\"2.010\" -DXS_VERSION=\"2.010\" -fPIC "-I/usr/lib/perl5/CORE" -DHAS_IP_MREQ -DHAS_IP_MREQ_SOURCE -DI_NETINET_IP Socket.c ./const-xs.inc: In function 'XS_Socket_AUTOLOAD': ./const-xs.inc:890:6: warning: format '%d' expects argument of type 'int', but argument 4 has type 'line_t' [-Wformat=] COP_FILE(cop), CopLINE(cop)); ^ ./const-xs.inc:895:6: warning: format '%d' expects argument of type 'int', but argument 4 has type 'line_t' [-Wformat=] COP_FILE_F " line %d\n", sv, COP_FILE(cop), CopLINE(cop)); ^ Socket.xs: In function 'XS_Socket_unpack_sockaddr_in': Socket.xs:815:5: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'STRLEN' [-Wformat=] "Socket::unpack_sockaddr_in", sockaddrlen, sizeof(addr)); ^ Socket.xs:815:5: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int' [-Wformat=] 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 -m32 -mcpu=power7 -mtune=power7 -Wl,-z,relro -L/usr/local/lib Socket.o -o blib/arch/auto/Socket/Socket.so \ \ chmod 755 blib/arch/auto/Socket/Socket.so Manifying blib/man3/Socket.3pm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.k9bgHL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Socket-2.010-5.el7.ppc '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Socket-2.010-5.el7.ppc ++ dirname /builddir/build/BUILDROOT/perl-Socket-2.010-5.el7.ppc + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Socket-2.010-5.el7.ppc + cd Socket-2.010 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Socket-2.010-5.el7.ppc Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-Socket-2.010-5.el7.ppc/usr/lib/perl5/vendor_perl/auto/Socket/Socket.bs Installing /builddir/build/BUILDROOT/perl-Socket-2.010-5.el7.ppc/usr/lib/perl5/vendor_perl/auto/Socket/Socket.so Installing /builddir/build/BUILDROOT/perl-Socket-2.010-5.el7.ppc/usr/lib/perl5/vendor_perl/Socket.pm Installing /builddir/build/BUILDROOT/perl-Socket-2.010-5.el7.ppc/usr/share/man/man3/Socket.3pm + find /builddir/build/BUILDROOT/perl-Socket-2.010-5.el7.ppc -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl-Socket-2.010-5.el7.ppc -type f -name '*.bs' -size 0 -exec rm -f '{}' ';' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Socket-2.010-5.el7.ppc/usr + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/Socket-2.010 extracting debug info from /builddir/build/BUILDROOT/perl-Socket-2.010-5.el7.ppc/usr/lib/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. 263 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.YeOQWh + umask 022 + cd /builddir/build/BUILD + cd Socket-2.010 + make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "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=137, 3 wallclock secs ( 0.07 usr 0.01 sys + 0.32 cusr 0.04 csys = 0.44 CPU) Result: PASS + exit 0 Processing files: perl-Socket-2.010-5.el7.ppc Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.i1iXaQ + umask 022 + cd /builddir/build/BUILD + cd Socket-2.010 + DOCDIR=/builddir/build/BUILDROOT/perl-Socket-2.010-5.el7.ppc/usr/share/doc/perl-Socket-2.010 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Socket-2.010-5.el7.ppc/usr/share/doc/perl-Socket-2.010 + cp -pr Artistic /builddir/build/BUILDROOT/perl-Socket-2.010-5.el7.ppc/usr/share/doc/perl-Socket-2.010 + cp -pr Changes /builddir/build/BUILDROOT/perl-Socket-2.010-5.el7.ppc/usr/share/doc/perl-Socket-2.010 + cp -pr Copying /builddir/build/BUILDROOT/perl-Socket-2.010-5.el7.ppc/usr/share/doc/perl-Socket-2.010 + cp -pr LICENSE /builddir/build/BUILDROOT/perl-Socket-2.010-5.el7.ppc/usr/share/doc/perl-Socket-2.010 + exit 0 Provides: perl(Socket) = 2.010 perl-Socket = 2.010-5.el7 perl-Socket(ppc-32) = 2.010-5.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) perl(Carp) perl(Exporter) perl(XSLoader) perl(strict) perl(warnings::register) rtld(GNU_HASH) Processing files: perl-Socket-debuginfo-2.010-5.el7.ppc Provides: perl-Socket-debuginfo = 2.010-5.el7 perl-Socket-debuginfo(ppc-32) = 2.010-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/perl-Socket-2.010-5.el7.ppc Wrote: /builddir/build/RPMS/perl-Socket-2.010-5.el7.ppc.rpm Wrote: /builddir/build/RPMS/perl-Socket-debuginfo-2.010-5.el7.ppc.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2Y2ygA + umask 022 + cd /builddir/build/BUILD + cd Socket-2.010 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Socket-2.010-5.el7.ppc + exit 0 Child return code was: 0