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/lockdev.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-38511-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/lockdev.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/lockdev-1.0.4-0.28.20111007git.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/lockdev.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-38511-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/lockdev.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.7QRSXR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lockdev-scm-2011-10-07 + /usr/bin/gzip -dc /builddir/build/SOURCES/lockdev-1.0.4.20111007git.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lockdev-scm-2011-10-07 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (lockdev-euidaccess.patch):' Patch #1 (lockdev-euidaccess.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .access --fuzz=0 patching file src/lockdev.c Hunk #2 succeeded at 125 (offset -4 lines). patching file src/Makefile.am patching file src/sample.c Patch #2 (0001-major-and-minor-functions-moved-to-sysmacros.h.patch): + echo 'Patch #2 (0001-major-and-minor-functions-moved-to-sysmacros.h.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/lockdev.c patching file src/lockdev.c.access + echo 'Patch #3 (0001-Fix-manpages-NAME-section.patch):' Patch #3 (0001-Fix-manpages-NAME-section.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file docs/lockdev.8 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tThKdp + umask 022 + cd /builddir/build/BUILD + cd lockdev-scm-2011-10-07 + ./scripts/git-version ./scripts/git-version: line 7: git: command not found + touch ChangeLog + autoreconf --verbose --force --install autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --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.tThKdp (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.tThKdp (%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/lockdev.spec