Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/perl-Socket.spec'], chrootPath='/var/lib/mock/module-f3d63504c8c3f274-build-11062512-840081/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/perl-Socket.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False sh: perl: command not found sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory Building target platforms: s390x Building for target s390x Wrote: /builddir/build/SRPMS/perl-Socket-2.027-1.module_f3d63504.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/perl-Socket.spec'], chrootPath='/var/lib/mock/module-f3d63504c8c3f274-build-11062512-840081/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/perl-Socket.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: s390x Building for target s390x Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UETTVb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Socket-2.027 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/Socket-2.027.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Socket-2.027 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gnAnXb + exit 0 + umask 022 + cd /builddir/build/BUILD + cd Socket-2.027 + perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 'OPTIMIZE=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13' Checking HAS_SOCKADDR_SA_LEN... test-0.c: In function 'main': test-0.c:17:29: error: 'struct sockaddr' has no member named 'sa_len' { struct sockaddr sa; sa.sa_len = 0; } ^ test-0.c:17:23: warning: variable 'sa' set but not used [-Wunused-but-set-variable] { struct sockaddr sa; sa.sa_len = 0; } ^~ {standard input}: Assembler messages: {standard input}: Error: .size expression for test_0.c does not evaluate to a constant Checking I_NETINET_IP... Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Socket + make -j2 Running Mkbootstrap for Socket () chmod 644 "Socket.bs" "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -noprototypes -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/Socket-2.027/typemap' Socket.xs > Socket.xsc cp Socket.pm blib/lib/Socket.pm "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Socket.bs blib/arch/auto/Socket/Socket.bs 644 mv Socket.xsc Socket.c gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -DVERSION=\"2.027\" -DXS_VERSION=\"2.027\" -fPIC "-I/usr/lib64/perl5/CORE" -DI_NETINET_IP Socket.c rm -f blib/arch/auto/Socket/Socket.so gcc -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong Socket.o -o blib/arch/auto/Socket/Socket.so \ -lperl \ chmod 755 blib/arch/auto/Socket/Socket.so Manifying 1 pod document + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.T6bgsm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Socket-2.027-1.module_f3d63504.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Socket-2.027-1.module_f3d63504.s390x ++ dirname /builddir/build/BUILDROOT/perl-Socket-2.027-1.module_f3d63504.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Socket-2.027-1.module_f3d63504.s390x + cd Socket-2.027 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Socket-2.027-1.module_f3d63504.s390x "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Socket.bs blib/arch/auto/Socket/Socket.bs 644 Manifying 1 pod document Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /builddir/build/BUILDROOT/perl-Socket-2.027-1.module_f3d63504.s390x/usr/lib64/perl5/vendor_perl/auto/Socket/Socket.so Installing /builddir/build/BUILDROOT/perl-Socket-2.027-1.module_f3d63504.s390x/usr/lib64/perl5/vendor_perl/Socket.pm Installing /builddir/build/BUILDROOT/perl-Socket-2.027-1.module_f3d63504.s390x/usr/share/man/man3/Socket.3pm + find /builddir/build/BUILDROOT/perl-Socket-2.027-1.module_f3d63504.s390x -type f -name '*.bs' -size 0 -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Socket-2.027-1.module_f3d63504.s390x/usr + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.027-1.module_f3d63504 --unique-debug-suffix -2.027-1.module_f3d63504.s390x --unique-debug-src-base perl-Socket-2.027-1.module_f3d63504.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Socket-2.027 extracting debug info from /builddir/build/BUILDROOT/perl-Socket-2.027-1.module_f3d63504.s390x/usr/lib64/perl5/vendor_perl/auto/Socket/Socket.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 304 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.UeGhN1 + umask 022 + cd /builddir/build/BUILD + cd Socket-2.027 + make test "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Socket.bs blib/arch/auto/Socket/Socket.bs 644 PERL_DL_NONLAZY=1 "/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=149, 4 wallclock secs ( 0.04 usr 0.00 sys + 0.31 cusr 0.03 csys = 0.38 CPU) Result: PASS + exit 0 Processing files: perl-Socket-2.027-1.module_f3d63504.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.luwpr4 + umask 022 + cd /builddir/build/BUILD + cd Socket-2.027 + DOCDIR=/builddir/build/BUILDROOT/perl-Socket-2.027-1.module_f3d63504.s390x/usr/share/doc/perl-Socket + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Socket-2.027-1.module_f3d63504.s390x/usr/share/doc/perl-Socket + cp -pr Changes /builddir/build/BUILDROOT/perl-Socket-2.027-1.module_f3d63504.s390x/usr/share/doc/perl-Socket + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.URs9T7 + umask 022 + cd /builddir/build/BUILD + cd Socket-2.027 + LICENSEDIR=/builddir/build/BUILDROOT/perl-Socket-2.027-1.module_f3d63504.s390x/usr/share/licenses/perl-Socket + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Socket-2.027-1.module_f3d63504.s390x/usr/share/licenses/perl-Socket + cp -pr Artistic /builddir/build/BUILDROOT/perl-Socket-2.027-1.module_f3d63504.s390x/usr/share/licenses/perl-Socket + cp -pr Copying /builddir/build/BUILDROOT/perl-Socket-2.027-1.module_f3d63504.s390x/usr/share/licenses/perl-Socket + cp -pr LICENSE /builddir/build/BUILDROOT/perl-Socket-2.027-1.module_f3d63504.s390x/usr/share/licenses/perl-Socket + exit 0 Provides: perl(Socket) = 2.027 perl-Socket = 4:2.027-1.module_f3d63504 perl-Socket(s390-64) = 4:2.027-1.module_f3d63504 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)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libperl.so.5.26()(64bit) perl(Carp) perl(Exporter) perl(XSLoader) perl(strict) perl(warnings::register) rtld(GNU_HASH) Processing files: perl-Socket-debugsource-2.027-1.module_f3d63504.s390x Provides: perl-Socket-debugsource = 4:2.027-1.module_f3d63504 perl-Socket-debugsource(s390-64) = 4:2.027-1.module_f3d63504 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-Socket-debuginfo-2.027-1.module_f3d63504.s390x Provides: debuginfo(build-id) = 472b25712379c7c1f469c63778615eab25f6000d perl-Socket-debuginfo = 4:2.027-1.module_f3d63504 perl-Socket-debuginfo(s390-64) = 4:2.027-1.module_f3d63504 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-Socket-debugsource(s390-64) = 4:2.027-1.module_f3d63504 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Socket-2.027-1.module_f3d63504.s390x Wrote: /builddir/build/RPMS/perl-Socket-2.027-1.module_f3d63504.s390x.rpm Wrote: /builddir/build/RPMS/perl-Socket-debugsource-2.027-1.module_f3d63504.s390x.rpm Wrote: /builddir/build/RPMS/perl-Socket-debuginfo-2.027-1.module_f3d63504.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Vnwk2q + umask 022 + cd /builddir/build/BUILD + cd Socket-2.027 + /usr/bin/rm -rf /builddir/build/BUILDROOT/perl-Socket-2.027-1.module_f3d63504.s390x + exit 0 Child return code was: 0