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-Math-BigInt-FastCalc.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-236954-20928/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 0xffe12a6170>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-Math-BigInt-FastCalc.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-Math-BigInt-FastCalc-0.501.400-4.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-Math-BigInt-FastCalc.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-236954-20928/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 0xffe12a6170>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-Math-BigInt-FastCalc.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.MnXrep
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf Math-BigInt-FastCalc-0.5014
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Math-BigInt-FastCalc-0.5014.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd Math-BigInt-FastCalc-0.5014
+ /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.r2ciFz
+ 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 Math-BigInt-FastCalc-0.5014
+ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Math::BigInt::FastCalc
+ /usr/bin/make -O -j32 V=1 VERBOSE=1
Running Mkbootstrap for FastCalc ()
chmod 644 "FastCalc.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- FastCalc.bs blib/arch/auto/Math/BigInt/FastCalc/FastCalc.bs 644
cp lib/Math/BigInt/FastCalc.pm blib/lib/Math/BigInt/FastCalc.pm
"/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp"  -typemap '/usr/share/perl5/ExtUtils/typemap'  FastCalc.xs > FastCalc.xsc
mv FastCalc.xsc FastCalc.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 -g   -DVERSION=\"0.5014\" -DXS_VERSION=\"0.5014\" -fPIC "-I/usr/lib64/perl5/CORE"   FastCalc.c
rm -f blib/arch/auto/Math/BigInt/FastCalc/FastCalc.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  FastCalc.o  -o blib/arch/auto/Math/BigInt/FastCalc/FastCalc.so  \
    -lperl   \
  
chmod 755 blib/arch/auto/Math/BigInt/FastCalc/FastCalc.so
Manifying 1 pod document
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.C3MbFO
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/perl-Math-BigInt-FastCalc-0.501.400-4.ocs23.loongarch64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/perl-Math-BigInt-FastCalc-0.501.400-4.ocs23.loongarch64
++ dirname /builddir/build/BUILDROOT/perl-Math-BigInt-FastCalc-0.501.400-4.ocs23.loongarch64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/perl-Math-BigInt-FastCalc-0.501.400-4.ocs23.loongarch64
+ cd Math-BigInt-FastCalc-0.5014
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/perl-Math-BigInt-FastCalc-0.501.400-4.ocs23.loongarch64 'INSTALL=/usr/bin/install -p'
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- FastCalc.bs blib/arch/auto/Math/BigInt/FastCalc/FastCalc.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-Math-BigInt-FastCalc-0.501.400-4.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/auto/Math/BigInt/FastCalc/FastCalc.so
Installing /builddir/build/BUILDROOT/perl-Math-BigInt-FastCalc-0.501.400-4.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/Math/BigInt/FastCalc.pm
Installing /builddir/build/BUILDROOT/perl-Math-BigInt-FastCalc-0.501.400-4.ocs23.loongarch64/usr/share/man/man3/Math::BigInt::FastCalc.3pm
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w -c /builddir/build/BUILDROOT/perl-Math-BigInt-FastCalc-0.501.400-4.ocs23.loongarch64
mode of '/builddir/build/BUILDROOT/perl-Math-BigInt-FastCalc-0.501.400-4.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/Math/BigInt/FastCalc.pm' changed from 0444 (r--r--r--) to 0644 (rw-r--r--)
mode of '/builddir/build/BUILDROOT/perl-Math-BigInt-FastCalc-0.501.400-4.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/auto/Math/BigInt/FastCalc/FastCalc.so' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x)
mode of '/builddir/build/BUILDROOT/perl-Math-BigInt-FastCalc-0.501.400-4.ocs23.loongarch64/usr/share/man/man3/Math::BigInt::FastCalc.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.501.400-4.ocs23 --unique-debug-suffix -0.501.400-4.ocs23.loongarch64 --unique-debug-src-base perl-Math-BigInt-FastCalc-0.501.400-4.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/Math-BigInt-FastCalc-0.5014
extracting debug info from /builddir/build/BUILDROOT/perl-Math-BigInt-FastCalc-0.501.400-4.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/auto/Math/BigInt/FastCalc/FastCalc.so
58 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.XfZtfE
+ 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 Math-BigInt-FastCalc-0.5014
+ make test
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- FastCalc.bs blib/arch/auto/Math/BigInt/FastCalc/FastCalc.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/00sig.t ...... skipped: Set the environment variable TEST_SIGNATURE to enable this test.
# 
# Testing with Perl 5.036000, /usr/bin/perl
# 
#      Version Module
#      ------- ------
#     1.999839 Math::BigInt
#     1.999839 Math::BigInt::Lib
#     1.999839 Math::BigInt::Calc
#       0.5014 Math::BigInt::FastCalc
# 
t/01load.t ..... ok
t/bigfltpm.t ... ok
t/bigintfc.t ... ok
t/bigintpm.t ... ok
t/biglog.t ..... ok
t/bigroot.t .... ok
t/bootstrap.t .. ok
t/leak.t ....... ok
t/mbi_rand.t ... ok
t/mbimbf.t ..... ok
All tests successful.
Files=11, Tests=9301,  8 wallclock secs ( 0.67 usr  0.06 sys +  7.12 cusr  0.22 csys =  8.07 CPU)
Result: PASS
+ RPM_EC=0
++ jobs -p
+ exit 0
Processing files: perl-Math-BigInt-FastCalc-0.501.400-4.ocs23.loongarch64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.yI6VOM
+ umask 022
+ cd /builddir/build/BUILD
+ cd Math-BigInt-FastCalc-0.5014
+ DOCDIR=/builddir/build/BUILDROOT/perl-Math-BigInt-FastCalc-0.501.400-4.ocs23.loongarch64/usr/share/doc/perl-Math-BigInt-FastCalc
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Math-BigInt-FastCalc-0.501.400-4.ocs23.loongarch64/usr/share/doc/perl-Math-BigInt-FastCalc
+ cp -pr CHANGES /builddir/build/BUILDROOT/perl-Math-BigInt-FastCalc-0.501.400-4.ocs23.loongarch64/usr/share/doc/perl-Math-BigInt-FastCalc
+ cp -pr CREDITS /builddir/build/BUILDROOT/perl-Math-BigInt-FastCalc-0.501.400-4.ocs23.loongarch64/usr/share/doc/perl-Math-BigInt-FastCalc
+ cp -pr README /builddir/build/BUILDROOT/perl-Math-BigInt-FastCalc-0.501.400-4.ocs23.loongarch64/usr/share/doc/perl-Math-BigInt-FastCalc
+ cp -pr TODO /builddir/build/BUILDROOT/perl-Math-BigInt-FastCalc-0.501.400-4.ocs23.loongarch64/usr/share/doc/perl-Math-BigInt-FastCalc
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.jT6j31
+ umask 022
+ cd /builddir/build/BUILD
+ cd Math-BigInt-FastCalc-0.5014
+ LICENSEDIR=/builddir/build/BUILDROOT/perl-Math-BigInt-FastCalc-0.501.400-4.ocs23.loongarch64/usr/share/licenses/perl-Math-BigInt-FastCalc
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Math-BigInt-FastCalc-0.501.400-4.ocs23.loongarch64/usr/share/licenses/perl-Math-BigInt-FastCalc
+ cp -pr LICENSE /builddir/build/BUILDROOT/perl-Math-BigInt-FastCalc-0.501.400-4.ocs23.loongarch64/usr/share/licenses/perl-Math-BigInt-FastCalc
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: perl(Math::BigInt::FastCalc) = 0.5014 perl-Math-BigInt-FastCalc = 0.501.400-4.ocs23 perl-Math-BigInt-FastCalc(loongarch-64) = 0.501.400-4.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(Math::BigInt::Calc) >= 1.999801 perl(XSLoader) perl(strict) perl(warnings) perl-libs rtld(GNU_HASH)
Processing files: perl-Math-BigInt-FastCalc-debugsource-0.501.400-4.ocs23.loongarch64
Provides: perl-Math-BigInt-FastCalc-debugsource = 0.501.400-4.ocs23 perl-Math-BigInt-FastCalc-debugsource(loongarch-64) = 0.501.400-4.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: perl-Math-BigInt-FastCalc-debuginfo-0.501.400-4.ocs23.loongarch64
Provides: debuginfo(build-id) = 589a736381433c5ea45e839b2a389d7eb4b406f5 perl-Math-BigInt-FastCalc-debuginfo = 0.501.400-4.ocs23 perl-Math-BigInt-FastCalc-debuginfo(loongarch-64) = 0.501.400-4.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: perl-Math-BigInt-FastCalc-debugsource(loongarch-64) = 0.501.400-4.ocs23
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Math-BigInt-FastCalc-0.501.400-4.ocs23.loongarch64
Wrote: /builddir/build/RPMS/perl-Math-BigInt-FastCalc-debugsource-0.501.400-4.ocs23.loongarch64.rpm
Wrote: /builddir/build/RPMS/perl-Math-BigInt-FastCalc-0.501.400-4.ocs23.loongarch64.rpm
Wrote: /builddir/build/RPMS/perl-Math-BigInt-FastCalc-debuginfo-0.501.400-4.ocs23.loongarch64.rpm
Child return code was: 0