Mock Version: 1.3.3 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-mattn-go-isatty.spec'], printOutput=Falseuid=1001shell=Falsegid=135env={'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash'}timeout=0chrootPath='/var/lib/mock/fedora-rawhide-x86_64-mockbuilder-5102/root'user='mockbuild'logger=) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-mattn-go-isatty.spec'] with env {'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-mattn-go-isatty-0-0.1.git9622e0c.fc27.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'], private_network=Trueuid=1001printOutput=Falsegid=135shell=Falseenv={'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash'}timeout=0chrootPath='/var/lib/mock/fedora-rawhide-x86_64-mockbuilder-5102/root'user='mockbuild'logger=) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-mattn-go-isatty.spec'] with env {'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MIFtyt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-isatty-9622e0cc9d8f9be434ca605520ff9a16808fee47 + /usr/bin/gzip -dc /builddir/build/SOURCES/go-isatty-9622e0c.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd go-isatty-9622e0cc9d8f9be434ca605520ff9a16808fee47 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cUFeoM + umask 022 + cd /builddir/build/BUILD + cd go-isatty-9622e0cc9d8f9be434ca605520ff9a16808fee47 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.C3Ore5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0-0.1.git9622e0c.fc27.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0-0.1.git9622e0c.fc27.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0-0.1.git9622e0c.fc27.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0-0.1.git9622e0c.fc27.x86_64 + cd go-isatty-9622e0cc9d8f9be434ca605520ff9a16808fee47 + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0-0.1.git9622e0c.fc27.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.1.git9622e0c.fc27.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.1.git9622e0c.fc27.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.1.git9622e0c.fc27.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.1.git9622e0c.fc27.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.1.git9622e0c.fc27.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.1.git9622e0c.fc27.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.1.git9622e0c.fc27.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.1.git9622e0c.fc27.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.1.git9622e0c.fc27.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.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0-0.1.git9622e0c.fc27.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.1.git9622e0c.fc27.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.1.git9622e0c.fc27.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.1.git9622e0c.fc27.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.1.git9622e0c.fc27.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.1.git9622e0c.fc27.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.1.git9622e0c.fc27.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.1.git9622e0c.fc27.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.1.git9622e0c.fc27.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.1.git9622e0c.fc27.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.1.git9622e0c.fc27.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.1.git9622e0c.fc27.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./doc.go' + echo '%{gopath}/src/%{import_path}/./doc.go' + '[' . '!=' . ']' + for file in $(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go") ++ dirname ./_example/example.go + dirprefix=./_example + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0-0.1.git9622e0c.fc27.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./_example + cp -pav ./_example/example.go /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0-0.1.git9622e0c.fc27.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./_example/example.go './_example/example.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0-0.1.git9622e0c.fc27.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./_example/example.go' + echo '%{gopath}/src/%{import_path}/./_example/example.go' + '[' ./_example '!=' . ']' + echo '%dir %{gopath}/src/%{import_path}/./_example' ++ dirname ./_example + dirprefix=. + '[' . '!=' . ']' + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0-0.1.git9622e0c.fc27.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.1.git9622e0c.fc27.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.1.git9622e0c.fc27.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.1.git9622e0c.fc27.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.1.git9622e0c.fc27.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.1.git9622e0c.fc27.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.1.git9622e0c.fc27.x86_64//usr/share/gocode/src/github.com/mattn/go-isatty/./isatty_others_test.go' + echo '%{gopath}/src/%{import_path}/./isatty_others_test.go' + '[' . '!=' . ']' + sort -u -o devel.file-list devel.file-list + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.0BnEvo + umask 022 + cd /builddir/build/BUILD + cd go-isatty-9622e0cc9d8f9be434ca605520ff9a16808fee47 + export GOPATH=/builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0-0.1.git9622e0c.fc27.x86_64//usr/share/gocode:/usr/share/gocode + GOPATH=/builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0-0.1.git9622e0c.fc27.x86_64//usr/share/gocode:/usr/share/gocode + go test -compiler gc -ldflags '' github.com/mattn/go-isatty ok github.com/mattn/go-isatty 0.002s + exit 0 Processing files: golang-github-mattn-go-isatty-devel-0-0.1.git9622e0c.fc27.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Gm25FI + umask 022 + cd /builddir/build/BUILD + cd go-isatty-9622e0cc9d8f9be434ca605520ff9a16808fee47 + DOCDIR=/builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0-0.1.git9622e0c.fc27.x86_64/usr/share/doc/golang-github-mattn-go-isatty-devel + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0-0.1.git9622e0c.fc27.x86_64/usr/share/doc/golang-github-mattn-go-isatty-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0-0.1.git9622e0c.fc27.x86_64/usr/share/doc/golang-github-mattn-go-isatty-devel + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.0lCCR2 + umask 022 + cd /builddir/build/BUILD + cd go-isatty-9622e0cc9d8f9be434ca605520ff9a16808fee47 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0-0.1.git9622e0c.fc27.x86_64/usr/share/licenses/golang-github-mattn-go-isatty-devel + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0-0.1.git9622e0c.fc27.x86_64/usr/share/licenses/golang-github-mattn-go-isatty-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0-0.1.git9622e0c.fc27.x86_64/usr/share/licenses/golang-github-mattn-go-isatty-devel + exit 0 Provides: golang(github.com/mattn/go-isatty) = 0-0.1.git9622e0c.fc27 golang-github-mattn-go-isatty-devel = 0-0.1.git9622e0c.fc27 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.1.git9622e0c.fc27.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8Sh5bn + umask 022 + cd /builddir/build/BUILD + cd go-isatty-9622e0cc9d8f9be434ca605520ff9a16808fee47 + DOCDIR=/builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0-0.1.git9622e0c.fc27.x86_64/usr/share/doc/golang-github-mattn-go-isatty-unit-test-devel + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0-0.1.git9622e0c.fc27.x86_64/usr/share/doc/golang-github-mattn-go-isatty-unit-test-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0-0.1.git9622e0c.fc27.x86_64/usr/share/doc/golang-github-mattn-go-isatty-unit-test-devel + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.4XaAxH + umask 022 + cd /builddir/build/BUILD + cd go-isatty-9622e0cc9d8f9be434ca605520ff9a16808fee47 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0-0.1.git9622e0c.fc27.x86_64/usr/share/licenses/golang-github-mattn-go-isatty-unit-test-devel + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0-0.1.git9622e0c.fc27.x86_64/usr/share/licenses/golang-github-mattn-go-isatty-unit-test-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0-0.1.git9622e0c.fc27.x86_64/usr/share/licenses/golang-github-mattn-go-isatty-unit-test-devel + exit 0 Provides: golang-github-mattn-go-isatty-unit-test-devel = 0-0.1.git9622e0c.fc27 golang-github-mattn-go-isatty-unit-test-devel(x86-64) = 0-0.1.git9622e0c.fc27 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.1.git9622e0c.fc27.x86_64 Wrote: /builddir/build/RPMS/golang-github-mattn-go-isatty-devel-0-0.1.git9622e0c.fc27.noarch.rpm Wrote: /builddir/build/RPMS/golang-github-mattn-go-isatty-unit-test-devel-0-0.1.git9622e0c.fc27.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.e5b4Z1 + umask 022 + cd /builddir/build/BUILD + cd go-isatty-9622e0cc9d8f9be434ca605520ff9a16808fee47 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-mattn-go-isatty-0-0.1.git9622e0c.fc27.x86_64 + exit 0 Child return code was: 0