Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/oc.spec'], chrootPath='/var/lib/mock/1243670-centos-stream-x86_64-1582016222.143907/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', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.cwb8kjaq:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.cwb8kjaq:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '39f94024a3be47bda9101980737523ae', '-D', '/var/lib/mock/1243670-centos-stream-x86_64-1582016222.143907/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.cwb8kjaq:/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/oc.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/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.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/oc.spec'], chrootPath='/var/lib/mock/1243670-centos-stream-x86_64-1582016222.143907/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', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.cwb8kjaq:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.cwb8kjaq:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'fa70b72bc00f412d9d21861a9061677d', '-D', '/var/lib/mock/1243670-centos-stream-x86_64-1582016222.143907/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.cwb8kjaq:/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/oc.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.SWNyOn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf openshift-clients-git-1.075d46a + /usr/bin/gzip -dc /builddir/build/SOURCES/openshift-clients-git-1.075d46a.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd openshift-clients-git-1.075d46a + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.N0rWYJ + umask 022 + cd /builddir/build/BUILD + cd openshift-clients-git-1.075d46a ++ dirname __gopath/src/github.com/openshift/oc + mkdir -p __gopath/src/github.com/openshift ++ dirname __gopath/src/github.com/openshift/oc + mkdir -p __gopath/src/github.com/openshift ++ pwd + ln -s /builddir/build/BUILD/openshift-clients-git-1.075d46a __gopath/src/github.com/openshift/oc ++ pwd + export GOPATH=/builddir/build/BUILD/openshift-clients-git-1.075d46a/__gopath:/usr/share/gocode + GOPATH=/builddir/build/BUILD/openshift-clients-git-1.075d46a/__gopath:/usr/share/gocode + cd __gopath/src/github.com/openshift/oc + OS_GIT_VERSION=v4.3.1 + OS_GIT_MAJOR=4 + OS_GIT_MINOR=3 + OS_GIT_PATCH=1 + OS_GIT_COMMIT=e0666000dfa8cb634a6fa712dd80ecf132d162a7 + OS_GIT_TREE_STATE=clean + make SOURCE_GIT_TAG:=v4.3.1 SOURCE_GIT_COMMIT:=e0666000dfa8cb634a6fa712dd80ecf132d162a7 SOURCE_GIT_MAJOR:=4 SOURCE_GIT_MINOR:=3 SOURCE_GIT_TREE_STATE:=clean build 'GO_BUILD_PACKAGES:=./cmd/oc ./tools/genman' go build -tags 'include_gcs include_oss containers_image_openpgp gssapi' -ldflags "-s -w -X github.com/openshift/oc/pkg/version.versionFromGit="v4.3.1" -X github.com/openshift/oc/pkg/version.commitFromGit="e0666000dfa8cb634a6fa712dd80ecf132d162a7" -X github.com/openshift/oc/pkg/version.gitTreeState="clean" -X github.com/openshift/oc/pkg/version.buildDate="2020-02-18T08:57:45Z" -X github.com/openshift/oc/vendor/k8s.io/kubernetes/pkg/version.gitMajor="1" -X github.com/openshift/oc/vendor/k8s.io/kubernetes/pkg/version.gitMinor="16" -X github.com/openshift/oc/vendor/k8s.io/kubernetes/pkg/version.gitVersion="v1.16.0-7-gab72ed5" -X github.com/openshift/oc/vendor/k8s.io/kubernetes/pkg/version.gitCommit="e0666000dfa8cb634a6fa712dd80ecf132d162a7" -X github.com/openshift/oc/vendor/k8s.io/kubernetes/pkg/version.buildDate="2020-02-18T08:57:44Z" -X github.com/openshift/oc/vendor/k8s.io/kubernetes/pkg/version.gitTreeState="clean"" github.com/openshift/oc/cmd/oc go build -tags 'include_gcs include_oss containers_image_openpgp gssapi' -ldflags "-s -w -X github.com/openshift/oc/pkg/version.versionFromGit="v4.3.1" -X github.com/openshift/oc/pkg/version.commitFromGit="e0666000dfa8cb634a6fa712dd80ecf132d162a7" -X github.com/openshift/oc/pkg/version.gitTreeState="clean" -X github.com/openshift/oc/pkg/version.buildDate="2020-02-18T08:57:45Z" -X github.com/openshift/oc/vendor/k8s.io/kubernetes/pkg/version.gitMajor="1" -X github.com/openshift/oc/vendor/k8s.io/kubernetes/pkg/version.gitMinor="16" -X github.com/openshift/oc/vendor/k8s.io/kubernetes/pkg/version.gitVersion="v1.16.0-7-gab72ed5" -X github.com/openshift/oc/vendor/k8s.io/kubernetes/pkg/version.gitCommit="e0666000dfa8cb634a6fa712dd80ecf132d162a7" -X github.com/openshift/oc/vendor/k8s.io/kubernetes/pkg/version.buildDate="2020-02-18T08:57:44Z" -X github.com/openshift/oc/vendor/k8s.io/kubernetes/pkg/version.gitTreeState="clean"" github.com/openshift/oc/tools/genman + OS_GIT_VERSION=v4.3.1 + OS_GIT_MAJOR=4 + OS_GIT_MINOR=3 + OS_GIT_PATCH=1 + OS_GIT_COMMIT=e0666000dfa8cb634a6fa712dd80ecf132d162a7 + OS_GIT_TREE_STATE=clean + make SOURCE_GIT_TAG:=v4.3.1 SOURCE_GIT_COMMIT:=e0666000dfa8cb634a6fa712dd80ecf132d162a7 SOURCE_GIT_MAJOR:=4 SOURCE_GIT_MINOR:=3 SOURCE_GIT_TREE_STATE:=clean cross-build-darwin-amd64 cross-build-windows-amd64 GO_BUILD_PACKAGES:=./cmd/oc mkdir -p '_output/bin/darwin_amd64' go build -tags 'include_gcs include_oss containers_image_openpgp' -ldflags "-s -w -X github.com/openshift/oc/pkg/version.versionFromGit="v4.3.1" -X github.com/openshift/oc/pkg/version.commitFromGit="e0666000dfa8cb634a6fa712dd80ecf132d162a7" -X github.com/openshift/oc/pkg/version.gitTreeState="clean" -X github.com/openshift/oc/pkg/version.buildDate="2020-02-18T09:02:53Z" -X github.com/openshift/oc/vendor/k8s.io/kubernetes/pkg/version.gitMajor="1" -X github.com/openshift/oc/vendor/k8s.io/kubernetes/pkg/version.gitMinor="16" -X github.com/openshift/oc/vendor/k8s.io/kubernetes/pkg/version.gitVersion="v1.16.0-7-gab72ed5" -X github.com/openshift/oc/vendor/k8s.io/kubernetes/pkg/version.gitCommit="e0666000dfa8cb634a6fa712dd80ecf132d162a7" -X github.com/openshift/oc/vendor/k8s.io/kubernetes/pkg/version.buildDate="2020-02-18T09:02:52Z" -X github.com/openshift/oc/vendor/k8s.io/kubernetes/pkg/version.gitTreeState="clean"" -o '_output/bin/darwin_amd64/oc' github.com/openshift/oc/cmd/oc mkdir -p '_output/bin/windows_amd64' go build -tags 'include_gcs include_oss containers_image_openpgp' -ldflags "-s -w -X github.com/openshift/oc/pkg/version.versionFromGit="v4.3.1" -X github.com/openshift/oc/pkg/version.commitFromGit="e0666000dfa8cb634a6fa712dd80ecf132d162a7" -X github.com/openshift/oc/pkg/version.gitTreeState="clean" -X github.com/openshift/oc/pkg/version.buildDate="2020-02-18T09:07:39Z" -X github.com/openshift/oc/vendor/k8s.io/kubernetes/pkg/version.gitMajor="1" -X github.com/openshift/oc/vendor/k8s.io/kubernetes/pkg/version.gitMinor="16" -X github.com/openshift/oc/vendor/k8s.io/kubernetes/pkg/version.gitVersion="v1.16.0-7-gab72ed5" -X github.com/openshift/oc/vendor/k8s.io/kubernetes/pkg/version.gitCommit="e0666000dfa8cb634a6fa712dd80ecf132d162a7" -X github.com/openshift/oc/vendor/k8s.io/kubernetes/pkg/version.buildDate="2020-02-18T09:07:38Z" -X github.com/openshift/oc/vendor/k8s.io/kubernetes/pkg/version.gitTreeState="clean"" -o '_output/bin/windows_amd64/oc.exe' github.com/openshift/oc/cmd/oc + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OqOivN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64 + cd openshift-clients-git-1.075d46a + install -d /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64/usr/bin + install -p -m 755 ./oc /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64/usr/bin/oc + ln -s ./oc /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64/usr/bin/kubectl + [[ -e /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64/usr/bin/kubectl ]] + install -d /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64/usr/share/openshift-clients/linux /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64/usr/share/openshift-clients/macosx /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64/usr/share/openshift-clients/windows + install -p -m 755 ./oc /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64/usr/share/openshift-clients/linux/oc + ln -s ./oc /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64/usr/share/openshift-clients/linux/kubectl + [[ -e /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64/usr/share/openshift-clients/linux/kubectl ]] + install -p -m 755 ./_output/bin/darwin_amd64/oc /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64//usr/share/openshift-clients/macosx/oc + ln -s ./oc /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64//usr/share/openshift-clients/macosx/kubectl + [[ -e /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64//usr/share/openshift-clients/macosx/kubectl ]] + install -p -m 755 ./_output/bin/windows_amd64/oc.exe /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64//usr/share/openshift-clients/windows/oc.exe + ln -s ./oc.exe /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64//usr/share/openshift-clients/windows/kubectl.exe + [[ -e /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64//usr/share/openshift-clients/windows/kubectl.exe ]] + install -d -m 0755 /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64/usr/share/man/man1 + ./genman /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64/usr/share/man/man1 oc + install -d -m 755 /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64/etc/bash_completion.d/ + for bin in oc kubectl + echo '+++ INSTALLING BASH COMPLETIONS FOR oc ' +++ INSTALLING BASH COMPLETIONS FOR oc + /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64/usr/bin/oc completion bash + chmod 644 /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64/etc/bash_completion.d/oc + for bin in oc kubectl + echo '+++ INSTALLING BASH COMPLETIONS FOR kubectl ' +++ INSTALLING BASH COMPLETIONS FOR kubectl + /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64/usr/bin/kubectl completion bash + chmod 644 /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64/etc/bash_completion.d/kubectl + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress Processing files: openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.N8kFOU + umask 022 + cd /builddir/build/BUILD + cd openshift-clients-git-1.075d46a + LICENSEDIR=/builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64/usr/share/licenses/openshift-clients + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64/usr/share/licenses/openshift-clients + cp -pr LICENSE /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64/usr/share/licenses/openshift-clients + exit 0 Provides: atomic-openshift-clients openshift-clients = 4.3.1-202001310552.git.1.075d46a.el8 openshift-clients(x86-64) = 4.3.1-202001310552.git.1.075d46a.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) rtld(GNU_HASH) Obsoletes: atomic-openshift-clients Processing files: openshift-clients-redistributable-4.3.1-202001310552.git.1.075d46a.el8.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.3Ifcw6 + umask 022 + cd /builddir/build/BUILD + cd openshift-clients-git-1.075d46a + LICENSEDIR=/builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64/usr/share/licenses/openshift-clients-redistributable + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64/usr/share/licenses/openshift-clients-redistributable + cp -pr LICENSE /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64/usr/share/licenses/openshift-clients-redistributable + exit 0 warning: Duplicate build-ids /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64/usr/bin/oc and /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64/usr/share/openshift-clients/linux/oc Provides: atomic-openshift-clients-redistributable openshift-clients-redistributable = 4.3.1-202001310552.git.1.075d46a.el8 openshift-clients-redistributable(x86-64) = 4.3.1-202001310552.git.1.075d46a.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) rtld(GNU_HASH) Obsoletes: atomic-openshift-clients-redistributable Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64 Wrote: /builddir/build/RPMS/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64.rpm Wrote: /builddir/build/RPMS/openshift-clients-redistributable-4.3.1-202001310552.git.1.075d46a.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.KeiGPN + umask 022 + cd /builddir/build/BUILD + cd openshift-clients-git-1.075d46a + /usr/bin/rm -rf /builddir/build/BUILDROOT/openshift-clients-4.3.1-202001310552.git.1.075d46a.el8.x86_64 + exit 0 Child return code was: 0