Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-fatih-structs.spec'], chrootPath='/var/lib/mock/f28-build-11365566-852293/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-fatih-structs.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 Wrote: /builddir/build/SRPMS/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.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-fatih-structs.spec'], chrootPath='/var/lib/mock/f28-build-11365566-852293/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-fatih-structs.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.QChaPI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf structs-7e5a8eef611ee84dd359503f3969f80df4c50723 + /usr/bin/gzip -dc /builddir/build/SOURCES/structs-7e5a8ee.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd structs-7e5a8eef611ee84dd359503f3969f80df4c50723 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.sC3zxI + umask 022 + cd /builddir/build/BUILD + cd structs-7e5a8eef611ee84dd359503f3969f80df4c50723 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DEsjgI + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64 + cd structs-7e5a8eef611ee84dd359503f3969f80df4c50723 + install -d -p /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64//usr/share/gocode/src/github.com/fatih/structs/ + 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 ./field.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64//usr/share/gocode/src/github.com/fatih/structs/. + cp -pav ./field.go /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64//usr/share/gocode/src/github.com/fatih/structs/./field.go './field.go' -> '/builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64//usr/share/gocode/src/github.com/fatih/structs/./field.go' + echo '%{gopath}/src/%{import_path}/./field.go' + '[' . '!=' . ']' + for file in $(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go") ++ dirname ./structs.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64//usr/share/gocode/src/github.com/fatih/structs/. + cp -pav ./structs.go /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64//usr/share/gocode/src/github.com/fatih/structs/./structs.go './structs.go' -> '/builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64//usr/share/gocode/src/github.com/fatih/structs/./structs.go' + echo '%{gopath}/src/%{import_path}/./structs.go' + '[' . '!=' . ']' + for file in $(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go") ++ dirname ./tags.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64//usr/share/gocode/src/github.com/fatih/structs/. + cp -pav ./tags.go /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64//usr/share/gocode/src/github.com/fatih/structs/./tags.go './tags.go' -> '/builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64//usr/share/gocode/src/github.com/fatih/structs/./tags.go' + echo '%{gopath}/src/%{import_path}/./tags.go' + '[' . '!=' . ']' + install -d -p /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64//usr/share/gocode/src/github.com/fatih/structs/ ++ find . -iname '*_test.go' + for file in $(find . -iname "*_test.go") ++ dirname ./field_test.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64//usr/share/gocode/src/github.com/fatih/structs/. + cp -pav ./field_test.go /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64//usr/share/gocode/src/github.com/fatih/structs/./field_test.go './field_test.go' -> '/builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64//usr/share/gocode/src/github.com/fatih/structs/./field_test.go' + echo '%{gopath}/src/%{import_path}/./field_test.go' + '[' . '!=' . ']' + for file in $(find . -iname "*_test.go") ++ dirname ./structs_example_test.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64//usr/share/gocode/src/github.com/fatih/structs/. + cp -pav ./structs_example_test.go /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64//usr/share/gocode/src/github.com/fatih/structs/./structs_example_test.go './structs_example_test.go' -> '/builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64//usr/share/gocode/src/github.com/fatih/structs/./structs_example_test.go' + echo '%{gopath}/src/%{import_path}/./structs_example_test.go' + '[' . '!=' . ']' + for file in $(find . -iname "*_test.go") ++ dirname ./structs_test.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64//usr/share/gocode/src/github.com/fatih/structs/. + cp -pav ./structs_test.go /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64//usr/share/gocode/src/github.com/fatih/structs/./structs_test.go './structs_test.go' -> '/builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64//usr/share/gocode/src/github.com/fatih/structs/./structs_test.go' + echo '%{gopath}/src/%{import_path}/./structs_test.go' + '[' . '!=' . ']' + for file in $(find . -iname "*_test.go") ++ dirname ./tags_test.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64//usr/share/gocode/src/github.com/fatih/structs/. + cp -pav ./tags_test.go /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64//usr/share/gocode/src/github.com/fatih/structs/./tags_test.go './tags_test.go' -> '/builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64//usr/share/gocode/src/github.com/fatih/structs/./tags_test.go' + echo '%{gopath}/src/%{import_path}/./tags_test.go' + '[' . '!=' . ']' + sort -u -o devel.file-list devel.file-list + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /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 + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ZstuoI + umask 022 + cd /builddir/build/BUILD + cd structs-7e5a8eef611ee84dd359503f3969f80df4c50723 + export GOPATH=/builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64//usr/share/gocode:/usr/share/gocode + GOPATH=/builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64//usr/share/gocode:/usr/share/gocode + go test -buildmode pie -compiler gc -ldflags ' -extldflags '\''-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '\''' github.com/fatih/structs ok github.com/fatih/structs 0.005s + exit 0 Processing files: golang-github-fatih-structs-devel-0-0.2.20170612git7e5a8ee.fc28.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0wf8TS + umask 022 + cd /builddir/build/BUILD + cd structs-7e5a8eef611ee84dd359503f3969f80df4c50723 + DOCDIR=/builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64/usr/share/doc/golang-github-fatih-structs-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64/usr/share/doc/golang-github-fatih-structs-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64/usr/share/doc/golang-github-fatih-structs-devel + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.jgOIq3 + umask 022 + cd /builddir/build/BUILD + cd structs-7e5a8eef611ee84dd359503f3969f80df4c50723 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64/usr/share/licenses/golang-github-fatih-structs-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64/usr/share/licenses/golang-github-fatih-structs-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64/usr/share/licenses/golang-github-fatih-structs-devel + exit 0 Provides: golang(github.com/fatih/structs) = 0-0.2.20170612git7e5a8ee.fc28 golang-github-fatih-structs-devel = 0-0.2.20170612git7e5a8ee.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: golang-github-fatih-structs-unit-test-devel-0-0.2.20170612git7e5a8ee.fc28.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4DY53d + umask 022 + cd /builddir/build/BUILD + cd structs-7e5a8eef611ee84dd359503f3969f80df4c50723 + DOCDIR=/builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64/usr/share/doc/golang-github-fatih-structs-unit-test-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64/usr/share/doc/golang-github-fatih-structs-unit-test-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64/usr/share/doc/golang-github-fatih-structs-unit-test-devel + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.9OwEIo + umask 022 + cd /builddir/build/BUILD + cd structs-7e5a8eef611ee84dd359503f3969f80df4c50723 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64/usr/share/licenses/golang-github-fatih-structs-unit-test-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64/usr/share/licenses/golang-github-fatih-structs-unit-test-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64/usr/share/licenses/golang-github-fatih-structs-unit-test-devel + exit 0 Provides: golang-github-fatih-structs-unit-test-devel = 0-0.2.20170612git7e5a8ee.fc28 golang-github-fatih-structs-unit-test-devel(x86-64) = 0-0.2.20170612git7e5a8ee.fc28 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-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64 Wrote: /builddir/build/RPMS/golang-github-fatih-structs-devel-0-0.2.20170612git7e5a8ee.fc28.noarch.rpm Wrote: /builddir/build/RPMS/golang-github-fatih-structs-unit-test-devel-0-0.2.20170612git7e5a8ee.fc28.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.L2WnAz + umask 022 + cd /builddir/build/BUILD + cd structs-7e5a8eef611ee84dd359503f3969f80df4c50723 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-fatih-structs-0-0.2.20170612git7e5a8ee.fc28.x86_64 + exit 0 Child return code was: 0