Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-github-globalsign-mgo.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-107856-67165/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-github-globalsign-mgo.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 Wrote: /builddir/build/SRPMS/golang-github-globalsign-mgo-r2018.06.15-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/golang-github-globalsign-mgo.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-107856-67165/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/golang-github-globalsign-mgo.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4UODbt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mgo-r2018.06.15 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mgo-r2018.06.15.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mgo-r2018.06.15 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/mgo-r2018.06.15/vendor + [[ ! -e /builddir/build/BUILD/mgo-r2018.06.15/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/mgo-r2018.06.15/_build/bin install: creating directory '/builddir/build/BUILD/mgo-r2018.06.15/_build' install: creating directory '/builddir/build/BUILD/mgo-r2018.06.15/_build/bin' + export GOPATH=/builddir/build/BUILD/mgo-r2018.06.15/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/mgo-r2018.06.15/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/mgo-r2018.06.15/_build/src/github.com/globalsign/mgo ]] ++ dirname /builddir/build/BUILD/mgo-r2018.06.15/_build/src/github.com/globalsign/mgo + install -m 0755 -vd /builddir/build/BUILD/mgo-r2018.06.15/_build/src/github.com/globalsign install: creating directory '/builddir/build/BUILD/mgo-r2018.06.15/_build/src' install: creating directory '/builddir/build/BUILD/mgo-r2018.06.15/_build/src/github.com' install: creating directory '/builddir/build/BUILD/mgo-r2018.06.15/_build/src/github.com/globalsign' + ln -fs /builddir/build/BUILD/mgo-r2018.06.15 /builddir/build/BUILD/mgo-r2018.06.15/_build/src/github.com/globalsign/mgo + cd /builddir/build/BUILD/mgo-r2018.06.15/_build/src/github.com/globalsign/mgo Patch #0 (0001-Fix-debugf-arguments.patch): + echo 'Patch #0 (0001-Fix-debugf-arguments.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file gridfs.go patching file session.go + mv bson/README.md README-bson.md + mv bson/LICENSE LICENSE-bson + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WsuVEs + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-globalsign-mgo-r2018.06.15-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-globalsign-mgo-r2018.06.15-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-globalsign-mgo-r2018.06.15-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-globalsign-mgo-r2018.06.15-1.oc9.x86_64 + cd mgo-r2018.06.15 + cd /builddir/build/BUILD/mgo-r2018.06.15/_build/src/github.com/globalsign/mgo + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/globalsign/mgo -b /builddir/build/BUILD/mgo-r2018.06.15/_build/bin -s /builddir/build/BUILD/mgo-r2018.06.15/_build -o golang-github-globalsign-mgo-devel.file-list -O /builddir/build/BUILD/mgo-r2018.06.15 -V r2018.06.15-1.oc9 -T r2018.06.15 -p /builddir/build/BUILDROOT/golang-github-globalsign-mgo-r2018.06.15-1.oc9.x86_64 -g /usr/share/gocode -r '.*example.*' Installing: github.com/globalsign/mgo realpath: go.mod: No such file or directory + IFS= +++ realpath -e --relative-base=. CONTRIBUTING.md README.md README-bson.md +++ sort -u ++ listfiles_include='CONTRIBUTING.md README-bson.md README.md' ++ echo 'CONTRIBUTING.md README-bson.md README.md' + godocs='CONTRIBUTING.md README-bson.md README.md' + [[ -n CONTRIBUTING.md README-bson.md README.md ]] + IFS= + read -r f + echo %doc '"CONTRIBUTING.md"' + IFS= + read -r f + echo %doc '"README-bson.md"' + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE LICENSE-bson +++ sort -u ++ listfiles_include='LICENSE LICENSE-bson' ++ echo 'LICENSE LICENSE-bson' + golicenses='LICENSE LICENSE-bson' + [[ -n LICENSE LICENSE-bson ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + echo %license '"LICENSE-bson"' + IFS= + read -r f + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/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/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: golang-github-globalsign-mgo-devel-r2018.06.15-1.oc9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MvHyfy + umask 022 + cd /builddir/build/BUILD + cd mgo-r2018.06.15 + DOCDIR=/builddir/build/BUILDROOT/golang-github-globalsign-mgo-r2018.06.15-1.oc9.x86_64/usr/share/doc/golang-github-globalsign-mgo-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-globalsign-mgo-r2018.06.15-1.oc9.x86_64/usr/share/doc/golang-github-globalsign-mgo-devel + cp -pr CONTRIBUTING.md /builddir/build/BUILDROOT/golang-github-globalsign-mgo-r2018.06.15-1.oc9.x86_64/usr/share/doc/golang-github-globalsign-mgo-devel + cp -pr README-bson.md /builddir/build/BUILDROOT/golang-github-globalsign-mgo-r2018.06.15-1.oc9.x86_64/usr/share/doc/golang-github-globalsign-mgo-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-globalsign-mgo-r2018.06.15-1.oc9.x86_64/usr/share/doc/golang-github-globalsign-mgo-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.r5JqOn + umask 022 + cd /builddir/build/BUILD + cd mgo-r2018.06.15 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-globalsign-mgo-r2018.06.15-1.oc9.x86_64/usr/share/licenses/golang-github-globalsign-mgo-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-globalsign-mgo-r2018.06.15-1.oc9.x86_64/usr/share/licenses/golang-github-globalsign-mgo-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-globalsign-mgo-r2018.06.15-1.oc9.x86_64/usr/share/licenses/golang-github-globalsign-mgo-devel + cp -pr LICENSE-bson /builddir/build/BUILDROOT/golang-github-globalsign-mgo-r2018.06.15-1.oc9.x86_64/usr/share/licenses/golang-github-globalsign-mgo-devel + RPM_EC=0 ++ jobs -p + exit 0 grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : Provides: golang(github.com/globalsign/mgo) = r2018.06.15-1.oc9 golang(github.com/globalsign/mgo)(tag=r2018.06.15) = r2018.06.15-1.oc9 golang(github.com/globalsign/mgo/bson) = r2018.06.15-1.oc9 golang(github.com/globalsign/mgo/bson)(tag=r2018.06.15) = r2018.06.15-1.oc9 golang(github.com/globalsign/mgo/dbtest) = r2018.06.15-1.oc9 golang(github.com/globalsign/mgo/dbtest)(tag=r2018.06.15) = r2018.06.15-1.oc9 golang(github.com/globalsign/mgo/internal/json) = r2018.06.15-1.oc9 golang(github.com/globalsign/mgo/internal/json)(tag=r2018.06.15) = r2018.06.15-1.oc9 golang(github.com/globalsign/mgo/internal/sasl) = r2018.06.15-1.oc9 golang(github.com/globalsign/mgo/internal/sasl)(tag=r2018.06.15) = r2018.06.15-1.oc9 golang(github.com/globalsign/mgo/internal/scram) = r2018.06.15-1.oc9 golang(github.com/globalsign/mgo/internal/scram)(tag=r2018.06.15) = r2018.06.15-1.oc9 golang(github.com/globalsign/mgo/txn) = r2018.06.15-1.oc9 golang(github.com/globalsign/mgo/txn)(tag=r2018.06.15) = r2018.06.15-1.oc9 golang-github-globalsign-mgo-devel = r2018.06.15-1.oc9 golang-ipath(github.com/globalsign/mgo) = r2018.06.15-1.oc9 golang-ipath(github.com/globalsign/mgo)(tag=r2018.06.15) = r2018.06.15-1.oc9 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/tomb.v2) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-globalsign-mgo-r2018.06.15-1.oc9.x86_64 Wrote: /builddir/build/RPMS/golang-github-globalsign-mgo-devel-r2018.06.15-1.oc9.noarch.rpm Child return code was: 0