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-TermReadKey.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-234801-20369/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 0xffe19da170>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-TermReadKey.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-TermReadKey-2.38-6.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-TermReadKey.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-234801-20369/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 0xffe19da170>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-TermReadKey.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.Klcld7
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf TermReadKey-2.38
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/TermReadKey-2.38.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd TermReadKey-2.38
+ /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.ndSvKH
+ 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 TermReadKey-2.38
+ 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 Term::ReadKey
+ /usr/bin/make -O -j32 V=1 VERBOSE=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'
Running Mkbootstrap for ReadKey ()
chmod 644 "ReadKey.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- ReadKey.bs blib/arch/auto/Term/ReadKey/ReadKey.bs 644
"/usr/bin/perl" genchars.pl
Writing termio/termios section of cchars.h... Done.
Checking for sgtty...
	Sgtty NOT found.
Writing sgtty section of cchars.h... Done.
"/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -noprototypes -typemap '/usr/share/perl5/ExtUtils/typemap'  ReadKey.xs > ReadKey.xsc
mv ReadKey.xsc ReadKey.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.38\" -DXS_VERSION=\"2.38\" -fPIC "-I/usr/lib64/perl5/CORE"   ReadKey.c
In file included from ReadKey.xs:7:
ppport.h:4385: warning: "WIDEST_UTYPE" redefined
 4385 | # define WIDEST_UTYPE U64TYPE
      | 
In file included from /usr/lib64/perl5/CORE/perl.h:2999,
                 from ReadKey.xs:5:
/usr/lib64/perl5/CORE/handy.h:1389: note: this is the location of the previous definition
 1389 | #   define WIDEST_UTYPE U64
      | 
ReadKey.xs: In function 'selectfile':
ReadKey.xs:1482:28: warning: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Wrestrict]
 1482 |         if(select(handle+1,(Select_fd_set_t)&fd,
      |                            ^~~~~~~~~~~~~~~~~~~~
 1483 |                            (Select_fd_set_t)0,
 1484 |                            (Select_fd_set_t)&fd, &t)) return -1;
      |                            ~~~~~~~~~~~~~~~~~~~~
rm -f blib/arch/auto/Term/ReadKey/ReadKey.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  ReadKey.o  -o blib/arch/auto/Term/ReadKey/ReadKey.so  \
    -lperl   \
  
chmod 755 blib/arch/auto/Term/ReadKey/ReadKey.so
"/usr/bin/perl" "-Iblib/arch" "-Iblib/lib" ReadKey.pm.PL ReadKey.pm 
Creating ReadKey.pm
Bootstrapping the XS for blockoptions: 5
Done
cp ReadKey.pm blib/arch/Term/ReadKey.pm
Manifying 1 pod document
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.PxRQ1H
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/perl-TermReadKey-2.38-6.ocs23.loongarch64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/perl-TermReadKey-2.38-6.ocs23.loongarch64
++ dirname /builddir/build/BUILDROOT/perl-TermReadKey-2.38-6.ocs23.loongarch64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/perl-TermReadKey-2.38-6.ocs23.loongarch64
+ cd TermReadKey-2.38
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/perl-TermReadKey-2.38-6.ocs23.loongarch64 'INSTALL=/usr/bin/install -p'
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- ReadKey.bs blib/arch/auto/Term/ReadKey/ReadKey.bs 644
"/usr/bin/perl" "-Iblib/arch" "-Iblib/lib" ReadKey.pm.PL ReadKey.pm 
Creating ReadKey.pm
Bootstrapping the XS for blockoptions: 5
Done
Skip blib/arch/Term/ReadKey.pm (unchanged)
Manifying 1 pod document
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /builddir/build/BUILDROOT/perl-TermReadKey-2.38-6.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/auto/Term/ReadKey/ReadKey.so
Installing /builddir/build/BUILDROOT/perl-TermReadKey-2.38-6.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/Term/ReadKey.pm
Installing /builddir/build/BUILDROOT/perl-TermReadKey-2.38-6.ocs23.loongarch64/usr/share/man/man3/Term::ReadKey.3pm
+ find /builddir/build/BUILDROOT/perl-TermReadKey-2.38-6.ocs23.loongarch64 -type f -name '*.bs' -a -size 0 -delete
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-TermReadKey-2.38-6.ocs23.loongarch64/usr
+ /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.38-6.ocs23 --unique-debug-suffix -2.38-6.ocs23.loongarch64 --unique-debug-src-base perl-TermReadKey-2.38-6.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/TermReadKey-2.38
extracting debug info from /builddir/build/BUILDROOT/perl-TermReadKey-2.38-6.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/auto/Term/ReadKey/ReadKey.so
233 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.niXsD1
+ 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 TermReadKey-2.38
+ make test
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- ReadKey.bs blib/arch/auto/Term/ReadKey/ReadKey.bs 644
"/usr/bin/perl" "-Iblib/arch" "-Iblib/lib" ReadKey.pm.PL ReadKey.pm 
Creating ReadKey.pm
Bootstrapping the XS for blockoptions: 5
Done
Skip blib/arch/Term/ReadKey.pm (unchanged)
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/01_basic.t ............... ok
t/02_terminal_functions.t .. skipped: Need a terminal to test
All tests successful.
Files=2, Tests=1,  0 wallclock secs ( 0.02 usr  0.01 sys +  0.15 cusr  0.01 csys =  0.19 CPU)
Result: PASS
+ RPM_EC=0
++ jobs -p
+ exit 0
Processing files: perl-TermReadKey-2.38-6.ocs23.loongarch64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XWPvTR
+ umask 022
+ cd /builddir/build/BUILD
+ cd TermReadKey-2.38
+ DOCDIR=/builddir/build/BUILDROOT/perl-TermReadKey-2.38-6.ocs23.loongarch64/usr/share/doc/perl-TermReadKey
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-TermReadKey-2.38-6.ocs23.loongarch64/usr/share/doc/perl-TermReadKey
+ cp -pr Changes /builddir/build/BUILDROOT/perl-TermReadKey-2.38-6.ocs23.loongarch64/usr/share/doc/perl-TermReadKey
+ cp -pr example /builddir/build/BUILDROOT/perl-TermReadKey-2.38-6.ocs23.loongarch64/usr/share/doc/perl-TermReadKey
+ cp -pr README /builddir/build/BUILDROOT/perl-TermReadKey-2.38-6.ocs23.loongarch64/usr/share/doc/perl-TermReadKey
+ RPM_EC=0
++ jobs -p
+ exit 0
warning: File listed twice: /usr/lib/.build-id/b6/cb4923302edfabb189c20898d390a8b031aab0
warning: File listed twice: /usr/lib64/perl5/vendor_perl/auto/Term
warning: File listed twice: /usr/lib64/perl5/vendor_perl/auto/Term/ReadKey
warning: File listed twice: /usr/lib64/perl5/vendor_perl/auto/Term/ReadKey/ReadKey.so
Provides: perl(Term::ReadKey) = 2.38 perl-TermReadKey = 2.38-6.ocs23 perl-TermReadKey(loongarch-64) = 2.38-6.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(DynaLoader) perl(Exporter) perl(strict) perl(vars) perl(warnings) perl-libs rtld(GNU_HASH)
Processing files: perl-TermReadKey-debugsource-2.38-6.ocs23.loongarch64
Provides: perl-TermReadKey-debugsource = 2.38-6.ocs23 perl-TermReadKey-debugsource(loongarch-64) = 2.38-6.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: perl-TermReadKey-debuginfo-2.38-6.ocs23.loongarch64
Provides: debuginfo(build-id) = b6cb4923302edfabb189c20898d390a8b031aab0 perl-TermReadKey-debuginfo = 2.38-6.ocs23 perl-TermReadKey-debuginfo(loongarch-64) = 2.38-6.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: perl-TermReadKey-debugsource(loongarch-64) = 2.38-6.ocs23
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-TermReadKey-2.38-6.ocs23.loongarch64
Wrote: /builddir/build/RPMS/perl-TermReadKey-debugsource-2.38-6.ocs23.loongarch64.rpm
Wrote: /builddir/build/RPMS/perl-TermReadKey-2.38-6.ocs23.loongarch64.rpm
Wrote: /builddir/build/RPMS/perl-TermReadKey-debuginfo-2.38-6.ocs23.loongarch64.rpm
RPM build warnings:
    File listed twice: /usr/lib/.build-id/b6/cb4923302edfabb189c20898d390a8b031aab0
    File listed twice: /usr/lib64/perl5/vendor_perl/auto/Term
    File listed twice: /usr/lib64/perl5/vendor_perl/auto/Term/ReadKey
    File listed twice: /usr/lib64/perl5/vendor_perl/auto/Term/ReadKey/ReadKey.so
Child return code was: 0