Mock Version: 1.3.3 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-mgutz-ansi.spec'], printOutput=Falseuser='mockbuild'uid=1001gid=135logger=timeout=0env={'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ '}shell=FalsechrootPath='/var/lib/mock/fedora-rawhide-x86_64-mockbuilder-4884/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-mgutz-ansi.spec'] with env {'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-mgutz-ansi-0-0.1.git9520e82.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-mgutz-ansi.spec'], private_network=Trueuser='mockbuild'uid=1001gid=135logger=timeout=0env={'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ '}shell=FalsechrootPath='/var/lib/mock/fedora-rawhide-x86_64-mockbuilder-4884/root'printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-mgutz-ansi.spec'] with env {'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OmDKch + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ansi-9520e82c474b0a04dd04f8a40959027271bab992 + /usr/bin/gzip -dc /builddir/build/SOURCES/ansi-9520e82.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ansi-9520e82c474b0a04dd04f8a40959027271bab992 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pb8NNm + umask 022 + cd /builddir/build/BUILD + cd ansi-9520e82c474b0a04dd04f8a40959027271bab992 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KPWkps + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64 + cd ansi-9520e82c474b0a04dd04f8a40959027271bab992 + install -d -p /builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64//usr/share/gocode/src/github.com/mgutz/ansi/ + 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 ./print.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64//usr/share/gocode/src/github.com/mgutz/ansi/. + cp -pav ./print.go /builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64//usr/share/gocode/src/github.com/mgutz/ansi/./print.go './print.go' -> '/builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64//usr/share/gocode/src/github.com/mgutz/ansi/./print.go' + echo '%{gopath}/src/%{import_path}/./print.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-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64//usr/share/gocode/src/github.com/mgutz/ansi/. + cp -pav ./doc.go /builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64//usr/share/gocode/src/github.com/mgutz/ansi/./doc.go './doc.go' -> '/builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64//usr/share/gocode/src/github.com/mgutz/ansi/./doc.go' + echo '%{gopath}/src/%{import_path}/./doc.go' + '[' . '!=' . ']' + for file in $(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go") ++ dirname ./cmd/ansi-mgutz/main.go + dirprefix=./cmd/ansi-mgutz + install -d -p /builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64//usr/share/gocode/src/github.com/mgutz/ansi/./cmd/ansi-mgutz + cp -pav ./cmd/ansi-mgutz/main.go /builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64//usr/share/gocode/src/github.com/mgutz/ansi/./cmd/ansi-mgutz/main.go './cmd/ansi-mgutz/main.go' -> '/builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64//usr/share/gocode/src/github.com/mgutz/ansi/./cmd/ansi-mgutz/main.go' + echo '%{gopath}/src/%{import_path}/./cmd/ansi-mgutz/main.go' + '[' ./cmd/ansi-mgutz '!=' . ']' + echo '%dir %{gopath}/src/%{import_path}/./cmd/ansi-mgutz' ++ dirname ./cmd/ansi-mgutz + dirprefix=./cmd + '[' ./cmd '!=' . ']' + echo '%dir %{gopath}/src/%{import_path}/./cmd' ++ dirname ./cmd + dirprefix=. + '[' . '!=' . ']' + for file in $(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go") ++ dirname ./ansi.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64//usr/share/gocode/src/github.com/mgutz/ansi/. + cp -pav ./ansi.go /builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64//usr/share/gocode/src/github.com/mgutz/ansi/./ansi.go './ansi.go' -> '/builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64//usr/share/gocode/src/github.com/mgutz/ansi/./ansi.go' + echo '%{gopath}/src/%{import_path}/./ansi.go' + '[' . '!=' . ']' + install -d -p /builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64//usr/share/gocode/src/github.com/mgutz/ansi/ ++ find . -iname '*_test.go' + for file in $(find . -iname "*_test.go") ++ dirname ./ansi_test.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64//usr/share/gocode/src/github.com/mgutz/ansi/. + cp -pav ./ansi_test.go /builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64//usr/share/gocode/src/github.com/mgutz/ansi/./ansi_test.go './ansi_test.go' -> '/builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64//usr/share/gocode/src/github.com/mgutz/ansi/./ansi_test.go' + echo '%{gopath}/src/%{import_path}/./ansi_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.N1july + umask 022 + cd /builddir/build/BUILD + cd ansi-9520e82c474b0a04dd04f8a40959027271bab992 + export GOPATH=/builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64//usr/share/gocode:/usr/share/gocode + GOPATH=/builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64//usr/share/gocode:/usr/share/gocode + go test -compiler gc -ldflags '' github.com/mgutz/ansi ok github.com/mgutz/ansi 0.217s + exit 0 Processing files: golang-github-mgutz-ansi-devel-0-0.1.git9520e82.fc27.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.y7AH9F + umask 022 + cd /builddir/build/BUILD + cd ansi-9520e82c474b0a04dd04f8a40959027271bab992 + DOCDIR=/builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64/usr/share/doc/golang-github-mgutz-ansi-devel + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64/usr/share/doc/golang-github-mgutz-ansi-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64/usr/share/doc/golang-github-mgutz-ansi-devel + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.zlKbZN + umask 022 + cd /builddir/build/BUILD + cd ansi-9520e82c474b0a04dd04f8a40959027271bab992 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64/usr/share/licenses/golang-github-mgutz-ansi-devel + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64/usr/share/licenses/golang-github-mgutz-ansi-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64/usr/share/licenses/golang-github-mgutz-ansi-devel + exit 0 Provides: golang(github.com/mgutz/ansi) = 0-0.1.git9520e82.fc27 golang-github-mgutz-ansi-devel = 0-0.1.git9520e82.fc27 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: golang-github-mgutz-ansi-unit-test-devel-0-0.1.git9520e82.fc27.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GqNPWV + umask 022 + cd /builddir/build/BUILD + cd ansi-9520e82c474b0a04dd04f8a40959027271bab992 + DOCDIR=/builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64/usr/share/doc/golang-github-mgutz-ansi-unit-test-devel + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64/usr/share/doc/golang-github-mgutz-ansi-unit-test-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64/usr/share/doc/golang-github-mgutz-ansi-unit-test-devel + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Fx5yV3 + umask 022 + cd /builddir/build/BUILD + cd ansi-9520e82c474b0a04dd04f8a40959027271bab992 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64/usr/share/licenses/golang-github-mgutz-ansi-unit-test-devel + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64/usr/share/licenses/golang-github-mgutz-ansi-unit-test-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64/usr/share/licenses/golang-github-mgutz-ansi-unit-test-devel + exit 0 Provides: golang-github-mgutz-ansi-unit-test-devel = 0-0.1.git9520e82.fc27 golang-github-mgutz-ansi-unit-test-devel(x86-64) = 0-0.1.git9520e82.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-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64 Wrote: /builddir/build/RPMS/golang-github-mgutz-ansi-devel-0-0.1.git9520e82.fc27.noarch.rpm Wrote: /builddir/build/RPMS/golang-github-mgutz-ansi-unit-test-devel-0-0.1.git9520e82.fc27.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.g69C1b + umask 022 + cd /builddir/build/BUILD + cd ansi-9520e82c474b0a04dd04f8a40959027271bab992 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-mgutz-ansi-0-0.1.git9520e82.fc27.x86_64 + exit 0 Child return code was: 0