Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-go-stack-stack.spec'], chrootPath='/var/lib/mock/867118-fedora-rawhide-x86_64-1552365556.890987/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fzwrmskd:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '423f5d4b7e674c9986293a439916acfe', '-D', '/var/lib/mock/867118-fedora-rawhide-x86_64-1552365556.890987/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fzwrmskd:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-go-stack-stack.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-go-stack-stack-1.5.2-1.fc31.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-go-stack-stack.spec'], chrootPath='/var/lib/mock/867118-fedora-rawhide-x86_64-1552365556.890987/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fzwrmskd:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2131d0dcf339418d87237b72ab689798', '-D', '/var/lib/mock/867118-fedora-rawhide-x86_64-1552365556.890987/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fzwrmskd:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-go-stack-stack.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.BPDYKs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf stack-100eb0c0a9c5b306ca2fb4f165df21d80ada4b82 + /usr/bin/gzip -dc /builddir/build/SOURCES/stack-100eb0c.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd stack-100eb0c0a9c5b306ca2fb4f165df21d80ada4b82 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/LICENSE-2.0.txt . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vuuMYr + umask 022 + cd /builddir/build/BUILD + cd stack-100eb0c0a9c5b306ca2fb4f165df21d80ada4b82 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DOi5cr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64 + cd stack-100eb0c0a9c5b306ca2fb4f165df21d80ada4b82 + install -d -p /builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64//usr/share/gocode/src/github.com/go-stack/stack/ + echo '%dir %{gopath}/src/%{import_path}/.' BUILDSTDERR: ++ find . '(' -iname '*.go' -or -iname '*.s' ')' '!' -iname '*_test.go' + for file in $(find . \( -iname "*.go" -or -iname "*.s" \) \! -iname "*_test.go") BUILDSTDERR: ++ dirname ./stack.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64//usr/share/gocode/src/github.com/go-stack/stack/. + cp -pav ./stack.go /builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64//usr/share/gocode/src/github.com/go-stack/stack/./stack.go './stack.go' -> '/builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64//usr/share/gocode/src/github.com/go-stack/stack/./stack.go' + echo '%{gopath}/src/%{import_path}/./stack.go' + '[' . '!=' . ']' + install -d -p /builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64//usr/share/gocode/src/github.com/go-stack/stack/ BUILDSTDERR: ++ find . -iname '*_test.go' + for file in $(find . -iname "*_test.go") BUILDSTDERR: ++ dirname ./stackinternal_test.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64//usr/share/gocode/src/github.com/go-stack/stack/. + cp -pav ./stackinternal_test.go /builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64//usr/share/gocode/src/github.com/go-stack/stack/./stackinternal_test.go './stackinternal_test.go' -> '/builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64//usr/share/gocode/src/github.com/go-stack/stack/./stackinternal_test.go' + echo '%{gopath}/src/%{import_path}/./stackinternal_test.go' + '[' . '!=' . ']' + for file in $(find . -iname "*_test.go") BUILDSTDERR: ++ dirname ./stack_test.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64//usr/share/gocode/src/github.com/go-stack/stack/. + cp -pav ./stack_test.go /builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64//usr/share/gocode/src/github.com/go-stack/stack/./stack_test.go './stack_test.go' -> '/builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64//usr/share/gocode/src/github.com/go-stack/stack/./stack_test.go' + echo '%{gopath}/src/%{import_path}/./stack_test.go' + '[' . '!=' . ']' + for file in $(find . -iname "*_test.go") BUILDSTDERR: ++ dirname ./format_test.go + dirprefix=. + install -d -p /builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64//usr/share/gocode/src/github.com/go-stack/stack/. + cp -pav ./format_test.go /builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64//usr/share/gocode/src/github.com/go-stack/stack/./format_test.go './format_test.go' -> '/builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64//usr/share/gocode/src/github.com/go-stack/stack/./format_test.go' + echo '%{gopath}/src/%{import_path}/./format_test.go' + '[' . '!=' . ']' + sort -u -o devel.file-list devel.file-list + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.jfSjVq + umask 022 + cd /builddir/build/BUILD + cd stack-100eb0c0a9c5b306ca2fb4f165df21d80ada4b82 + exit 0 Processing files: golang-github-go-stack-stack-devel-1.5.2-1.fc31.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rXYmEq + umask 022 + cd /builddir/build/BUILD + cd stack-100eb0c0a9c5b306ca2fb4f165df21d80ada4b82 + DOCDIR=/builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64/usr/share/doc/golang-github-go-stack-stack-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64/usr/share/doc/golang-github-go-stack-stack-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64/usr/share/doc/golang-github-go-stack-stack-devel + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.9JOXoq + umask 022 + cd /builddir/build/BUILD + cd stack-100eb0c0a9c5b306ca2fb4f165df21d80ada4b82 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64/usr/share/licenses/golang-github-go-stack-stack-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64/usr/share/licenses/golang-github-go-stack-stack-devel + cp -pr LICENSE.md /builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64/usr/share/licenses/golang-github-go-stack-stack-devel + cp -pr LICENSE-2.0.txt /builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64/usr/share/licenses/golang-github-go-stack-stack-devel + exit 0 Provides: golang(github.com/go-stack/stack) = 1.5.2-1.fc31 golang-github-go-stack-stack-devel = 1.5.2-1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: golang-github-go-stack-stack-unit-test-devel-1.5.2-1.fc31.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Ro2Qkq + umask 022 + cd /builddir/build/BUILD + cd stack-100eb0c0a9c5b306ca2fb4f165df21d80ada4b82 + DOCDIR=/builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64/usr/share/doc/golang-github-go-stack-stack-unit-test-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64/usr/share/doc/golang-github-go-stack-stack-unit-test-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64/usr/share/doc/golang-github-go-stack-stack-unit-test-devel + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.hy8piq + umask 022 + cd /builddir/build/BUILD + cd stack-100eb0c0a9c5b306ca2fb4f165df21d80ada4b82 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64/usr/share/licenses/golang-github-go-stack-stack-unit-test-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64/usr/share/licenses/golang-github-go-stack-stack-unit-test-devel + cp -pr LICENSE.md /builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64/usr/share/licenses/golang-github-go-stack-stack-unit-test-devel + cp -pr LICENSE-2.0.txt /builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64/usr/share/licenses/golang-github-go-stack-stack-unit-test-devel + exit 0 Provides: golang-github-go-stack-stack-unit-test-devel = 1.5.2-1.fc31 golang-github-go-stack-stack-unit-test-devel(x86-64) = 1.5.2-1.fc31 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-go-stack-stack-1.5.2-1.fc31.x86_64 Wrote: /builddir/build/RPMS/golang-github-go-stack-stack-devel-1.5.2-1.fc31.noarch.rpm Wrote: /builddir/build/RPMS/golang-github-go-stack-stack-unit-test-devel-1.5.2-1.fc31.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.RCAHzq + umask 022 + cd /builddir/build/BUILD + cd stack-100eb0c0a9c5b306ca2fb4f165df21d80ada4b82 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-go-stack-stack-1.5.2-1.fc31.x86_64 + exit 0 Child return code was: 0