Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/containernetworking-plugins.spec'], chrootPath='/var/lib/mock/containernetworking-plugins-0.7.5-2.el7-20190501145308-9806/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1005) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/containernetworking-plugins.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/containernetworking-plugins-0.7.5-2.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/containernetworking-plugins.spec'], chrootPath='/var/lib/mock/containernetworking-plugins-0.7.5-2.el7-20190501145308-9806/root'shell=Falseuid=1005env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/containernetworking-plugins.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XOZC9T + umask 022 + cd /builddir/build/BUILD + source scl_source enable go-toolset-1.10 ++ _scl_source_help='Usage: source scl_source [ ...] Don'\''t use this script outside of SCL scriptlets! Options: -h, --help display this help and exit' ++ '[' 2 -eq 0 -o enable = -h -o enable = --help ']' ++ '[' -z '' ']' ++ _recursion=false ++ '[' -z '' ']' ++ _scl_scriptlet_name=enable ++ shift 1 ++ '[' -z '' ']' ++ _scl_dir=/etc/scl/conf ++ '[' '!' -e /etc/scl/conf ']' ++ for arg in '"$@"' ++ _scl_prefix_file=/etc/scl/conf/go-toolset-1.10 +++ cat /etc/scl/conf/go-toolset-1.10 ++ _scl_prefix=/opt/rh ++ '[' 0 -ne 0 ']' ++ /usr/bin/scl_enabled go-toolset-1.10 ++ '[' 1 -ne 0 ']' ++ _scls+=($arg) ++ _scl_prefixes+=($_scl_prefix) ++ '[' false == false ']' ++ _i=0 ++ _recursion=true ++ '[' 0 -lt 1 ']' ++ _scl_scriptlet_path=/opt/rh/go-toolset-1.10/enable ++ source /opt/rh/go-toolset-1.10/enable +++ export PATH=/opt/rh/go-toolset-1.10/root/usr/bin:/opt/rh/go-toolset-1.10/root/usr/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ PATH=/opt/rh/go-toolset-1.10/root/usr/bin:/opt/rh/go-toolset-1.10/root/usr/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin +++ export LD_LIBRARY_PATH=/opt/rh/go-toolset-1.10/root/usr/lib64 +++ LD_LIBRARY_PATH=/opt/rh/go-toolset-1.10/root/usr/lib64 +++ export MANPATH=/opt/rh/go-toolset-1.10/root/usr/share/man: +++ MANPATH=/opt/rh/go-toolset-1.10/root/usr/share/man: +++ export PKG_CONFIG_PATH=/opt/rh/go-toolset-1.10/root/usr/lib64/pkgconfig::/usr/lib64/pkgconfig:/usr/share/pkgconfig +++ PKG_CONFIG_PATH=/opt/rh/go-toolset-1.10/root/usr/lib64/pkgconfig::/usr/lib64/pkgconfig:/usr/share/pkgconfig +++ '[' -z ']' ++++ realpath /builddir/go +++ export GOPATH=/builddir/go:/opt/rh/go-toolset-1.10/root/usr/share/gocode +++ GOPATH=/builddir/go:/opt/rh/go-toolset-1.10/root/usr/share/gocode ++ '[' 0 -ne 0 ']' ++ export 'X_SCLS=go-toolset-1.10 ' ++ X_SCLS='go-toolset-1.10 ' ++ _i=1 ++ '[' 1 -lt 1 ']' ++ _scls=() ++ _scl_prefixes=() ++ _scl_scriptlet_name= ++ _recursion=false + cd /builddir/build/BUILD + rm -rf plugins-a62711a5da7a2dc2eb93eac47e103738ad923fd6 + /usr/bin/gzip -dc /builddir/build/SOURCES/plugins-a62711a.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd plugins-a62711a5da7a2dc2eb93eac47e103738ad923fd6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q /var/tmp/rpm-tmp.XOZC9T: line 40: /usr/bin/git: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.XOZC9T (%prep) Bad exit status from /var/tmp/rpm-tmp.XOZC9T (%prep) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/containernetworking-plugins.spec