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/libtool.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-38509-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/libtool.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: automake: command not found Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/libtool-2.4.6-25.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/libtool.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-38509-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/libtool.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 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/bin/automake line 52. BEGIN failed--compilation aborted at /usr/bin/automake line 57. Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.meTVWe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libtool-2.4.6 + /usr/bin/xz -dc /builddir/build/SOURCES/libtool-2.4.6.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libtool-2.4.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (libtool-2.4.5-rpath.patch):' Patch #0 (libtool-2.4.5-rpath.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rpath --fuzz=0 patching file m4/libtool.m4 Hunk #1 succeeded at 2867 (offset 1 line). Hunk #2 succeeded at 2878 (offset 1 line). Patch #1 (libtool-2.4.6-am-1.16-test.patch): + echo 'Patch #1 (libtool-2.4.6-am-1.16-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .test --fuzz=0 patching file tests/old-ltdl-iface.at Patch #2 (libtool-2.4.6-specs.patch): + echo 'Patch #2 (libtool-2.4.6-specs.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gcc-specs --fuzz=0 patching file build-aux/ltmain.in + echo 'Patch #3 (libtool-2.4.6-hardening.patch):' Patch #3 (libtool-2.4.6-hardening.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ltdl-hardening --fuzz=0 patching file Makefile.am Patch #100 (libtool-nodocs.patch): + echo 'Patch #100 (libtool-nodocs.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .nodocs --fuzz=0 patching file Makefile.in + autoreconf -v autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 --output=aclocal.m4t 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.meTVWe (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.meTVWe (%prep) 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/libtool.spec