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-colorable.spec'], user='mockbuild'chrootPath='/var/lib/mock/fedora-rawhide-x86_64-mockbuilder-5033/root'printOutput=Falseshell=Falsetimeout=0gid=135logger=uid=1001env={'SHELL': '/bin/bash', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-mattn-go-colorable.spec'] with env {'SHELL': '/bin/bash', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-mattn-go-colorable-0-0.1.gitacb9493.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-colorable.spec'], user='mockbuild'chrootPath='/var/lib/mock/fedora-rawhide-x86_64-mockbuilder-5033/root'printOutput=Falseshell=Falsetimeout=0gid=135logger=uid=1001env={'SHELL': '/bin/bash', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'}private_network=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-mattn-go-colorable.spec'] with env {'SHELL': '/bin/bash', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', '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.PWnBSo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-colorable-acb9493f2794fd0f820de7a27a217dafbb1b65ea + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/go-colorable-acb9493.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd go-colorable-acb9493f2794fd0f820de7a27a217dafbb1b65ea + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QyPhqf + umask 022 + cd /builddir/build/BUILD + cd go-colorable-acb9493f2794fd0f820de7a27a217dafbb1b65ea + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.L9orY5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64 + cd go-colorable-acb9493f2794fd0f820de7a27a217dafbb1b65ea + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/ + 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 ./noncolorable.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/. + cp -pav ./noncolorable.go /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./noncolorable.go './noncolorable.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./noncolorable.go' + echo '%{gopath}/src/%{import_path}/./noncolorable.go' + '[' . '!=' . ']' + for file in $(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go") ++ dirname ./colorable_windows.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/. + cp -pav ./colorable_windows.go /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./colorable_windows.go './colorable_windows.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./colorable_windows.go' + echo '%{gopath}/src/%{import_path}/./colorable_windows.go' + '[' . '!=' . ']' + for file in $(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go") ++ dirname ./colorable_others.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/. + cp -pav ./colorable_others.go /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./colorable_others.go './colorable_others.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./colorable_others.go' + echo '%{gopath}/src/%{import_path}/./colorable_others.go' + '[' . '!=' . ']' + for file in $(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go") ++ dirname ./_example/logrus/main.go + dirprefix=./_example/logrus + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./_example/logrus + cp -pav ./_example/logrus/main.go /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./_example/logrus/main.go './_example/logrus/main.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./_example/logrus/main.go' + echo '%{gopath}/src/%{import_path}/./_example/logrus/main.go' + '[' ./_example/logrus '!=' . ']' + echo '%dir %{gopath}/src/%{import_path}/./_example/logrus' ++ dirname ./_example/logrus + dirprefix=./_example + '[' ./_example '!=' . ']' + echo '%dir %{gopath}/src/%{import_path}/./_example' ++ dirname ./_example + dirprefix=. + '[' . '!=' . ']' + for file in $(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go") ++ dirname ./_example/escape-seq/main.go + dirprefix=./_example/escape-seq + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./_example/escape-seq + cp -pav ./_example/escape-seq/main.go /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./_example/escape-seq/main.go './_example/escape-seq/main.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./_example/escape-seq/main.go' + echo '%{gopath}/src/%{import_path}/./_example/escape-seq/main.go' + '[' ./_example/escape-seq '!=' . ']' + echo '%dir %{gopath}/src/%{import_path}/./_example/escape-seq' ++ dirname ./_example/escape-seq + dirprefix=./_example + '[' ./_example '!=' . ']' + echo '%dir %{gopath}/src/%{import_path}/./_example' ++ dirname ./_example + dirprefix=. + '[' . '!=' . ']' + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/ ++ find . -iname '*_test.go' + for file in $(find . -iname "*_test.go") ++ dirname ./colorable_test.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/. + cp -pav ./colorable_test.go /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./colorable_test.go './colorable_test.go' -> '/builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64//usr/share/gocode/src/github.com/mattn/go-colorable/./colorable_test.go' + echo '%{gopath}/src/%{import_path}/./colorable_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.4kKFSW + umask 022 + cd /builddir/build/BUILD + cd go-colorable-acb9493f2794fd0f820de7a27a217dafbb1b65ea + export GOPATH=/builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64//usr/share/gocode:/usr/share/gocode + GOPATH=/builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64//usr/share/gocode:/usr/share/gocode + go test -compiler gc -ldflags '' github.com/mattn/go-colorable ok github.com/mattn/go-colorable 0.002s + exit 0 Processing files: golang-github-mattn-go-colorable-devel-0-0.1.gitacb9493.fc27.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.zUwLHO + umask 022 + cd /builddir/build/BUILD + cd go-colorable-acb9493f2794fd0f820de7a27a217dafbb1b65ea + DOCDIR=/builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64/usr/share/doc/golang-github-mattn-go-colorable-devel + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64/usr/share/doc/golang-github-mattn-go-colorable-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64/usr/share/doc/golang-github-mattn-go-colorable-devel + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.e5IYxG + umask 022 + cd /builddir/build/BUILD + cd go-colorable-acb9493f2794fd0f820de7a27a217dafbb1b65ea + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64/usr/share/licenses/golang-github-mattn-go-colorable-devel + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64/usr/share/licenses/golang-github-mattn-go-colorable-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64/usr/share/licenses/golang-github-mattn-go-colorable-devel + exit 0 Provides: golang(github.com/mattn/go-colorable) = 0-0.1.gitacb9493.fc27 golang-github-mattn-go-colorable-devel = 0-0.1.gitacb9493.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-colorable-unit-test-devel-0-0.1.gitacb9493.fc27.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TRnXwy + umask 022 + cd /builddir/build/BUILD + cd go-colorable-acb9493f2794fd0f820de7a27a217dafbb1b65ea + DOCDIR=/builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64/usr/share/doc/golang-github-mattn-go-colorable-unit-test-devel + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64/usr/share/doc/golang-github-mattn-go-colorable-unit-test-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64/usr/share/doc/golang-github-mattn-go-colorable-unit-test-devel + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.IMenxq + umask 022 + cd /builddir/build/BUILD + cd go-colorable-acb9493f2794fd0f820de7a27a217dafbb1b65ea + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64/usr/share/licenses/golang-github-mattn-go-colorable-unit-test-devel + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64/usr/share/licenses/golang-github-mattn-go-colorable-unit-test-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64/usr/share/licenses/golang-github-mattn-go-colorable-unit-test-devel + exit 0 Provides: golang-github-mattn-go-colorable-unit-test-devel = 0-0.1.gitacb9493.fc27 golang-github-mattn-go-colorable-unit-test-devel(x86-64) = 0-0.1.gitacb9493.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-colorable-0-0.1.gitacb9493.fc27.x86_64 Wrote: /builddir/build/RPMS/golang-github-mattn-go-colorable-devel-0-0.1.gitacb9493.fc27.noarch.rpm Wrote: /builddir/build/RPMS/golang-github-mattn-go-colorable-unit-test-devel-0-0.1.gitacb9493.fc27.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.BlErFi + umask 022 + cd /builddir/build/BUILD + cd go-colorable-acb9493f2794fd0f820de7a27a217dafbb1b65ea + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-mattn-go-colorable-0-0.1.gitacb9493.fc27.x86_64 + exit 0 Child return code was: 0