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-B-COW.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-240247-21805/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffe02da170>timeout=86400uid=983gid=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-B-COW.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: loongarch64
Building for target loongarch64
Wrote: /builddir/build/SRPMS/perl-B-COW-0.007-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-B-COW.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-240247-21805/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffe02da170>timeout=86400uid=983gid=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-B-COW.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\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.Ths85w
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf B-COW-0.007
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/B-COW-0.007.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd B-COW-0.007
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kkleZm
+ 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 B-COW-0.007
+ perl Makefile.PL INSTALLDIRS=vendor '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' NO_PACKLIST=1 NO_PERLLOCAL=1
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for B::COW
Writing MYMETA.yml and MYMETA.json
+ /usr/bin/make -O -j32 V=1 VERBOSE=1
Running Mkbootstrap for COW ()
chmod 644 "COW.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- COW.bs blib/arch/auto/B/COW/COW.bs 644
cp lib/B/COW.pm blib/lib/B/COW.pm
"/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp"  -typemap '/usr/share/perl5/ExtUtils/typemap'  COW.xs > COW.xsc
mv COW.xsc COW.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=\"0.007\" -DXS_VERSION=\"0.007\" -fPIC "-I/usr/lib64/perl5/CORE"   COW.c
rm -f blib/arch/auto/B/COW/COW.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  COW.o  -o blib/arch/auto/B/COW/COW.so  \
    -lperl   \
  
chmod 755 blib/arch/auto/B/COW/COW.so
Manifying 1 pod document
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rIHLEr
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/perl-B-COW-0.007-2.ocs23.loongarch64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/perl-B-COW-0.007-2.ocs23.loongarch64
++ dirname /builddir/build/BUILDROOT/perl-B-COW-0.007-2.ocs23.loongarch64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/perl-B-COW-0.007-2.ocs23.loongarch64
+ cd B-COW-0.007
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/perl-B-COW-0.007-2.ocs23.loongarch64 'INSTALL=/usr/bin/install -p'
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- COW.bs blib/arch/auto/B/COW/COW.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-B-COW-0.007-2.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/auto/B/COW/COW.so
Installing /builddir/build/BUILDROOT/perl-B-COW-0.007-2.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/B/COW.pm
Installing /builddir/build/BUILDROOT/perl-B-COW-0.007-2.ocs23.loongarch64/usr/share/man/man3/B::COW.3pm
+ find /builddir/build/BUILDROOT/perl-B-COW-0.007-2.ocs23.loongarch64 -type f -name '*.bs' -empty -delete
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w -c /builddir/build/BUILDROOT/perl-B-COW-0.007-2.ocs23.loongarch64
mode of '/builddir/build/BUILDROOT/perl-B-COW-0.007-2.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/B/COW.pm' changed from 0444 (r--r--r--) to 0644 (rw-r--r--)
mode of '/builddir/build/BUILDROOT/perl-B-COW-0.007-2.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/auto/B/COW/COW.so' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x)
mode of '/builddir/build/BUILDROOT/perl-B-COW-0.007-2.ocs23.loongarch64/usr/share/man/man3/B::COW.3pm' changed from 0444 (r--r--r--) to 0644 (rw-r--r--)
+ /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.007-2.ocs23 --unique-debug-suffix -0.007-2.ocs23.loongarch64 --unique-debug-src-base perl-B-COW-0.007-2.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/B-COW-0.007
extracting debug info from /builddir/build/BUILDROOT/perl-B-COW-0.007-2.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/auto/B/COW/COW.so
18 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.Fl6KKP
+ 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 B-COW-0.007
+ make test
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- COW.bs blib/arch/auto/B/COW/COW.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/00-load.t ............ ok
# 
# Versions for all modules listed in MYMETA.json (including optional ones):
# 
# === Configure Requires ===
# 
#     Module              Want Have
#     ------------------- ---- ----
#     ExtUtils::MakeMaker  any 7.70
# 
# === Build Requires ===
# 
#     Module              Want Have
#     ------------------- ---- ----
#     ExtUtils::MakeMaker  any 7.70
# 
# === Test Requires ===
# 
#     Module              Want     Have
#     ------------------- ---- --------
#     Devel::Peek          any     1.32
#     ExtUtils::MakeMaker  any     7.70
#     File::Spec           any     3.75
#     Test::More           any 1.302195
#     XSLoader             any     0.31
# 
# === Test Recommends ===
# 
#     Module         Want     Have
#     ---------- -------- --------
#     CPAN::Meta 2.120900 2.150010
# 
# === Runtime Requires ===
# 
#     Module Want Have
#     ------ ---- ----
# 
t/00-report-prereqs.t .. ok
t/01-basic.t ........... ok
All tests successful.
Files=3, Tests=22,  1 wallclock secs ( 0.03 usr  0.00 sys +  0.42 cusr  0.04 csys =  0.49 CPU)
Result: PASS
+ RPM_EC=0
++ jobs -p
+ exit 0
Processing files: perl-B-COW-0.007-2.ocs23.loongarch64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1HvzWf
+ umask 022
+ cd /builddir/build/BUILD
+ cd B-COW-0.007
+ DOCDIR=/builddir/build/BUILDROOT/perl-B-COW-0.007-2.ocs23.loongarch64/usr/share/doc/perl-B-COW
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-B-COW-0.007-2.ocs23.loongarch64/usr/share/doc/perl-B-COW
+ cp -pr Changes /builddir/build/BUILDROOT/perl-B-COW-0.007-2.ocs23.loongarch64/usr/share/doc/perl-B-COW
+ cp -pr examples/ /builddir/build/BUILDROOT/perl-B-COW-0.007-2.ocs23.loongarch64/usr/share/doc/perl-B-COW
+ cp -pr README /builddir/build/BUILDROOT/perl-B-COW-0.007-2.ocs23.loongarch64/usr/share/doc/perl-B-COW
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.JsHMVD
+ umask 022
+ cd /builddir/build/BUILD
+ cd B-COW-0.007
+ LICENSEDIR=/builddir/build/BUILDROOT/perl-B-COW-0.007-2.ocs23.loongarch64/usr/share/licenses/perl-B-COW
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-B-COW-0.007-2.ocs23.loongarch64/usr/share/licenses/perl-B-COW
+ cp -pr LICENSE /builddir/build/BUILDROOT/perl-B-COW-0.007-2.ocs23.loongarch64/usr/share/licenses/perl-B-COW
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: perl(B::COW) = 0.007 perl-B-COW = 0.007-2.ocs23 perl-B-COW(loongarch-64) = 0.007-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) libperl.so.5.36()(64bit) perl(:MODULE_COMPAT_5.36.0) perl(Exporter) perl(XSLoader) perl(base) perl(strict) perl(warnings) perl-libs rtld(GNU_HASH)
Processing files: perl-B-COW-debugsource-0.007-2.ocs23.loongarch64
Provides: perl-B-COW-debugsource = 0.007-2.ocs23 perl-B-COW-debugsource(loongarch-64) = 0.007-2.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: perl-B-COW-debuginfo-0.007-2.ocs23.loongarch64
Provides: debuginfo(build-id) = 151d95e8758a9d5ceb161d97ee3d7d7bda6a9e8a perl-B-COW-debuginfo = 0.007-2.ocs23 perl-B-COW-debuginfo(loongarch-64) = 0.007-2.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: perl-B-COW-debugsource(loongarch-64) = 0.007-2.ocs23
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-B-COW-0.007-2.ocs23.loongarch64
Wrote: /builddir/build/RPMS/perl-B-COW-debugsource-0.007-2.ocs23.loongarch64.rpm
Wrote: /builddir/build/RPMS/perl-B-COW-0.007-2.ocs23.loongarch64.rpm
Wrote: /builddir/build/RPMS/perl-B-COW-debuginfo-0.007-2.ocs23.loongarch64.rpm
Child return code was: 0