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 noarch --nodeps /builddir/build/SPECS/perl-Term-Cap.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-186821-12833/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 noarch --nodeps /builddir/build/SPECS/perl-Term-Cap.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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/perl-Term-Cap-1.18-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/perl-Term-Cap.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-186821-12833/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 noarch --nodeps /builddir/build/SPECS/perl-Term-Cap.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ETensv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Term-Cap-1.18 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Term-Cap-1.18.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Term-Cap-1.18 + /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.hs9BpO + 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/lib/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/lib/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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Term-Cap-1.18 + perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Term::Cap + /usr/bin/make -O -j32 V=1 VERBOSE=1 cp Cap.pm blib/lib/Term/Cap.pm Manifying 1 pod document + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3xTDSa + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Term-Cap-1.18-1.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Term-Cap-1.18-1.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/perl-Term-Cap-1.18-1.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Term-Cap-1.18-1.ocs23.noarch + cd Term-Cap-1.18 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Term-Cap-1.18-1.ocs23.noarch Manifying 1 pod document Installing /builddir/build/BUILDROOT/perl-Term-Cap-1.18-1.ocs23.noarch/usr/share/perl5/vendor_perl/Term/Cap.pm Installing /builddir/build/BUILDROOT/perl-Term-Cap-1.18-1.ocs23.noarch/usr/share/man/man3/Term::Cap.3pm + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w -c /builddir/build/BUILDROOT/perl-Term-Cap-1.18-1.ocs23.noarch mode of '/builddir/build/BUILDROOT/perl-Term-Cap-1.18-1.ocs23.noarch/usr/share/man/man3/Term::Cap.3pm' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of '/builddir/build/BUILDROOT/perl-Term-Cap-1.18-1.ocs23.noarch/usr/share/perl5/vendor_perl/Term/Cap.pm' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.18-1.ocs23 --unique-debug-suffix -1.18-1.ocs23.noarch --unique-debug-src-base perl-Term-Cap-1.18-1.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/Term-Cap-1.18 + /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.kB6Wme + 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/lib/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/lib/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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Term-Cap-1.18 + make test PERL_DL_NONLAZY=1 "/usr/bin/perl" "-Iblib/lib" "-Iblib/arch" test.pl 1..45 ok 1 - use Term::Cap; ok 2 - termcap_path() should find default files ok 3 - termcap_path() should find file from $ENV{TERMCAP} ok 4 - termcap_path() should find file from $ENV{TERMPATH} ok 5 - Tpad() should return undef with no arguments ok 6 - Tpad() should return strings verbatim with no match ok 7 - Tpad() should pad paddable strings ok 8 - Tpad() should perform pad math ok 9 - Tpad() should write to filehandle when passed ok 10 - Tputs() should return existing value ok 11 - Tputs() should delegate to Tpad() ok 12 - Tputs() should cache pc value when asked ok 13 - Tputs() should write to filehandle when passed ok 14 - Trequire() should finds existing cap ok 15 - Trequire() should croak with unsupported cap ok 16 - Tgetent() should croaks without TERM ok 17 - Tgetent() should set default OSPEED ok 18 - Default OSPEED implies default PADDING ok 19 - Tgetent() doesn't carp() without warnings on ok 20 - Tgetent() should not work if OSPEED is provided ok 21 - Tgetent() should set slow PADDING when needed ok 22 - Tgetent() should catch bad termcap file ok 23 - Tgetent() should die with bad termcap ok 24 - Tgetent() should catch deep recursion ok 25 - Tgetent() should set a single field correctly ok 26 - Tgetent() should set another field on the same line ok 27 - Tgetent() should set a blank field correctly ok 28 - Tgetent() should set a key value pair correctly ok 29 - Tgetent() should set and translate pairs ok 30 - should set _pc field correctly ok 31 - should set _bc field correctly ok 32 - Windows gets "dumb" by default ok 33 - Tgoto() should handle %d code ok 34 - Tgoto() should print to filehandle if passed ok 35 - Tgoto() should handle %. ok 36 - Tgoto() should handle %. and magic ok 37 - Tgoto() should handle %+ ok 38 - Tgoto() should handle %+char ok 39 - Tgoto() should substr()s %+ if needed ok 40 - Tgoto() should swaps params with %r ok 41 - Tgoto() should unpack args with %> ok 42 - Tgoto() should format with %2 ok 43 - Tgoto() should also formats with %3 ok 44 - Tgoto() should increment args with %i ok 45 - Tgoto() should catch invalid args + RPM_EC=0 ++ jobs -p + exit 0 Processing files: perl-Term-Cap-1.18-1.ocs23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.D4h1GB + umask 022 + cd /builddir/build/BUILD + cd Term-Cap-1.18 + DOCDIR=/builddir/build/BUILDROOT/perl-Term-Cap-1.18-1.ocs23.noarch/usr/share/doc/perl-Term-Cap + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Term-Cap-1.18-1.ocs23.noarch/usr/share/doc/perl-Term-Cap + cp -pr README /builddir/build/BUILDROOT/perl-Term-Cap-1.18-1.ocs23.noarch/usr/share/doc/perl-Term-Cap + cp -pr Changes /builddir/build/BUILDROOT/perl-Term-Cap-1.18-1.ocs23.noarch/usr/share/doc/perl-Term-Cap + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.45EYqG + umask 022 + cd /builddir/build/BUILD + cd Term-Cap-1.18 + LICENSEDIR=/builddir/build/BUILDROOT/perl-Term-Cap-1.18-1.ocs23.noarch/usr/share/licenses/perl-Term-Cap + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Term-Cap-1.18-1.ocs23.noarch/usr/share/licenses/perl-Term-Cap + cp -pr LICENSE /builddir/build/BUILDROOT/perl-Term-Cap-1.18-1.ocs23.noarch/usr/share/licenses/perl-Term-Cap + RPM_EC=0 ++ jobs -p + exit 0 Provides: perl(Term::Cap) = 1.18 perl-Term-Cap = 1.18-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: perl(strict) perl(vars) perl-libs Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Term-Cap-1.18-1.ocs23.noarch Wrote: /builddir/build/RPMS/perl-Term-Cap-1.18-1.ocs23.noarch.rpm Child return code was: 0