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-Text-Soundex.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-41235-21227/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-Text-Soundex.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-Text-Soundex-3.05-8.el8.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-Text-Soundex.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-41235-21227/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-Text-Soundex.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.i85kns + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Text-Soundex-3.05 + /usr/bin/gzip -dc /builddir/build/SOURCES/Text-Soundex-3.05.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Text-Soundex-3.05 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.sIdw8D + umask 022 + cd /builddir/build/BUILD + cd Text-Soundex-3.05 + perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -g' WARNING: Option INSTALLDIRS=vendor was not recognized. (ignoring) WARNING: Option OPTIMIZE=-O2 -g was not recognized. (ignoring) Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Text::Soundex + make -j4 Running Mkbootstrap for Soundex () "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' Soundex.xs > Soundex.xsc chmod 644 "Soundex.bs" cp Soundex.pm blib/lib/Text/Soundex.pm "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Soundex.bs blib/arch/auto/Text/Soundex/Soundex.bs 644 mv Soundex.xsc Soundex.c loongarch64-redhat-linux-gnu-gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"3.05\" -DXS_VERSION=\"3.05\" -fPIC "-I/usr/lib64/perl5/CORE" Soundex.c rm -f blib/arch/auto/Text/Soundex/Soundex.so loongarch64-redhat-linux-gnu-gcc -lpthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -fstack-protector-strong Soundex.o -o blib/arch/auto/Text/Soundex/Soundex.so \ -lperl \ chmod 755 blib/arch/auto/Text/Soundex/Soundex.so Manifying 1 pod document + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.a6mpYP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-Text-Soundex-3.05-8.el8.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-Text-Soundex-3.05-8.el8.loongarch64 ++ dirname /builddir/build/BUILDROOT/perl-Text-Soundex-3.05-8.el8.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-Text-Soundex-3.05-8.el8.loongarch64 + cd Text-Soundex-3.05 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-Text-Soundex-3.05-8.el8.loongarch64 "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Soundex.bs blib/arch/auto/Text/Soundex/Soundex.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-Text-Soundex-3.05-8.el8.loongarch64/usr/lib64/perl5/vendor_perl/auto/Text/Soundex/Soundex.so Installing /builddir/build/BUILDROOT/perl-Text-Soundex-3.05-8.el8.loongarch64/usr/lib64/perl5/vendor_perl/Text/Soundex.pm Installing /builddir/build/BUILDROOT/perl-Text-Soundex-3.05-8.el8.loongarch64/usr/share/man/man3/Text::Soundex.3pm + find /builddir/build/BUILDROOT/perl-Text-Soundex-3.05-8.el8.loongarch64 -type f -name .packlist -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/perl-Text-Soundex-3.05-8.el8.loongarch64 -type f -name '*.bs' -size 0 -exec rm -f '{}' ';' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/perl-Text-Soundex-3.05-8.el8.loongarch64/usr + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.05-8.el8 --unique-debug-suffix -3.05-8.el8.loongarch64 --unique-debug-src-base perl-Text-Soundex-3.05-8.el8.loongarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Text-Soundex-3.05 extracting debug info from /builddir/build/BUILDROOT/perl-Text-Soundex-3.05-8.el8.loongarch64/usr/lib64/perl5/vendor_perl/auto/Text/Soundex/Soundex.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 33 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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.v1M8P1 + umask 022 + cd /builddir/build/BUILD + cd Text-Soundex-3.05 + make test "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Soundex.bs blib/arch/auto/Text/Soundex/Soundex.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 Soundex.c: loadable library and perl binaries are mismatched (got handshake key 0xe280080, needed 0xe300080) t/basic.t .. Dubious, test returned 1 (wstat 256, 0x100) No subtests run Test Summary Report ------------------- t/basic.t (Wstat: 256 Tests: 0 Failed: 0) Non-zero exit status: 1 Parse errors: No plan found in TAP output Files=1, Tests=0, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.01 cusr 0.00 csys = 0.03 CPU) Result: FAIL Failed 1/1 test programs. 0/0 subtests failed. make: *** [Makefile:951: test_dynamic] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.v1M8P1 (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.v1M8P1 (%check) 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-Text-Soundex.spec