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-threads-shared.spec'], chrootPath='/var/lib/mock/dist-an8-loongarch64-build-49795-22585/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-threads-shared.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 Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/perl-threads-shared-1.58-2.0.1.an8.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-threads-shared.spec'], chrootPath='/var/lib/mock/dist-an8-loongarch64-build-49795-22585/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-threads-shared.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.6POgzi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf threads-shared-1.58 + /usr/bin/gzip -dc /builddir/build/SOURCES/threads-shared-1.58.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd threads-shared-1.58 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xLdOdn + umask 022 + cd /builddir/build/BUILD + cd threads-shared-1.58 + perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 'OPTIMIZE=-O2 -g' Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for threads::shared + make -j4 Running Mkbootstrap for shared () "/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -typemap '/usr/share/perl5/ExtUtils/typemap' shared.xs > shared.xsc chmod 644 "shared.bs" "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- shared.bs blib/arch/auto/threads/shared/shared.bs 644 cp lib/threads/shared.pm blib/lib/threads/shared.pm mv shared.xsc shared.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=\"1.58\" -DXS_VERSION=\"1.58\" -fPIC "-I/usr/lib64/perl5/CORE" -DHAS_PPPORT_H shared.c rm -f blib/arch/auto/threads/shared/shared.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 shared.o -o blib/arch/auto/threads/shared/shared.so \ -lpthread -lperl \ chmod 755 blib/arch/auto/threads/shared/shared.so Manifying 1 pod document + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wtLL0r + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/perl-threads-shared-1.58-2.0.1.an8.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/perl-threads-shared-1.58-2.0.1.an8.loongarch64 ++ dirname /builddir/build/BUILDROOT/perl-threads-shared-1.58-2.0.1.an8.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/perl-threads-shared-1.58-2.0.1.an8.loongarch64 + cd threads-shared-1.58 + make pure_install DESTDIR=/builddir/build/BUILDROOT/perl-threads-shared-1.58-2.0.1.an8.loongarch64 "/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- shared.bs blib/arch/auto/threads/shared/shared.bs 644 HiRes.c: loadable library and perl binaries are mismatched (got handshake key 0xe300080, needed 0xe280080) make: *** [Makefile:513: manifypods] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.wtLL0r (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.wtLL0r (%install) 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-threads-shared.spec