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-Digest-SHA.spec'], chrootPath='/var/lib/mock/module-perl-5.30-8040020211120015002-3d27a66e-build-56656-28379/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-Digest-SHA.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-Digest-SHA-6.02-2.module+an8.4.0+10499+327a9003.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-Digest-SHA.spec'], chrootPath='/var/lib/mock/module-perl-5.30-8040020211120015002-3d27a66e-build-56656-28379/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-Digest-SHA.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.B5CLF3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Digest-SHA-6.02 + /usr/bin/gzip -dc /builddir/build/SOURCES/Digest-SHA-6.02.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Digest-SHA-6.02 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (Digest-SHA-5.93-Reset-CFLAGS.patch):' Patch #0 (Digest-SHA-5.93-Reset-CFLAGS.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.PL + chmod -x examples/dups + perl -MExtUtils::MakeMaker -e 'ExtUtils::MM_Unix->fixin(q{examples/dups})' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2G7Gn5 + umask 022 + cd /builddir/build/BUILD + cd Digest-SHA-6.02 + 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 Digest::SHA + make -j4 make: Warning: File '/usr/lib64/perl5/Config.pm' has modification time 7248 s in the future Makefile out-of-date with respect to /usr/lib64/perl5/Config.pm /usr/lib64/perl5/CORE/config.h Cleaning current config before rebuilding Makefile... make -f Makefile.old clean > /dev/null 2>&1 "/usr/bin/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 Digest::SHA ==> Your Makefile has been rebuilt. <== ==> Please rerun the make command. <== false make: *** [Makefile:929: Makefile] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.2G7Gn5 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.2G7Gn5 (%build) 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-Digest-SHA.spec