Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/gomtree.spec'], chrootPath='/var/lib/mock/gomtree-0.5.0-0.2.git16da0f8.el7-20180307170629-24612/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=1006) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/gomtree.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 warning: Could not canonicalize hostname: x86-01.bsys.centos.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/gomtree-0.5.0-0.2.git16da0f8.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/gomtree.spec'], chrootPath='/var/lib/mock/gomtree-0.5.0-0.2.git16da0f8.el7-20180307170629-24612/root'shell=Falseuid=1006env={'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 i686 --nodeps /builddir/build/SPECS/gomtree.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: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KdRu7k + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-mtree-16da0f86ee549d8949775bf3d555e7921a9caca9 + /usr/bin/gzip -dc /builddir/build/SOURCES/go-mtree-16da0f8.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd go-mtree-16da0f86ee549d8949775bf3d555e7921a9caca9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2iBmp0 + umask 022 + cd /builddir/build/BUILD + cd go-mtree-16da0f86ee549d8949775bf3d555e7921a9caca9 + mkdir -p src/github.com/vbatts + ln -s ../../../ src/github.com/vbatts/go-mtree ++ pwd ++ pwd + export GOPATH=/builddir/build/BUILD/go-mtree-16da0f86ee549d8949775bf3d555e7921a9caca9:/builddir/build/BUILD/go-mtree-16da0f86ee549d8949775bf3d555e7921a9caca9/Godeps/_workspace:/usr/share/gocode + GOPATH=/builddir/build/BUILD/go-mtree-16da0f86ee549d8949775bf3d555e7921a9caca9:/builddir/build/BUILD/go-mtree-16da0f86ee549d8949775bf3d555e7921a9caca9/Godeps/_workspace:/usr/share/gocode ++ head -c20 /dev/urandom ++ od -An -tx1 ++ tr -d ' \n' + go build -ldflags ' -B 0x9715fd49f0944c194ea090dc0d9eb23e53c0092a' -a -v -x -o bin/gomtree github.com/vbatts/go-mtree/cmd/gomtree WORK=/tmp/go-build142688471 src/github.com/vbatts/go-mtree/cmd/gomtree/main.go:13:2: cannot find package "github.com/sirupsen/logrus" in any of: /usr/lib/golang/src/github.com/sirupsen/logrus (from $GOROOT) /builddir/build/BUILD/go-mtree-16da0f86ee549d8949775bf3d555e7921a9caca9/src/github.com/sirupsen/logrus (from $GOPATH) /builddir/build/BUILD/go-mtree-16da0f86ee549d8949775bf3d555e7921a9caca9/Godeps/_workspace/src/github.com/sirupsen/logrus /usr/share/gocode/src/github.com/sirupsen/logrus src/github.com/vbatts/go-mtree/keywordfunc.go:15:2: cannot find package "golang.org/x/crypto/ripemd160" in any of: /usr/lib/golang/src/golang.org/x/crypto/ripemd160 (from $GOROOT) /builddir/build/BUILD/go-mtree-16da0f86ee549d8949775bf3d555e7921a9caca9/src/golang.org/x/crypto/ripemd160 (from $GOPATH) /builddir/build/BUILD/go-mtree-16da0f86ee549d8949775bf3d555e7921a9caca9/Godeps/_workspace/src/golang.org/x/crypto/ripemd160 /usr/share/gocode/src/golang.org/x/crypto/ripemd160 src/github.com/vbatts/go-mtree/lchtimes_unix.go:9:2: cannot find package "golang.org/x/sys/unix" in any of: /usr/lib/golang/src/golang.org/x/sys/unix (from $GOROOT) /builddir/build/BUILD/go-mtree-16da0f86ee549d8949775bf3d555e7921a9caca9/src/golang.org/x/sys/unix (from $GOPATH) /builddir/build/BUILD/go-mtree-16da0f86ee549d8949775bf3d555e7921a9caca9/Godeps/_workspace/src/golang.org/x/sys/unix /usr/share/gocode/src/golang.org/x/sys/unix RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.2iBmp0 (%build) Bad exit status from /var/tmp/rpm-tmp.2iBmp0 (%build) 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 i686 --nodeps /builddir/build/SPECS/gomtree.spec