Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-bitbucket-ww-goautoneg.spec'], chrootPath='/var/lib/mock/812227-epel-7-x86_64-1539943097.424940/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.kvgiucti:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8db455b4868a4e8ea4883a7d24cd8773', '-D', '/var/lib/mock/812227-epel-7-x86_64-1539943097.424940/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kvgiucti:/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-bitbucket-ww-goautoneg.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-bitbucket-ww-goautoneg-0-0.13.git75cd24fc2f2c.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-bitbucket-ww-goautoneg.spec'], chrootPath='/var/lib/mock/812227-epel-7-x86_64-1539943097.424940/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.kvgiucti:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '16e947419c7f4550ae10d0632fbd43ac', '-D', '/var/lib/mock/812227-epel-7-x86_64-1539943097.424940/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.kvgiucti:/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-bitbucket-ww-goautoneg.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.e6dFOg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ww-goautoneg-75cd24fc2f2c + /usr/bin/gzip -dc /builddir/build/SOURCES/75cd24fc2f2c.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd ww-goautoneg-75cd24fc2f2c + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (move-license-to-LICENSE.patch): + echo 'Patch #0 (move-license-to-LICENSE.patch):' + /usr/bin/cat /builddir/build/SOURCES/move-license-to-LICENSE.patch + /usr/bin/patch -p1 --fuzz=0 patching file LICENSE patching file README.txt + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JYwpom + umask 022 + cd /builddir/build/BUILD + cd ww-goautoneg-75cd24fc2f2c + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jXCAYr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-bitbucket-ww-goautoneg-0-0.13.git75cd24fc2f2c.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-bitbucket-ww-goautoneg-0-0.13.git75cd24fc2f2c.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/golang-bitbucket-ww-goautoneg-0-0.13.git75cd24fc2f2c.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-bitbucket-ww-goautoneg-0-0.13.git75cd24fc2f2c.el7.x86_64 + cd ww-goautoneg-75cd24fc2f2c + install -d -p /builddir/build/BUILDROOT/golang-bitbucket-ww-goautoneg-0-0.13.git75cd24fc2f2c.el7.x86_64//usr/share/gocode/src/bitbucket.org/ww/goautoneg/ + echo '%dir %{gopath}/src/%{import_path}/.' BUILDSTDERR: ++ find . -iname '*.go' '!' -iname '*_test.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' BUILDSTDERR: ++ dirname ./autoneg.go + echo '%dir %{gopath}/src/%{import_path}/.' BUILDSTDERR: ++ dirname ./autoneg.go + install -d -p /builddir/build/BUILDROOT/golang-bitbucket-ww-goautoneg-0-0.13.git75cd24fc2f2c.el7.x86_64//usr/share/gocode/src/bitbucket.org/ww/goautoneg/. + cp ./autoneg.go /builddir/build/BUILDROOT/golang-bitbucket-ww-goautoneg-0-0.13.git75cd24fc2f2c.el7.x86_64//usr/share/gocode/src/bitbucket.org/ww/goautoneg/./autoneg.go + echo '%{gopath}/src/%{import_path}/./autoneg.go' + install -d -p /builddir/build/BUILDROOT/golang-bitbucket-ww-goautoneg-0-0.13.git75cd24fc2f2c.el7.x86_64//usr/share/gocode/src/bitbucket.org/ww/goautoneg/ BUILDSTDERR: ++ find . -iname '*_test.go' + for file in '$(find . -iname "*_test.go")' BUILDSTDERR: ++ dirname ./autoneg_test.go + echo '%dir %{gopath}/src/%{import_path}/.' BUILDSTDERR: ++ dirname ./autoneg_test.go + install -d -p /builddir/build/BUILDROOT/golang-bitbucket-ww-goautoneg-0-0.13.git75cd24fc2f2c.el7.x86_64//usr/share/gocode/src/bitbucket.org/ww/goautoneg/. + cp ./autoneg_test.go /builddir/build/BUILDROOT/golang-bitbucket-ww-goautoneg-0-0.13.git75cd24fc2f2c.el7.x86_64//usr/share/gocode/src/bitbucket.org/ww/goautoneg/./autoneg_test.go + echo '%{gopath}/src/%{import_path}/./autoneg_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-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Td4VHx + umask 022 + cd /builddir/build/BUILD + cd ww-goautoneg-75cd24fc2f2c + exit 0 Processing files: golang-bitbucket-ww-goautoneg-devel-0-0.13.git75cd24fc2f2c.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.K6KOrD + umask 022 + cd /builddir/build/BUILD + cd ww-goautoneg-75cd24fc2f2c + DOCDIR=/builddir/build/BUILDROOT/golang-bitbucket-ww-goautoneg-0-0.13.git75cd24fc2f2c.el7.x86_64/usr/share/doc/golang-bitbucket-ww-goautoneg-devel-0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-bitbucket-ww-goautoneg-0-0.13.git75cd24fc2f2c.el7.x86_64/usr/share/doc/golang-bitbucket-ww-goautoneg-devel-0 + cp -pr README.txt /builddir/build/BUILDROOT/golang-bitbucket-ww-goautoneg-0-0.13.git75cd24fc2f2c.el7.x86_64/usr/share/doc/golang-bitbucket-ww-goautoneg-devel-0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.HnGGcJ + umask 022 + cd /builddir/build/BUILD + cd ww-goautoneg-75cd24fc2f2c + LICENSEDIR=/builddir/build/BUILDROOT/golang-bitbucket-ww-goautoneg-0-0.13.git75cd24fc2f2c.el7.x86_64/usr/share/licenses/golang-bitbucket-ww-goautoneg-devel-0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-bitbucket-ww-goautoneg-0-0.13.git75cd24fc2f2c.el7.x86_64/usr/share/licenses/golang-bitbucket-ww-goautoneg-devel-0 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-bitbucket-ww-goautoneg-0-0.13.git75cd24fc2f2c.el7.x86_64/usr/share/licenses/golang-bitbucket-ww-goautoneg-devel-0 + exit 0 Provides: golang(bitbucket.org/ww/goautoneg) = 0-0.13.git75cd24fc2f2c.el7 golang-bitbucket-ww-goautoneg-devel = 0-0.13.git75cd24fc2f2c.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: golang-bitbucket-ww-goautoneg-unit-test-0-0.13.git75cd24fc2f2c.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1J4m1O + umask 022 + cd /builddir/build/BUILD + cd ww-goautoneg-75cd24fc2f2c + DOCDIR=/builddir/build/BUILDROOT/golang-bitbucket-ww-goautoneg-0-0.13.git75cd24fc2f2c.el7.x86_64/usr/share/doc/golang-bitbucket-ww-goautoneg-unit-test-0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-bitbucket-ww-goautoneg-0-0.13.git75cd24fc2f2c.el7.x86_64/usr/share/doc/golang-bitbucket-ww-goautoneg-unit-test-0 + cp -pr README.txt /builddir/build/BUILDROOT/golang-bitbucket-ww-goautoneg-0-0.13.git75cd24fc2f2c.el7.x86_64/usr/share/doc/golang-bitbucket-ww-goautoneg-unit-test-0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.yLuWQU + umask 022 + cd /builddir/build/BUILD + cd ww-goautoneg-75cd24fc2f2c + LICENSEDIR=/builddir/build/BUILDROOT/golang-bitbucket-ww-goautoneg-0-0.13.git75cd24fc2f2c.el7.x86_64/usr/share/licenses/golang-bitbucket-ww-goautoneg-unit-test-0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-bitbucket-ww-goautoneg-0-0.13.git75cd24fc2f2c.el7.x86_64/usr/share/licenses/golang-bitbucket-ww-goautoneg-unit-test-0 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-bitbucket-ww-goautoneg-0-0.13.git75cd24fc2f2c.el7.x86_64/usr/share/licenses/golang-bitbucket-ww-goautoneg-unit-test-0 + exit 0 Provides: golang-bitbucket-ww-goautoneg-unit-test = 0-0.13.git75cd24fc2f2c.el7 golang-bitbucket-ww-goautoneg-unit-test(x86-64) = 0-0.13.git75cd24fc2f2c.el7 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-bitbucket-ww-goautoneg-0-0.13.git75cd24fc2f2c.el7.x86_64 Wrote: /builddir/build/RPMS/golang-bitbucket-ww-goautoneg-devel-0-0.13.git75cd24fc2f2c.el7.noarch.rpm Wrote: /builddir/build/RPMS/golang-bitbucket-ww-goautoneg-unit-test-0-0.13.git75cd24fc2f2c.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.5FTrAc + umask 022 + cd /builddir/build/BUILD + cd ww-goautoneg-75cd24fc2f2c + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-bitbucket-ww-goautoneg-0-0.13.git75cd24fc2f2c.el7.x86_64 + exit 0 Child return code was: 0