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/gawk.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-38466-18348/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/gawk.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/gawk-4.2.1-2.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/gawk.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-38466-18348/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/gawk.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.65yEpQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gawk-4.2.1 + /usr/bin/xz -dc /builddir/build/SOURCES/gawk-4.2.1.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gawk-4.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'gawk-4.2.1 base' + cp -a /builddir/build/SOURCES/LICENSE.GPLv2 /builddir/build/SOURCES/LICENSE.LGPLv2 /builddir/build/SOURCES/LICENSE.BSD . + git add --all --force . + git commit --all --amend --no-edit + /usr/bin/cat /builddir/build/SOURCES/assign-int.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m assign-int.patch --author 'rpm-build ' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.txp99m + umask 022 + cd /builddir/build/BUILD + cd gawk-4.2.1 + autoreconf Can't load '/usr/lib64/perl5/vendor_perl/auto/threads/threads.so' for module threads: /usr/lib64/perl5/vendor_perl/auto/threads/threads.so: undefined symbol: thread_locale_init at /usr/share/perl5/XSLoader.pm line 96. at /usr/lib64/perl5/vendor_perl/threads.pm line 32. Compilation failed in require at /usr/share/automake-1.16/Automake/ChannelDefs.pm line 23. BEGIN failed--compilation aborted at /usr/share/automake-1.16/Automake/ChannelDefs.pm line 26. Compilation failed in require at /usr/share/automake-1.16/Automake/Configure_ac.pm line 27. BEGIN failed--compilation aborted at /usr/share/automake-1.16/Automake/Configure_ac.pm line 27. Compilation failed in require at /usr/bin/aclocal line 38. BEGIN failed--compilation aborted at /usr/bin/aclocal line 38. autoreconf: aclocal failed with exit status: 2 error: Bad exit status from /var/tmp/rpm-tmp.txp99m (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.txp99m (%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/gawk.spec