Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/perl-Socket.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-220431-16804/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --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': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/perl-Socket-2.037-2.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/perl-Socket.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-220431-16804/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --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': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.A8lHqj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Socket-2.037 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Socket-2.037.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Socket-2.037 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/Socket.t + chmod +x t/Socket.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/getaddrinfo.t + chmod +x t/getaddrinfo.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/getnameinfo.t + chmod +x t/getnameinfo.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/ip_mreq.t + chmod +x t/ip_mreq.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/ipv6_mreq.t + chmod +x t/ipv6_mreq.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/sockaddr.t + chmod +x t/sockaddr.t + for F in t/*.t + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' t/socketpair.t + chmod +x t/socketpair.t + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GRJnh2 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Socket-2.037 + perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 'OPTIMIZE=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' 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' 17 | { struct sockaddr sa; sa.sa_len = 0; } | ^ test-0.c:17:23: warning: variable 'sa' set but not used [-Wunused-but-set-variable] 17 | { struct sockaddr sa; sa.sa_len = 0; } | ^~ Checking I_NETINET_IP... Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Socket + /usr/bin/make -O -j32 V=1 VERBOSE=1 Running Mkbootstrap for Socket () chmod 644 "Socket.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Socket.bs blib/arch/auto/Socket/Socket.bs 644 cp Socket.pm blib/lib/Socket.pm "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -noprototypes -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/builddir/build/BUILD/Socket-2.037/typemap' Socket.xs > Socket.xsc mv Socket.xsc Socket.c gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"2.037\" -DXS_VERSION=\"2.037\" -fPIC "-I/usr/lib64/perl5/CORE" -DI_NETINET_IP Socket.c rm -f blib/arch/auto/Socket/Socket.so gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cemG7V + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Socket-2.037-2.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Socket-2.037-2.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/perl-Socket-2.037-2.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Socket-2.037-2.ocs23.loongarch64 + cd Socket-2.037 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/perl-Socket-2.037-2.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' "/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.037-2.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/auto/Socket/Socket.so Installing /builddir/build/BUILDROOT/perl-Socket-2.037-2.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/Socket.pm Installing /builddir/build/BUILDROOT/perl-Socket-2.037-2.ocs23.loongarch64/usr/share/man/man3/Socket.3pm + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Socket-2.037-2.ocs23.loongarch64/usr + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.037-2.ocs23 --unique-debug-suffix -2.037-2.ocs23.loongarch64 --unique-debug-src-base perl-Socket-2.037-2.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/Socket-2.037 extracting debug info from /builddir/build/BUILDROOT/perl-Socket-2.037-2.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/auto/Socket/Socket.so 334 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.5WFTLd + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Socket-2.037 ++ nproc + export HARNESS_OPTIONS=j32 + HARNESS_OPTIONS=j32 + 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/getnameinfo.t .. ok t/ip_mreq.t ...... ok t/ipv6_mreq.t .... ok t/Socket.t ....... ok t/sockaddr.t ..... ok t/getaddrinfo.t .. ok t/socketpair.t ... ok All tests successful. Files=7, Tests=153, 3 wallclock secs ( 0.05 usr 0.00 sys + 0.60 cusr 0.08 csys = 0.73 CPU) Result: PASS + RPM_EC=0 ++ jobs -p + exit 0 Processing files: perl-Socket-2.037-2.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tpmQ4z + umask 022 + cd /builddir/build/BUILD + cd Socket-2.037 + DOCDIR=/builddir/build/BUILDROOT/perl-Socket-2.037-2.ocs23.loongarch64/usr/share/doc/perl-Socket + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Socket-2.037-2.ocs23.loongarch64/usr/share/doc/perl-Socket + cp -pr Changes /builddir/build/BUILDROOT/perl-Socket-2.037-2.ocs23.loongarch64/usr/share/doc/perl-Socket + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.mdg3Q7 + umask 022 + cd /builddir/build/BUILD + cd Socket-2.037 + LICENSEDIR=/builddir/build/BUILDROOT/perl-Socket-2.037-2.ocs23.loongarch64/usr/share/licenses/perl-Socket + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Socket-2.037-2.ocs23.loongarch64/usr/share/licenses/perl-Socket + cp -pr Artistic /builddir/build/BUILDROOT/perl-Socket-2.037-2.ocs23.loongarch64/usr/share/licenses/perl-Socket + cp -pr Copying /builddir/build/BUILDROOT/perl-Socket-2.037-2.ocs23.loongarch64/usr/share/licenses/perl-Socket + cp -pr LICENSE /builddir/build/BUILDROOT/perl-Socket-2.037-2.ocs23.loongarch64/usr/share/licenses/perl-Socket + RPM_EC=0 ++ jobs -p + exit 0 Provides: perl(Socket) = 2.037 perl-Socket = 2.037-2.ocs23 perl-Socket(loongarch-64) = 2.037-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libperl.so.5.36()(64bit) perl(:MODULE_COMPAT_5.36.0) perl(:VERSION) >= 5.6.1 perl(Carp) perl(Exporter) perl(XSLoader) perl(strict) perl(warnings::register) perl-libs rtld(GNU_HASH) Processing files: perl-Socket-debugsource-2.037-2.ocs23.loongarch64 Provides: perl-Socket-debugsource = 2.037-2.ocs23 perl-Socket-debugsource(loongarch-64) = 2.037-2.ocs23 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.037-2.ocs23.loongarch64 Provides: debuginfo(build-id) = 867a8788b7191b1658b1decb5141a143949d75ef perl-Socket-debuginfo = 2.037-2.ocs23 perl-Socket-debuginfo(loongarch-64) = 2.037-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-Socket-debugsource(loongarch-64) = 2.037-2.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Socket-2.037-2.ocs23.loongarch64 Wrote: /builddir/build/RPMS/perl-Socket-debugsource-2.037-2.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/perl-Socket-debuginfo-2.037-2.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/perl-Socket-2.037-2.ocs23.loongarch64.rpm Child return code was: 0