Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/oshinko-cli.spec'], chrootPath='/var/lib/mock/863954-epel-7-x86_64-1551538480.781658/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.msg7drqd:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'fcde66b2836541ed9846f9cab21182da', '-D', '/var/lib/mock/863954-epel-7-x86_64-1551538480.781658/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.msg7drqd:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/oshinko-cli.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/oshinko-cli-0.5.4-2.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/oshinko-cli.spec'], chrootPath='/var/lib/mock/863954-epel-7-x86_64-1551538480.781658/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.msg7drqd:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '00ef13e5467848489656194752e5f214', '-D', '/var/lib/mock/863954-epel-7-x86_64-1551538480.781658/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.msg7drqd:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/oshinko-cli.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.L9fbkE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf oshinko-cli-0.5.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/oshinko-cli-v0.5.4.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd oshinko-cli-0.5.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (01-scripts-build-sh.patch):' Patch #0 (01-scripts-build-sh.patch): + /usr/bin/cat /builddir/build/SOURCES/01-scripts-build-sh.patch + /usr/bin/patch -p1 --fuzz=0 patching file scripts/build.sh + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3fumKC + umask 022 + cd /builddir/build/BUILD + cd oshinko-cli-0.5.4 + goipath=github.com/radanalyticsio/oshinko-cli + GO_BUILD_PATH=/builddir/build/BUILD/oshinko-cli-0.5.4/_build + [[ ! -e /builddir/build/BUILD/oshinko-cli-0.5.4/_build/src/github.com/radanalyticsio/oshinko-cli ]] BUILDSTDERR: ++ dirname /builddir/build/BUILD/oshinko-cli-0.5.4/_build/src/github.com/radanalyticsio/oshinko-cli + install -m 0755 -vd /builddir/build/BUILD/oshinko-cli-0.5.4/_build/src/github.com/radanalyticsio install: creating directory '/builddir/build/BUILD/oshinko-cli-0.5.4/_build' install: creating directory '/builddir/build/BUILD/oshinko-cli-0.5.4/_build/src' install: creating directory '/builddir/build/BUILD/oshinko-cli-0.5.4/_build/src/github.com' install: creating directory '/builddir/build/BUILD/oshinko-cli-0.5.4/_build/src/github.com/radanalyticsio' + ln -fs /builddir/build/BUILD/oshinko-cli-0.5.4 /builddir/build/BUILD/oshinko-cli-0.5.4/_build/src/github.com/radanalyticsio/oshinko-cli + cd /builddir/build/BUILD/oshinko-cli-0.5.4/_build/src/github.com/radanalyticsio/oshinko-cli + install -m 0755 -vd _bin install: creating directory '_bin' + export PATH=/builddir/build/BUILD/oshinko-cli-0.5.4/_build/src/github.com/radanalyticsio/oshinko-cli/_bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin + PATH=/builddir/build/BUILD/oshinko-cli-0.5.4/_build/src/github.com/radanalyticsio/oshinko-cli/_bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin + export GOPATH=/builddir/build/BUILD/oshinko-cli-0.5.4/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/oshinko-cli-0.5.4/_build:/usr/share/gocode + export LDFLAGS= + LDFLAGS= + export 'LDFLAGS= -X github.com/radanalyticsio/oshinko-cli/version.gitTag=%{VERSION}-7acbd8382 -X github.com/radanalyticsio/oshinko-cli/version.appName=oshinko -X github.com/radanalyticsio/oshinko-cli/version.sparkImage=radanalyticsio/openshift-spark:2.3-latest' + LDFLAGS=' -X github.com/radanalyticsio/oshinko-cli/version.gitTag=%{VERSION}-7acbd8382 -X github.com/radanalyticsio/oshinko-cli/version.appName=oshinko -X github.com/radanalyticsio/oshinko-cli/version.sparkImage=radanalyticsio/openshift-spark:2.3-latest' + make build scripts/build.sh build BUILDSTDERR: # cd .; git clone https://github.com/renstrom/dedent /builddir/build/BUILD/oshinko-cli-0.5.4/_build/src/github.com/renstrom/dedent BUILDSTDERR: fatal: unable to access 'https://github.com/renstrom/dedent/': Could not resolve host: github.com; Unknown error BUILDSTDERR: package github.com/renstrom/dedent: exit status 128 BUILDSTDERR: # cd .; git clone https://github.com/docker/go-connections /builddir/build/BUILD/oshinko-cli-0.5.4/_build/src/github.com/docker/go-connections BUILDSTDERR: fatal: unable to access 'https://github.com/docker/go-connections/': Could not resolve host: github.com; Unknown error BUILDSTDERR: package github.com/docker/go-connections/nat: exit status 128 BUILDSTDERR: # cd .; git clone https://github.com/ghodss/yaml /builddir/build/BUILD/oshinko-cli-0.5.4/_build/src/github.com/ghodss/yaml BUILDSTDERR: fatal: unable to access 'https://github.com/ghodss/yaml/': Could not resolve host: github.com; Unknown error BUILDSTDERR: package github.com/ghodss/yaml: exit status 128 BUILDSTDERR: fatal: Not a git repository (or any of the parent directories): .git rm: Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vTX2Yr BUILDSTDERR: cannot remove '_output/oshinko-cli': No such file or directory + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/oshinko-cli-0.5.4-2.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/oshinko-cli-0.5.4-2.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/oshinko-cli-0.5.4-2.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/oshinko-cli-0.5.4-2.el7.x86_64 + cd oshinko-cli-0.5.4 + install -Dpm 0755 _output/oshinko /builddir/build/BUILDROOT/oshinko-cli-0.5.4-2.el7.x86_64/usr/bin/oshinko + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.b4rX6i + umask 022 + cd /builddir/build/BUILD + cd oshinko-cli-0.5.4 + exit 0 Processing files: oshinko-cli-0.5.4-2.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xx0Ffa + umask 022 + cd /builddir/build/BUILD + cd oshinko-cli-0.5.4 + DOCDIR=/builddir/build/BUILDROOT/oshinko-cli-0.5.4-2.el7.x86_64/usr/share/doc/oshinko-cli-0.5.4 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/oshinko-cli-0.5.4-2.el7.x86_64/usr/share/doc/oshinko-cli-0.5.4 + cp -pr README.md /builddir/build/BUILDROOT/oshinko-cli-0.5.4-2.el7.x86_64/usr/share/doc/oshinko-cli-0.5.4 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ppwdr1 + umask 022 + cd /builddir/build/BUILD + cd oshinko-cli-0.5.4 + LICENSEDIR=/builddir/build/BUILDROOT/oshinko-cli-0.5.4-2.el7.x86_64/usr/share/licenses/oshinko-cli-0.5.4 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/oshinko-cli-0.5.4-2.el7.x86_64/usr/share/licenses/oshinko-cli-0.5.4 + cp -pr LICENSE /builddir/build/BUILDROOT/oshinko-cli-0.5.4-2.el7.x86_64/usr/share/licenses/oshinko-cli-0.5.4 + exit 0 Provides: oshinko-cli = 0.5.4-2.el7 oshinko-cli(x86-64) = 0.5.4-2.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/oshinko-cli-0.5.4-2.el7.x86_64 Wrote: /builddir/build/RPMS/oshinko-cli-0.5.4-2.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.5rERCa + umask 022 + cd /builddir/build/BUILD + cd oshinko-cli-0.5.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/oshinko-cli-0.5.4-2.el7.x86_64 + exit 0 Child return code was: 0