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/graphviz.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-38648-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/graphviz.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: /usr/bin/perl: No such file or directory Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/graphviz-2.40.1-40.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/graphviz.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-38648-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/graphviz.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.zP2kQx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf graphviz-stable_release_2.40.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/graphviz-2.40.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd graphviz-stable_release_2.40.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (graphviz-2.40.1-visio.patch):' Patch #0 (graphviz-2.40.1-visio.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .visio --fuzz=0 patching file plugin/visio/VisioGraphic.cpp patching file plugin/visio/VisioText.cpp + echo 'Patch #1 (graphviz-2.40.1-python3.patch):' Patch #1 (graphviz-2.40.1-python3.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .python3 --fuzz=0 patching file config/config_python.py patching file configure.ac Patch #2 (graphviz-2.40.1-CVE-2018-10196.patch): + echo 'Patch #2 (graphviz-2.40.1-CVE-2018-10196.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .CVE-2018-10196 --fuzz=0 patching file lib/dotgen/conc.c + echo 'Patch #3 (graphviz-2.40.1-dotty-menu-fix.patch):' Patch #3 (graphviz-2.40.1-dotty-menu-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .dotty-menu-fix --fuzz=0 patching file cmd/dotty/dotty_ui.lefty + echo 'Patch #4 (graphviz-2.40.1-coverity-scan-fixes.patch):' Patch #4 (graphviz-2.40.1-coverity-scan-fixes.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .coverity-scan-fixes --fuzz=0 patching file cmd/lefty/dot2l/dotlex.c patching file cmd/tools/gvgen.c + find -type f -regex '.*\.\(c\|h\)$' -exec chmod a-x '{}' ';' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1o3BwY + umask 022 + cd /builddir/build/BUILD + cd graphviz-stable_release_2.40.1 + ./autogen.sh ./autogen.sh: line 3: git: command not found Warning: build not started in a Git clone, or Git is not installed: setting version date to 0. 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.1o3BwY (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.1o3BwY (%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/graphviz.spec