Mock Version: 1.4.16 Mock Version: 1.4.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-gopkg-gcfg-1.spec'], chrootPath='/var/lib/mock/f31-go-16759223-1212072/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': 'C.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-gopkg-gcfg-1.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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1562284800 Wrote: /builddir/build/SRPMS/golang-gopkg-gcfg-1-1.2.3-2.fc31.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-gopkg-gcfg-1.spec'], chrootPath='/var/lib/mock/f31-go-16759223-1212072/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': 'C.UTF-8'}shell=Falselogger=timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-gopkg-gcfg-1.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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1562284800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XzsODJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gcfg-1.2.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/gcfg-1.2.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gcfg-1.2.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/gcfg-1.2.3/vendor + [[ ! -e /builddir/build/BUILD/gcfg-1.2.3/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/gcfg-1.2.3/_build/bin + export GOPATH=/builddir/build/BUILD/gcfg-1.2.3/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/gcfg-1.2.3/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/gcfg-1.2.3/_build/src/gopkg.in/gcfg.v1 ]] BUILDSTDERR: ++ dirname /builddir/build/BUILD/gcfg-1.2.3/_build/src/gopkg.in/gcfg.v1 + install -m 0755 -vd /builddir/build/BUILD/gcfg-1.2.3/_build/src/gopkg.in + ln -fs /builddir/build/BUILD/gcfg-1.2.3 /builddir/build/BUILD/gcfg-1.2.3/_build/src/gopkg.in/gcfg.v1 + cd /builddir/build/BUILD/gcfg-1.2.3/_build/src/gopkg.in/gcfg.v1 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 install: creating directory '/builddir/build/BUILD/gcfg-1.2.3/_build' install: creating directory '/builddir/build/BUILD/gcfg-1.2.3/_build/bin' install: creating directory '/builddir/build/BUILD/gcfg-1.2.3/_build/src' install: creating directory '/builddir/build/BUILD/gcfg-1.2.3/_build/src/gopkg.in' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.PYhd5L + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-gopkg-gcfg-1-1.2.3-2.fc31.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-gopkg-gcfg-1-1.2.3-2.fc31.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/golang-gopkg-gcfg-1-1.2.3-2.fc31.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-gopkg-gcfg-1-1.2.3-2.fc31.x86_64 + cd gcfg-1.2.3 + cd /builddir/build/BUILD/gcfg-1.2.3/_build/src/gopkg.in/gcfg.v1 + IFS= BUILDSTDERR: +++ realpath -e --relative-base=. BUILDSTDERR: +++ sort -u BUILDSTDERR: realpath: missing operand BUILDSTDERR: Try 'realpath --help' for more information. BUILDSTDERR: ++ listfiles_include= BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc BUILDSTDERR: ++ realpath -qe --relative-base=. BUILDSTDERR: ++ sort -u BUILDSTDERR: ++ grep -q '' BUILDSTDERR: realpath: missing operand BUILDSTDERR: Try 'realpath --help' for more information. BUILDSTDERR: ++ echo '' BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i gopkg.in/gcfg.v1 -b /builddir/build/BUILD/gcfg-1.2.3/_build/bin -s /builddir/build/BUILD/gcfg-1.2.3/_build -o golang-gopkg-gcfg-1-devel.file-list -O /builddir/build/BUILD/gcfg-1.2.3 -V 1.2.3-2.fc31 -p /builddir/build/BUILDROOT/golang-gopkg-gcfg-1-1.2.3-2.fc31.x86_64 -g /usr/share/gocode -r '.*example.*' BUILDSTDERR: realpath: go.mod: No such file or directory + IFS= BUILDSTDERR: +++ realpath -e --relative-base=. README BUILDSTDERR: +++ sort -u BUILDSTDERR: ++ listfiles_include=README BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc BUILDSTDERR: ++ realpath -qe --relative-base=. BUILDSTDERR: ++ sort -u BUILDSTDERR: ++ grep -q README BUILDSTDERR: realpath: missing operand BUILDSTDERR: Try 'realpath --help' for more information. BUILDSTDERR: ++ echo README BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc + godocs=README + [[ -n README ]] + IFS= + read -r f + echo %doc '"README"' + IFS= + read -r f + IFS= BUILDSTDERR: +++ realpath -e --relative-base=. LICENSE BUILDSTDERR: +++ sort -u BUILDSTDERR: ++ listfiles_include=LICENSE BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc BUILDSTDERR: ++ realpath -qe --relative-base=. BUILDSTDERR: ++ sort -u BUILDSTDERR: ++ grep -q LICENSE BUILDSTDERR: realpath: missing operand BUILDSTDERR: Try 'realpath --help' for more information. BUILDSTDERR: ++ echo LICENSE BUILDSTDERR: ++ IFS= BUILDSTDERR: ++ read -r finc + golicenses=LICENSE + [[ -n LICENSE ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + /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 Installing: gopkg.in/gcfg.v1 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.4Pph4M + umask 022 + cd /builddir/build/BUILD + cd gcfg-1.2.3 + LDFLAGS='-X gopkg.in/gcfg.v1/version=1.2.3' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + go-rpm-integration check -i gopkg.in/gcfg.v1 -b /builddir/build/BUILD/gcfg-1.2.3/_build/bin -s /builddir/build/BUILD/gcfg-1.2.3/_build -V 1.2.3-2.fc31 -p /builddir/build/BUILDROOT/golang-gopkg-gcfg-1-1.2.3-2.fc31.x86_64 -g /usr/share/gocode -r '.*example.*' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Testing in: /builddir/build/BUILD/gcfg-1.2.3/_build/src PATH: /builddir/build/BUILD/gcfg-1.2.3/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/gcfg-1.2.3/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags "-X gopkg.in/gcfg.v1/version=1.2.3 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" testing: gopkg.in/gcfg.v1 gopkg.in/gcfg.v1 PASS ok gopkg.in/gcfg.v1 0.014s gopkg.in/gcfg.v1/scanner PASS ok gopkg.in/gcfg.v1/scanner 0.004s gopkg.in/gcfg.v1/token PASS ok gopkg.in/gcfg.v1/token 0.016s gopkg.in/gcfg.v1/types PASS ok gopkg.in/gcfg.v1/types 0.005s Processing files: golang-gopkg-gcfg-1-devel-1.2.3-2.fc31.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kDZPFK + umask 022 + cd /builddir/build/BUILD + cd gcfg-1.2.3 + DOCDIR=/builddir/build/BUILDROOT/golang-gopkg-gcfg-1-1.2.3-2.fc31.x86_64/usr/share/doc/golang-gopkg-gcfg-1-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-gopkg-gcfg-1-1.2.3-2.fc31.x86_64/usr/share/doc/golang-gopkg-gcfg-1-devel + cp -pr README /builddir/build/BUILDROOT/golang-gopkg-gcfg-1-1.2.3-2.fc31.x86_64/usr/share/doc/golang-gopkg-gcfg-1-devel + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.gfq5eK + umask 022 + cd /builddir/build/BUILD + cd gcfg-1.2.3 + LICENSEDIR=/builddir/build/BUILDROOT/golang-gopkg-gcfg-1-1.2.3-2.fc31.x86_64/usr/share/licenses/golang-gopkg-gcfg-1-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-gopkg-gcfg-1-1.2.3-2.fc31.x86_64/usr/share/licenses/golang-gopkg-gcfg-1-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-gopkg-gcfg-1-1.2.3-2.fc31.x86_64/usr/share/licenses/golang-gopkg-gcfg-1-devel + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: golang(gopkg.in/gcfg.v1) = 1.2.3-2.fc31 golang(gopkg.in/gcfg.v1/scanner) = 1.2.3-2.fc31 golang(gopkg.in/gcfg.v1/token) = 1.2.3-2.fc31 golang(gopkg.in/gcfg.v1/types) = 1.2.3-2.fc31 golang-gopkg-gcfg-1-devel = 1.2.3-2.fc31 golang-ipath(gopkg.in/gcfg.v1) = 1.2.3-2.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem golang(gopkg.in/warnings.v0) Obsoletes: golang-googlecode-gcfg-devel < 0-0.17 golang-googlecode-gcfg-unit-test < 0-0.17 golang-gopkg-gcfg-devel < 0-0.17 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-gopkg-gcfg-1-1.2.3-2.fc31.x86_64 Wrote: /builddir/build/RPMS/golang-gopkg-gcfg-1-devel-1.2.3-2.fc31.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.KG6VSL + umask 022 + cd /builddir/build/BUILD + cd gcfg-1.2.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-gopkg-gcfg-1-1.2.3-2.fc31.x86_64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0