Mock Version: 1.4.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-mattn-go-isatty.spec'], chrootPath='/var/lib/mock/683257-epel-7-x86_64-1512160616.792423/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=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-mattn-go-isatty.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 warning: Could not canonicalize hostname: copr-builder-647075095.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-mattn-go-isatty-0.0.3-1.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-mattn-go-isatty.spec'], chrootPath='/var/lib/mock/683257-epel-7-x86_64-1512160616.792423/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=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-mattn-go-isatty.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.1F4Pys + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-isatty-0.0.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/go-isatty-v0.0.3.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd go-isatty-0.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CjsUwg + umask 022 + cd /builddir/build/BUILD + cd go-isatty-0.0.3 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.H4AHv4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64 + cd go-isatty-0.0.3 + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/ + echo '%dir %{gopath}/src/%{import_path}/.' ++ find . '(' -iname '*.go' -or -iname '*.s' ')' '!' -iname '*_test.go' + for file in '$(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go")' ++ dirname ./isatty_windows.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/. + cp -pav ./isatty_windows.go /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./isatty_windows.go './isatty_windows.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./isatty_windows.go' + echo '%{gopath}/src/%{import_path}/./isatty_windows.go' + '[' . '!=' . ']' + for file in '$(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go")' ++ dirname ./isatty_solaris.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/. + cp -pav ./isatty_solaris.go /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./isatty_solaris.go './isatty_solaris.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./isatty_solaris.go' + echo '%{gopath}/src/%{import_path}/./isatty_solaris.go' + '[' . '!=' . ']' + for file in '$(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go")' ++ dirname ./isatty_others.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/. + cp -pav ./isatty_others.go /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./isatty_others.go './isatty_others.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./isatty_others.go' + echo '%{gopath}/src/%{import_path}/./isatty_others.go' + '[' . '!=' . ']' + for file in '$(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go")' ++ dirname ./isatty_linux_ppc64x.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/. + cp -pav ./isatty_linux_ppc64x.go /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./isatty_linux_ppc64x.go './isatty_linux_ppc64x.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./isatty_linux_ppc64x.go' + echo '%{gopath}/src/%{import_path}/./isatty_linux_ppc64x.go' + '[' . '!=' . ']' + for file in '$(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go")' ++ dirname ./isatty_linux.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/. + cp -pav ./isatty_linux.go /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./isatty_linux.go './isatty_linux.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./isatty_linux.go' + echo '%{gopath}/src/%{import_path}/./isatty_linux.go' + '[' . '!=' . ']' + for file in '$(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go")' ++ dirname ./isatty_bsd.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/. + cp -pav ./isatty_bsd.go /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./isatty_bsd.go './isatty_bsd.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./isatty_bsd.go' + echo '%{gopath}/src/%{import_path}/./isatty_bsd.go' + '[' . '!=' . ']' + for file in '$(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go")' ++ dirname ./isatty_appengine.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/. + cp -pav ./isatty_appengine.go /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./isatty_appengine.go './isatty_appengine.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./isatty_appengine.go' + echo '%{gopath}/src/%{import_path}/./isatty_appengine.go' + '[' . '!=' . ']' + for file in '$(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go")' ++ dirname ./doc.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/. + cp -pav ./doc.go /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./doc.go './doc.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./doc.go' + echo '%{gopath}/src/%{import_path}/./doc.go' + '[' . '!=' . ']' + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/ ++ find . -iname '*_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./isatty_windows_test.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/. + cp -pav ./isatty_windows_test.go /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./isatty_windows_test.go './isatty_windows_test.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./isatty_windows_test.go' + echo '%{gopath}/src/%{import_path}/./isatty_windows_test.go' + '[' . '!=' . ']' + for file in '$(find . -iname "*_test.go")' ++ dirname ./isatty_others_test.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/. + cp -pav ./isatty_others_test.go /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./isatty_others_test.go './isatty_others_test.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./isatty_others_test.go' + echo '%{gopath}/src/%{import_path}/./isatty_others_test.go' + '[' . '!=' . ']' + for file in '$(find . -iname "*_test.go")' ++ dirname ./example_test.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/. + cp -pav ./example_test.go /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./example_test.go './example_test.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./example_test.go' + echo '%{gopath}/src/%{import_path}/./example_test.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.I85dOS + umask 022 + cd /builddir/build/BUILD + cd go-isatty-0.0.3 + export GOPATH=/builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode:/usr/share/gocode + GOPATH=/builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64//usr/share/gocode:/usr/share/gocode + go test github.com/mattn/go-isatty ok github.com/mattn/go-isatty 0.004s + exit 0 Processing files: golang-github-mattn-go-isatty-devel-0.0.3-1.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lFlSnI + umask 022 + cd /builddir/build/BUILD + cd go-isatty-0.0.3 + DOCDIR=/builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64/usr/share/doc/golang-github-mattn-go-isatty-devel-0.0.3 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64/usr/share/doc/golang-github-mattn-go-isatty-devel-0.0.3 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64/usr/share/doc/golang-github-mattn-go-isatty-devel-0.0.3 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.02pVYx + umask 022 + cd /builddir/build/BUILD + cd go-isatty-0.0.3 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64/usr/share/licenses/golang-github-mattn-go-isatty-devel-0.0.3 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64/usr/share/licenses/golang-github-mattn-go-isatty-devel-0.0.3 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64/usr/share/licenses/golang-github-mattn-go-isatty-devel-0.0.3 + exit 0 Provides: golang(github.com/mattn/go-isatty) = 0.0.3-1.el7.centos golang-github-mattn-go-isatty-devel = 0.0.3-1.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: golang-github-mattn-go-isatty-unit-test-devel-0.0.3-1.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tVaQJn + umask 022 + cd /builddir/build/BUILD + cd go-isatty-0.0.3 + DOCDIR=/builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64/usr/share/doc/golang-github-mattn-go-isatty-unit-test-devel-0.0.3 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64/usr/share/doc/golang-github-mattn-go-isatty-unit-test-devel-0.0.3 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64/usr/share/doc/golang-github-mattn-go-isatty-unit-test-devel-0.0.3 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.WBc7vd + umask 022 + cd /builddir/build/BUILD + cd go-isatty-0.0.3 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64/usr/share/licenses/golang-github-mattn-go-isatty-unit-test-devel-0.0.3 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64/usr/share/licenses/golang-github-mattn-go-isatty-unit-test-devel-0.0.3 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64/usr/share/licenses/golang-github-mattn-go-isatty-unit-test-devel-0.0.3 + exit 0 Provides: golang-github-mattn-go-isatty-unit-test-devel = 0.0.3-1.el7.centos golang-github-mattn-go-isatty-unit-test-devel(x86-64) = 0.0.3-1.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-mattn-go-isatty-0.0.3-1.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-647075095.novalocal Wrote: /builddir/build/RPMS/golang-github-mattn-go-isatty-devel-0.0.3-1.el7.centos.noarch.rpm Wrote: /builddir/build/RPMS/golang-github-mattn-go-isatty-unit-test-devel-0.0.3-1.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.tNWaiJ + umask 022 + cd /builddir/build/BUILD + cd go-isatty-0.0.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0.0.3-1.el7.centos.x86_64 + exit 0 Child return code was: 0