Mock Version: 1.2.21 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-kardianos-osext.spec'], timeout=0shell=Falseuid=1001env={'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'TERM': 'vt100', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'}logger=user='mockbuild'chrootPath='/var/lib/mock/epel-6-x86_64-mockbuilder-3938/root'printOutput=Falsegid=135) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-kardianos-osext.spec'] with env {'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'TERM': 'vt100', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'} and shell False warning: Could not canonicalize hostname: copr-builder-538322301.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.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-kardianos-osext.spec'], timeout=0shell=Falseuid=1001env={'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'TERM': 'vt100', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'}private_network=Truelogger=user='mockbuild'chrootPath='/var/lib/mock/epel-6-x86_64-mockbuilder-3938/root'printOutput=Falsegid=135) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-kardianos-osext.spec'] with env {'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'TERM': 'vt100', 'HOME': '/builddir', '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.ZIf1ul + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf osext-c2c54e542fb797ad986b31721e1baedf214ca413 + /usr/bin/gzip -dc /builddir/build/SOURCES/osext-c2c54e5.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd osext-c2c54e542fb797ad986b31721e1baedf214ca413 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iCtWk6 + umask 022 + cd /builddir/build/BUILD + cd osext-c2c54e542fb797ad986b31721e1baedf214ca413 + LANG=C + export LANG + unset DISPLAY + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XYasbR + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64 + cd osext-c2c54e542fb797ad986b31721e1baedf214ca413 + LANG=C + export LANG + unset DISPLAY + install -d -p /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64//usr/share/gocode/src/github.com/kardianos/osext/ + 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 ./osext_windows.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64//usr/share/gocode/src/github.com/kardianos/osext/. + cp -pav ./osext_windows.go /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64//usr/share/gocode/src/github.com/kardianos/osext/./osext_windows.go `./osext_windows.go' -> `/builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64//usr/share/gocode/src/github.com/kardianos/osext/./osext_windows.go' + echo '%{gopath}/src/%{import_path}/./osext_windows.go' + '[' . '!=' . ']' + for file in '$(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go")' ++ dirname ./osext_sysctl.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64//usr/share/gocode/src/github.com/kardianos/osext/. + cp -pav ./osext_sysctl.go /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64//usr/share/gocode/src/github.com/kardianos/osext/./osext_sysctl.go `./osext_sysctl.go' -> `/builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64//usr/share/gocode/src/github.com/kardianos/osext/./osext_sysctl.go' + echo '%{gopath}/src/%{import_path}/./osext_sysctl.go' + '[' . '!=' . ']' + for file in '$(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go")' ++ dirname ./osext_procfs.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64//usr/share/gocode/src/github.com/kardianos/osext/. + cp -pav ./osext_procfs.go /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64//usr/share/gocode/src/github.com/kardianos/osext/./osext_procfs.go `./osext_procfs.go' -> `/builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64//usr/share/gocode/src/github.com/kardianos/osext/./osext_procfs.go' + echo '%{gopath}/src/%{import_path}/./osext_procfs.go' + '[' . '!=' . ']' + for file in '$(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go")' ++ dirname ./osext_plan9.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64//usr/share/gocode/src/github.com/kardianos/osext/. + cp -pav ./osext_plan9.go /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64//usr/share/gocode/src/github.com/kardianos/osext/./osext_plan9.go `./osext_plan9.go' -> `/builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64//usr/share/gocode/src/github.com/kardianos/osext/./osext_plan9.go' + echo '%{gopath}/src/%{import_path}/./osext_plan9.go' + '[' . '!=' . ']' + for file in '$(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go")' ++ dirname ./osext.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64//usr/share/gocode/src/github.com/kardianos/osext/. + cp -pav ./osext.go /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64//usr/share/gocode/src/github.com/kardianos/osext/./osext.go `./osext.go' -> `/builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64//usr/share/gocode/src/github.com/kardianos/osext/./osext.go' + echo '%{gopath}/src/%{import_path}/./osext.go' + '[' . '!=' . ']' + install -d -p /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64//usr/share/gocode/src/github.com/kardianos/osext/ ++ find . -iname '*_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./osext_test.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64//usr/share/gocode/src/github.com/kardianos/osext/. + cp -pav ./osext_test.go /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64//usr/share/gocode/src/github.com/kardianos/osext/./osext_test.go `./osext_test.go' -> `/builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64//usr/share/gocode/src/github.com/kardianos/osext/./osext_test.go' + echo '%{gopath}/src/%{import_path}/./osext_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-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.sCjRjC + umask 022 + cd /builddir/build/BUILD + cd osext-c2c54e542fb797ad986b31721e1baedf214ca413 + unset DISPLAY + export GOPATH=/builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64//usr/share/gocode:/usr/share/gocode + GOPATH=/builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64//usr/share/gocode:/usr/share/gocode + go test github.com/kardianos/osext ok github.com/kardianos/osext 0.006s + exit 0 Processing files: golang-github-kardianos-osext-devel-0-0.1.gitc2c54e5.el6.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.dNnmYp + umask 022 + cd /builddir/build/BUILD + cd osext-c2c54e542fb797ad986b31721e1baedf214ca413 + DOCDIR=/builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64/usr/share/doc/golang-github-kardianos-osext-devel-0 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64/usr/share/doc/golang-github-kardianos-osext-devel-0 + /bin/mkdir -p /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64/usr/share/doc/golang-github-kardianos-osext-devel-0 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64/usr/share/doc/golang-github-kardianos-osext-devel-0 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64/usr/share/doc/golang-github-kardianos-osext-devel-0 + exit 0 Provides: golang(github.com/kardianos/osext) = 0-0.1.gitc2c54e5.el6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <= 3.0.3-1 Processing files: golang-github-kardianos-osext-unit-test-devel-0-0.1.gitc2c54e5.el6.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ozRVFd + umask 022 + cd /builddir/build/BUILD + cd osext-c2c54e542fb797ad986b31721e1baedf214ca413 + DOCDIR=/builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64/usr/share/doc/golang-github-kardianos-osext-unit-test-devel-0 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64/usr/share/doc/golang-github-kardianos-osext-unit-test-devel-0 + /bin/mkdir -p /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64/usr/share/doc/golang-github-kardianos-osext-unit-test-devel-0 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64/usr/share/doc/golang-github-kardianos-osext-unit-test-devel-0 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64/usr/share/doc/golang-github-kardianos-osext-unit-test-devel-0 + exit 0 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-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64 warning: Could not canonicalize hostname: copr-builder-538322301.novalocal Wrote: /builddir/build/RPMS/golang-github-kardianos-osext-devel-0-0.1.gitc2c54e5.el6.noarch.rpm Wrote: /builddir/build/RPMS/golang-github-kardianos-osext-unit-test-devel-0-0.1.gitc2c54e5.el6.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9Dd21C + umask 022 + cd /builddir/build/BUILD + cd osext-c2c54e542fb797ad986b31721e1baedf214ca413 + /bin/rm -rf /builddir/build/BUILDROOT/golang-github-kardianos-osext-0-0.1.gitc2c54e5.el6.x86_64 + exit 0 Child return code was: 0