Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/perl-version.spec'], chrootPath='/var/lib/mock/module-perl-5.30-8070020221025093636-d4344feb-build-147674-57775/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/perl-version.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 sh: perl: command not found sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/perl-version.spec'], chrootPath='/var/lib/mock/module-perl-5.30-8070020221025093636-d4344feb-build-147674-57775/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/perl-version.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.yq6cco + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf version-0.9924 + /usr/bin/gzip -dc /builddir/build/SOURCES/version-0.9924.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd version-0.9924 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (version-0.9924-ensure-locale_name_on_entry-isn-t-clobbered.patch):' Patch #0 (version-0.9924-ensure-locale_name_on_entry-isn-t-clobbered.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file vutil/vutil.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cw0iML + umask 022 + cd /builddir/build/BUILD + cd version-0.9924 + perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -g' UNINST=0 NO_PACKLIST=1 Testing if you have a C compiler I cannot determine if you have a C compiler so I will install a perl-only implementation You can force installation of the XS version with perl Makefile.PL --xs Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for version + make -j4 cp lib/version/regex.pm blib/lib/version/regex.pm cp lib/version/Internals.pod blib/lib/version/Internals.pod cp vperl/vpp.pm blib/lib/version/vpp.pm cp lib/version.pod blib/lib/version.pod cp lib/version.pm blib/lib/version.pm Manifying 2 pod documents + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wVuZVu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64 ++ dirname /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64 + cd version-0.9924 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64 Manifying 2 pod documents Installing /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/share/perl5/vendor_perl/version.pm Installing /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/share/perl5/vendor_perl/version.pod Installing /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/share/perl5/vendor_perl/version/Internals.pod Installing /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/share/perl5/vendor_perl/version/vpp.pm Installing /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/share/perl5/vendor_perl/version/regex.pm Installing /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/share/man/man3/version::Internals.3pm Installing /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/share/man/man3/version.3pm + find /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64 -type f -name '*.bs' -size 0 -delete + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.99.24-441.module+an8.7.0+10876+0e5667e6 --unique-debug-suffix -0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64 --unique-debug-src-base perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/version-0.9924 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.yWUW8g + umask 022 + cd /builddir/build/BUILD + cd version-0.9924 + make test 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/00impl-pp.t ..... ok t/01base.t ........ ok t/02derived.t ..... ok t/03require.t ..... ok t/04strict_lax.t .. ok t/05sigdie.t ...... ok t/06noop.t ........ ok t/07locale.t ...... ok t/08_corelist.t ... ok t/09_list_util.t .. ok t/10_lyon.t ....... ok t/11_taint.t ...... skipped: No Test::Taint available All tests successful. Files=12, Tests=2502, 2 wallclock secs ( 0.20 usr 0.00 sys + 2.02 cusr 0.12 csys = 2.34 CPU) Result: PASS + exit 0 Processing files: perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64 error: File not found: /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/lib64/perl5/vendor_perl/version.pod error: Directory not found: /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/lib64/perl5/vendor_perl/version error: File not found: /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/lib64/perl5/vendor_perl/version/Internals.pod error: Directory not found: /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/lib64/perl5/vendor_perl/auto/version error: File not found: /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/lib64/perl5/vendor_perl/version.pm error: File not found: /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/lib64/perl5/vendor_perl/version/vpp.pm error: File not found: /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/lib64/perl5/vendor_perl/version/vxs.pm error: File not found: /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/lib64/perl5/vendor_perl/version/regex.pm Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.53STmM + umask 022 + cd /builddir/build/BUILD + cd version-0.9924 + DOCDIR=/builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/share/doc/perl-version + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/share/doc/perl-version + cp -pr CHANGES /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/share/doc/perl-version + cp -pr README /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/share/doc/perl-version + exit 0 RPM build errors: File not found: /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/lib64/perl5/vendor_perl/version.pod Directory not found: /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/lib64/perl5/vendor_perl/version File not found: /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/lib64/perl5/vendor_perl/version/Internals.pod Directory not found: /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/lib64/perl5/vendor_perl/auto/version File not found: /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/lib64/perl5/vendor_perl/version.pm File not found: /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/lib64/perl5/vendor_perl/version/vpp.pm File not found: /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/lib64/perl5/vendor_perl/version/vxs.pm File not found: /builddir/build/BUILDROOT/perl-version-0.99.24-441.module+an8.7.0+10876+0e5667e6.loongarch64/usr/lib64/perl5/vendor_perl/version/regex.pm Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/perl-version.spec