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-Variable-Magic.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-186839-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 loongarch64 --nodeps /builddir/build/SPECS/perl-Variable-Magic.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-Variable-Magic-0.63-1.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-Variable-Magic.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-186839-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 loongarch64 --nodeps /builddir/build/SPECS/perl-Variable-Magic.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.85AeD2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Variable-Magic-0.63 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Variable-Magic-0.63.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Variable-Magic-0.63 + /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.3yIC4c + 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 Variable-Magic-0.63 + 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 this is ActiveState Perl 5.8.8 build 822 or higher... no Checking if this is gcc 3.4 on Windows trying to link against an import library... no Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Variable::Magic + /usr/bin/make -O -j32 V=1 VERBOSE=1 Running Mkbootstrap for Magic () chmod 644 "Magic.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Magic.bs blib/arch/auto/Variable/Magic/Magic.bs 644 cp lib/Variable/Magic.pm blib/lib/Variable/Magic.pm "/usr/bin/perl" "/usr/share/perl5/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' Magic.xs > Magic.xsc mv Magic.xsc Magic.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.63\" -DXS_VERSION=\"0.63\" -fPIC "-I/usr/lib64/perl5/CORE" Magic.c In file included from Magic.xs:485: xsh/threads.h: In function 'xsh_clone': xsh/threads.h:453:7: warning: variable 'global_setup' set but not used [-Wunused-but-set-variable] 453 | int global_setup; | ^~~~~~~~~~~~ In file included from Magic.xs:18: Magic.xs: In function 'vmg_sv_len': xsh/util.h:35:22: warning: pointer targets in initialization of 'const U8 *' {aka 'const unsigned char *'} from 'const char *' differ in signedness [-Wpointer-sign] 35 | # define VOID2(T, P) (P) | ^ Magic.xs:1297:16: note: in expansion of macro 'VOID2' 1297 | const U8 *s = VOID2(const U8 *, VOID2(const void *, SvPV_const(sv, len))); | ^~~~~ xsh/threads.h: At top level: xsh/threads.h:168:12: warning: 'xsh_is_loaded' defined but not used [-Wunused-function] 168 | static int xsh_is_loaded(pTHX_ void *cxt) { | ^~~~~~~~~~~~~ In file included from xsh/threads.h:6: xsh/mem.h:143:14: warning: 'xsh_shared_recalloc' defined but not used [-Wunused-function] 143 | static void *xsh_shared_recalloc(pPMS_ void *p, size_t old_size, size_t new_size) { | ^~~~~~~~~~~~~~~~~~~ rm -f blib/arch/auto/Variable/Magic/Magic.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 Magic.o -o blib/arch/auto/Variable/Magic/Magic.so \ -lperl \ chmod 755 blib/arch/auto/Variable/Magic/Magic.so Manifying 1 pod document + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YQjMZe + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Variable-Magic-0.63-1.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Variable-Magic-0.63-1.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/perl-Variable-Magic-0.63-1.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Variable-Magic-0.63-1.ocs23.loongarch64 + cd Variable-Magic-0.63 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/perl-Variable-Magic-0.63-1.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Magic.bs blib/arch/auto/Variable/Magic/Magic.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-Variable-Magic-0.63-1.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/auto/Variable/Magic/Magic.so Installing /builddir/build/BUILDROOT/perl-Variable-Magic-0.63-1.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/Variable/Magic.pm Installing /builddir/build/BUILDROOT/perl-Variable-Magic-0.63-1.ocs23.loongarch64/usr/share/man/man3/Variable::Magic.3pm + find /builddir/build/BUILDROOT/perl-Variable-Magic-0.63-1.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-Variable-Magic-0.63-1.ocs23.loongarch64/usr mode of '/builddir/build/BUILDROOT/perl-Variable-Magic-0.63-1.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/Variable/Magic.pm' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of '/builddir/build/BUILDROOT/perl-Variable-Magic-0.63-1.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/auto/Variable/Magic/Magic.so' changed from 0555 (r-xr-xr-x) to 0755 (rwxr-xr-x) mode of '/builddir/build/BUILDROOT/perl-Variable-Magic-0.63-1.ocs23.loongarch64/usr/share/man/man3/Variable::Magic.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.63-1.ocs23 --unique-debug-suffix -0.63-1.ocs23.loongarch64 --unique-debug-src-base perl-Variable-Magic-0.63-1.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/Variable-Magic-0.63 extracting debug info from /builddir/build/BUILDROOT/perl-Variable-Magic-0.63-1.ocs23.loongarch64/usr/lib64/perl5/vendor_perl/auto/Variable/Magic/Magic.so 226 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.UaXuoO + 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 Variable-Magic-0.63 + make test "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Magic.bs blib/arch/auto/Variable/Magic/Magic.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 Variable::Magic 0.63, Perl 5.036000 (no patchlevel), /usr/bin/perl t/00-load.t .......... ok t/01-import.t ........ ok t/02-constants.t ..... ok # Using threads 2.27 # Using threads::shared 1.64 t/09-load-threads.t .. ok t/10-simple.t ........ ok t/11-multiple.t ...... ok t/13-data.t .......... ok t/14-callbacks.t ..... ok # According to %Config, this is NOT a debugging perl # Not testing global destruction t/15-self.t .......... ok # Using Hash::Util::FieldHash 1.26 t/16-huf.t ........... ok # Using IO::Handle 1.48 # Using IO::Select 1.49 # Using IPC::Open3 1.22 t/17-ctl.t ........... ok t/18-opinfo.t ........ ok t/20-get.t ........... ok t/21-set.t ........... ok t/22-len.t ........... ok t/23-clear.t ......... ok t/24-free.t .......... ok # Using Tie::Array 1.07 # Using Tie::Hash 1.06 t/25-copy.t .......... ok t/27-local.t ......... ok # Using Tie::Hash 1.06 t/28-uvar.t .......... ok # Using Tie::Array 1.07 t/30-scalar.t ........ ok t/31-array.t ......... ok t/32-hash.t .......... ok t/33-code.t .......... ok # Using Symbol 1.09 t/34-glob.t .......... ok t/35-stash.t ......... ok # Using threads 2.27 # Using threads::shared 1.64 t/40-threads.t ....... ok # Using threads 2.27 # Using threads::shared 1.64 t/41-clone.t ......... ok t/50-return.t ........ ok t/80-leaks.t ......... ok All tests successful. Files=30, Tests=1598, 5 wallclock secs ( 0.19 usr 0.06 sys + 4.11 cusr 0.30 csys = 4.66 CPU) Result: PASS + RPM_EC=0 ++ jobs -p + exit 0 Processing files: perl-Variable-Magic-0.63-1.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nwy0Y5 + umask 022 + cd /builddir/build/BUILD + cd Variable-Magic-0.63 + DOCDIR=/builddir/build/BUILDROOT/perl-Variable-Magic-0.63-1.ocs23.loongarch64/usr/share/doc/perl-Variable-Magic + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-Variable-Magic-0.63-1.ocs23.loongarch64/usr/share/doc/perl-Variable-Magic + cp -pr Changes /builddir/build/BUILDROOT/perl-Variable-Magic-0.63-1.ocs23.loongarch64/usr/share/doc/perl-Variable-Magic + cp -pr README /builddir/build/BUILDROOT/perl-Variable-Magic-0.63-1.ocs23.loongarch64/usr/share/doc/perl-Variable-Magic + RPM_EC=0 ++ jobs -p + exit 0 Provides: perl(Variable::Magic) = 0.63 perl-Variable-Magic = 0.63-1.ocs23 perl-Variable-Magic(loongarch-64) = 0.63-1.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(Exporter) perl(base) perl(strict) perl(warnings) perl-libs rtld(GNU_HASH) Processing files: perl-Variable-Magic-debugsource-0.63-1.ocs23.loongarch64 Provides: perl-Variable-Magic-debugsource = 0.63-1.ocs23 perl-Variable-Magic-debugsource(loongarch-64) = 0.63-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: perl-Variable-Magic-debuginfo-0.63-1.ocs23.loongarch64 Provides: debuginfo(build-id) = f454883e1515bed25e6f382888dd822996e48196 perl-Variable-Magic-debuginfo = 0.63-1.ocs23 perl-Variable-Magic-debuginfo(loongarch-64) = 0.63-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: perl-Variable-Magic-debugsource(loongarch-64) = 0.63-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/perl-Variable-Magic-0.63-1.ocs23.loongarch64 Wrote: /builddir/build/RPMS/perl-Variable-Magic-debugsource-0.63-1.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/perl-Variable-Magic-0.63-1.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/perl-Variable-Magic-debuginfo-0.63-1.ocs23.loongarch64.rpm Child return code was: 0