Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-hashicorp-go-cleanhttp.spec'], nspawn_args=[]shell=Falselogger=printOutput=Falsegid=135user='mockbuild'chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-6285/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'}timeout=0uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-hashicorp-go-cleanhttp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'} and shell False warning: Could not canonicalize hostname: copr-builder-527056734.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-hashicorp-go-cleanhttp-0-0.4.git5df5ddc.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-hashicorp-go-cleanhttp.spec'], nspawn_args=[]shell=Falselogger=printOutput=Falsegid=135user='mockbuild'chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-6285/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'}timeout=0uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-hashicorp-go-cleanhttp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9VVreQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-cleanhttp-5df5ddc69534f1a4697289f1dca2193fbb40213f + /usr/bin/gzip -dc /builddir/build/SOURCES/go-cleanhttp-5df5ddc.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd go-cleanhttp-5df5ddc69534f1a4697289f1dca2193fbb40213f + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CHhVx2 + umask 022 + cd /builddir/build/BUILD + cd go-cleanhttp-5df5ddc69534f1a4697289f1dca2193fbb40213f + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.17AKRe + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-hashicorp-go-cleanhttp-0-0.4.git5df5ddc.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-hashicorp-go-cleanhttp-0-0.4.git5df5ddc.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-hashicorp-go-cleanhttp-0-0.4.git5df5ddc.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-hashicorp-go-cleanhttp-0-0.4.git5df5ddc.el7.centos.x86_64 + cd go-cleanhttp-5df5ddc69534f1a4697289f1dca2193fbb40213f + install -d -p /builddir/build/BUILDROOT/golang-github-hashicorp-go-cleanhttp-0-0.4.git5df5ddc.el7.centos.x86_64//usr/share/gocode/src/github.com/hashicorp/go-cleanhttp/ + echo '%dir %{gopath}/src/%{import_path}/.' ++ find . -iname '*.go' '!' -iname '*_test.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./cleanhttp.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./cleanhttp.go + install -d -p /builddir/build/BUILDROOT/golang-github-hashicorp-go-cleanhttp-0-0.4.git5df5ddc.el7.centos.x86_64//usr/share/gocode/src/github.com/hashicorp/go-cleanhttp/. + cp -pav ./cleanhttp.go /builddir/build/BUILDROOT/golang-github-hashicorp-go-cleanhttp-0-0.4.git5df5ddc.el7.centos.x86_64//usr/share/gocode/src/github.com/hashicorp/go-cleanhttp/./cleanhttp.go './cleanhttp.go' -> '/builddir/build/BUILDROOT/golang-github-hashicorp-go-cleanhttp-0-0.4.git5df5ddc.el7.centos.x86_64//usr/share/gocode/src/github.com/hashicorp/go-cleanhttp/./cleanhttp.go' + echo '%{gopath}/src/%{import_path}/./cleanhttp.go' + sort -u -o devel.file-list devel.file-list + /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.FH54gr + umask 022 + cd /builddir/build/BUILD + cd go-cleanhttp-5df5ddc69534f1a4697289f1dca2193fbb40213f + exit 0 Processing files: golang-github-hashicorp-go-cleanhttp-devel-0-0.4.git5df5ddc.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.X6rNGD + umask 022 + cd /builddir/build/BUILD + cd go-cleanhttp-5df5ddc69534f1a4697289f1dca2193fbb40213f + DOCDIR=/builddir/build/BUILDROOT/golang-github-hashicorp-go-cleanhttp-0-0.4.git5df5ddc.el7.centos.x86_64/usr/share/doc/golang-github-hashicorp-go-cleanhttp-devel-0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-hashicorp-go-cleanhttp-0-0.4.git5df5ddc.el7.centos.x86_64/usr/share/doc/golang-github-hashicorp-go-cleanhttp-devel-0 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-hashicorp-go-cleanhttp-0-0.4.git5df5ddc.el7.centos.x86_64/usr/share/doc/golang-github-hashicorp-go-cleanhttp-devel-0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Cbqc7P + umask 022 + cd /builddir/build/BUILD + cd go-cleanhttp-5df5ddc69534f1a4697289f1dca2193fbb40213f + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-hashicorp-go-cleanhttp-0-0.4.git5df5ddc.el7.centos.x86_64/usr/share/licenses/golang-github-hashicorp-go-cleanhttp-devel-0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-hashicorp-go-cleanhttp-0-0.4.git5df5ddc.el7.centos.x86_64/usr/share/licenses/golang-github-hashicorp-go-cleanhttp-devel-0 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-hashicorp-go-cleanhttp-0-0.4.git5df5ddc.el7.centos.x86_64/usr/share/licenses/golang-github-hashicorp-go-cleanhttp-devel-0 + exit 0 Provides: golang(github.com/hashicorp/go-cleanhttp) = 0-0.4.git5df5ddc.el7.centos golang-github-hashicorp-go-cleanhttp-devel = 0-0.4.git5df5ddc.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-hashicorp-go-cleanhttp-0-0.4.git5df5ddc.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-527056734.novalocal Wrote: /builddir/build/RPMS/golang-github-hashicorp-go-cleanhttp-devel-0-0.4.git5df5ddc.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ijBo8e + umask 022 + cd /builddir/build/BUILD + cd go-cleanhttp-5df5ddc69534f1a4697289f1dca2193fbb40213f + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-hashicorp-go-cleanhttp-0-0.4.git5df5ddc.el7.centos.x86_64 + exit 0 Child return code was: 0