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-threads.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-220504-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-threads.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-threads-2.27-5.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-threads.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-220504-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-threads.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.HlC1YF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf threads-2.21 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/threads-2.21.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd threads-2.21 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-threads-2.21-upgrade-to-2.27.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + chmod -x examples/pool.pl examples/pool_reuse.pl + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ROox9l + 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 threads-2.21 + 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 if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for threads + /usr/bin/make -O -j32 V=1 VERBOSE=1 Running Mkbootstrap for threads () chmod 644 "threads.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- threads.bs blib/arch/auto/threads/threads.bs 644 cp lib/threads.pm blib/lib/threads.pm "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' threads.xs > threads.xsc mv threads.xsc threads.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.27\" -DXS_VERSION=\"2.27\" -fPIC "-I/usr/lib64/perl5/CORE" -DHAS_PPPORT_H threads.c In file included from threads.xs:24: ppport.h:4471: warning: "WIDEST_UTYPE" redefined 4471 | # define WIDEST_UTYPE U64TYPE | In file included from /usr/lib64/perl5/CORE/perl.h:2999, from threads.xs:9: /usr/lib64/perl5/CORE/handy.h:1389: note: this is the location of the previous definition 1389 | # define WIDEST_UTYPE U64 | ppport.h:6145: warning: "MUTABLE_PTR" redefined 6145 | # define MUTABLE_PTR(p) ({ void *_p = (p); _p; }) | /usr/lib64/perl5/CORE/handy.h:97: note: this is the location of the previous definition 97 | # define MUTABLE_PTR(p) ({ void *p_ = (p); p_; }) | rm -f blib/arch/auto/threads/threads.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 threads.o -o blib/arch/auto/threads/threads.so \ -lpthread -lperl \ chmod 755 blib/arch/auto/threads/threads.so Manifying 1 pod document + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.h6bVRR + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-threads-2.27-5.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-threads-2.27-5.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/perl-threads-2.27-5.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-threads-2.27-5.ocs23.loongarch64 + cd threads-2.21 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/perl-threads-2.27-5.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- threads.bs blib/arch/auto/threads/threads.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-threads-2.27-5.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/auto/threads/threads.so Installing /builddir/build/BUILDROOT/perl-threads-2.27-5.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/threads.pm Installing /builddir/build/BUILDROOT/perl-threads-2.27-5.ocs23.loongarch64/usr/share/man/man3/threads.3pm + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w -c /builddir/build/BUILDROOT/perl-threads-2.27-5.ocs23.loongarch64 mode of '/builddir/build/BUILDROOT/perl-threads-2.27-5.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/auto/threads/threads.so' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/perl-threads-2.27-5.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/threads.pm' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of '/builddir/build/BUILDROOT/perl-threads-2.27-5.ocs23.loongarch64/usr/share/man/man3/threads.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 2.27-5.ocs23 --unique-debug-suffix -2.27-5.ocs23.loongarch64 --unique-debug-src-base perl-threads-2.27-5.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/threads-2.21 extracting debug info from /builddir/build/BUILDROOT/perl-threads-2.27-5.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/auto/threads/threads.so 250 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.nWjZFD + 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 threads-2.21 + make test "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- threads.bs blib/arch/auto/threads/threads.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 # Testing threads 2.27 t/basic.t .......... ok t/blocks.t ......... ok t/context.t ........ ok t/end.t ............ ok t/err.t ............ ok t/exit.t ........... ok t/free.t ........... ok t/free2.t .......... ok Can't exec "ps": No such file or directory at t/join.t line 121. t/join.t ........... ok t/kill.t ........... ok t/kill2.t .......... ok t/kill3.t .......... ok t/libc.t ........... ok t/list.t ........... ok t/no_threads.t ..... skipped: Perl compiled with 'useithreads' t/pod.t ............ skipped: Module maintainer tests t/problems.t ....... ok t/stack.t .......... ok t/stack_env.t ...... ok t/state.t .......... ok t/stress_cv.t ...... ok t/stress_re.t ...... ok t/stress_string.t .. ok t/thread.t ......... ok t/unique.t ......... skipped: 'unique' attribute no longer exists All tests successful. Files=25, Tests=590, 36 wallclock secs ( 0.11 usr 0.07 sys + 4.42 cusr 1.98 csys = 6.58 CPU) Result: PASS + RPM_EC=0 ++ jobs -p + exit 0 Processing files: perl-threads-2.27-5.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.s8JpDF + umask 022 + cd /builddir/build/BUILD + cd threads-2.21 + DOCDIR=/builddir/build/BUILDROOT/perl-threads-2.27-5.ocs23.loongarch64/usr/share/doc/perl-threads + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-threads-2.27-5.ocs23.loongarch64/usr/share/doc/perl-threads + cp -pr Changes /builddir/build/BUILDROOT/perl-threads-2.27-5.ocs23.loongarch64/usr/share/doc/perl-threads + cp -pr examples /builddir/build/BUILDROOT/perl-threads-2.27-5.ocs23.loongarch64/usr/share/doc/perl-threads + cp -pr README /builddir/build/BUILDROOT/perl-threads-2.27-5.ocs23.loongarch64/usr/share/doc/perl-threads + RPM_EC=0 ++ jobs -p + exit 0 Provides: perl(threads) = 2.27 perl-threads = 2.27-5.ocs23 perl-threads(loongarch-64) = 2.27-5.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.8.0 perl(Config) perl(XSLoader) perl(overload) perl(strict) perl(warnings) perl-libs rtld(GNU_HASH) Processing files: perl-threads-debugsource-2.27-5.ocs23.loongarch64 Provides: perl-threads-debugsource = 2.27-5.ocs23 perl-threads-debugsource(loongarch-64) = 2.27-5.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-threads-debuginfo-2.27-5.ocs23.loongarch64 Provides: debuginfo(build-id) = 9f427cc0493c8ecfb22d4ebbce97f826b1f83e7d perl-threads-debuginfo = 2.27-5.ocs23 perl-threads-debuginfo(loongarch-64) = 2.27-5.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-threads-debugsource(loongarch-64) = 2.27-5.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-threads-2.27-5.ocs23.loongarch64 Wrote: /builddir/build/RPMS/perl-threads-debugsource-2.27-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/perl-threads-2.27-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/perl-threads-debuginfo-2.27-5.ocs23.loongarch64.rpm Child return code was: 0