Mock Version: 2.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/oc-4.5.spec'], chrootPath='/var/lib/mock/centos-stream-x86_64-1603821012.623580/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8mnp9zqo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8mnp9zqo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1dbacf0289ce43caa8bb9d3a5171a5c4', '-D', '/var/lib/mock/centos-stream-x86_64-1603821012.623580/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8mnp9zqo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/oc-4.5.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/oc-4.5-4.5-1.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-4.5.spec'], chrootPath='/var/lib/mock/centos-stream-x86_64-1603821012.623580/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8mnp9zqo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8mnp9zqo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c844e92e1b0f474e8b96e0dd21f20db9', '-D', '/var/lib/mock/centos-stream-x86_64-1603821012.623580/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8mnp9zqo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/oc-4.5.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hArvOf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf oc-6082e941e6d62f3a0c6ca8ba52927100948b1d0d + /usr/bin/gzip -dc /builddir/build/SOURCES/oc-4.5-4.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd oc-6082e941e6d62f3a0c6ca8ba52927100948b1d0d + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.P6AvQm + umask 022 + cd /builddir/build/BUILD + cd oc-6082e941e6d62f3a0c6ca8ba52927100948b1d0d ++ 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/oc-6082e941e6d62f3a0c6ca8ba52927100948b1d0d __gopath/src/github.com/openshift/oc ++ pwd + export GOPATH=/builddir/build/BUILD/oc-6082e941e6d62f3a0c6ca8ba52927100948b1d0d/__gopath:/usr/share/gocode + GOPATH=/builddir/build/BUILD/oc-6082e941e6d62f3a0c6ca8ba52927100948b1d0d/__gopath:/usr/share/gocode + cd __gopath/src/github.com/openshift/oc + OS_GIT_VERSION= + OS_GIT_COMMIT= + OS_GIT_MAJOR= + OS_GIT_MINOR= + OS_GIT_TREE_STATE= + make SOURCE_GIT_TAG:= SOURCE_GIT_COMMIT:= SOURCE_GIT_MAJOR:= SOURCE_GIT_MINOR:= SOURCE_GIT_TREE_STATE:= oc 'GO_BUILD_PACKAGES:=./cmd/oc ./tools/genman' go build -mod=vendor -tags 'include_gcs include_oss containers_image_openpgp gssapi' -ldflags "-s -w -X github.com/openshift/oc/pkg/version.versionFromGit="" -X github.com/openshift/oc/pkg/version.commitFromGit="" -X github.com/openshift/oc/pkg/version.gitTreeState="" -X github.com/openshift/oc/pkg/version.buildDate="2020-10-27T17:50:42Z" -X k8s.io/component-base/version.gitMajor="1" -X k8s.io/component-base/version.gitMinor="18" -X k8s.io/component-base/version.gitVersion="v1.18.2-0-g52c56ce" -X k8s.io/component-base/version.gitCommit="" -X k8s.io/component-base/version.buildDate="2020-10-27T17:50:40Z" -X k8s.io/component-base/version.gitTreeState="clean" -X k8s.io/client-go/pkg/version.gitVersion="" -X k8s.io/client-go/pkg/version.gitCommit="" -X k8s.io/client-go/pkg/version.buildDate="2020-10-27T17:50:40Z" -X k8s.io/client-go/pkg/version.gitTreeState=""" github.com/openshift/oc/cmd/oc go build -mod=vendor -tags 'include_gcs include_oss containers_image_openpgp gssapi' -ldflags "-s -w -X github.com/openshift/oc/pkg/version.versionFromGit="" -X github.com/openshift/oc/pkg/version.commitFromGit="" -X github.com/openshift/oc/pkg/version.gitTreeState="" -X github.com/openshift/oc/pkg/version.buildDate="2020-10-27T17:50:42Z" -X k8s.io/component-base/version.gitMajor="1" -X k8s.io/component-base/version.gitMinor="18" -X k8s.io/component-base/version.gitVersion="v1.18.2-0-g52c56ce" -X k8s.io/component-base/version.gitCommit="" -X k8s.io/component-base/version.buildDate="2020-10-27T17:50:40Z" -X k8s.io/component-base/version.gitTreeState="clean" -X k8s.io/client-go/pkg/version.gitVersion="" -X k8s.io/client-go/pkg/version.gitCommit="" -X k8s.io/client-go/pkg/version.buildDate="2020-10-27T17:50:40Z" -X k8s.io/client-go/pkg/version.gitTreeState=""" github.com/openshift/oc/tools/genman + OS_GIT_VERSION= + OS_GIT_COMMIT= + OS_GIT_MAJOR= + OS_GIT_MINOR= + OS_GIT_TREE_STATE= + make SOURCE_GIT_TAG:= SOURCE_GIT_COMMIT:= SOURCE_GIT_MAJOR:= SOURCE_GIT_MINOR:= SOURCE_GIT_TREE_STATE:= cross-build-darwin-amd64 cross-build-windows-amd64 GO_BUILD_PACKAGES:=./cmd/oc mkdir -p '_output/bin/darwin_amd64' go build -mod=vendor -tags 'include_gcs include_oss containers_image_openpgp' -ldflags "-s -w -X github.com/openshift/oc/pkg/version.versionFromGit="" -X github.com/openshift/oc/pkg/version.commitFromGit="" -X github.com/openshift/oc/pkg/version.gitTreeState="" -X github.com/openshift/oc/pkg/version.buildDate="2020-10-27T17:54:40Z" -X k8s.io/component-base/version.gitMajor="1" -X k8s.io/component-base/version.gitMinor="18" -X k8s.io/component-base/version.gitVersion="v1.18.2-0-g52c56ce" -X k8s.io/component-base/version.gitCommit="" -X k8s.io/component-base/version.buildDate="2020-10-27T17:54:38Z" -X k8s.io/component-base/version.gitTreeState="clean" -X k8s.io/client-go/pkg/version.gitVersion="" -X k8s.io/client-go/pkg/version.gitCommit="" -X k8s.io/client-go/pkg/version.buildDate="2020-10-27T17:54:38Z" -X k8s.io/client-go/pkg/version.gitTreeState=""" -o '_output/bin/darwin_amd64/oc' github.com/openshift/oc/cmd/oc mkdir -p '_output/bin/windows_amd64' go build -mod=vendor -tags 'include_gcs include_oss containers_image_openpgp' -ldflags "-s -w -X github.com/openshift/oc/pkg/version.versionFromGit="" -X github.com/openshift/oc/pkg/version.commitFromGit="" -X github.com/openshift/oc/pkg/version.gitTreeState="" -X github.com/openshift/oc/pkg/version.buildDate="2020-10-27T17:58:17Z" -X k8s.io/component-base/version.gitMajor="1" -X k8s.io/component-base/version.gitMinor="18" -X k8s.io/component-base/version.gitVersion="v1.18.2-0-g52c56ce" -X k8s.io/component-base/version.gitCommit="" -X k8s.io/component-base/version.buildDate="2020-10-27T17:58:15Z" -X k8s.io/component-base/version.gitTreeState="clean" -X k8s.io/client-go/pkg/version.gitVersion="" -X k8s.io/client-go/pkg/version.gitCommit="" -X k8s.io/client-go/pkg/version.buildDate="2020-10-27T17:58:15Z" -X k8s.io/client-go/pkg/version.gitTreeState=""" -o '_output/bin/windows_amd64/oc.exe' github.com/openshift/oc/cmd/oc + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JlkphL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64 + cd oc-6082e941e6d62f3a0c6ca8ba52927100948b1d0d + install -d /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64/usr/bin + install -p -m 755 ./oc /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64/usr/bin/oc + ln -s ./oc /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64/usr/bin/kubectl + [[ -e /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64/usr/bin/kubectl ]] + install -d /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64/usr/share/oc-4.5/linux /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64/usr/share/oc-4.5/macosx /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64/usr/share/oc-4.5/windows + install -p -m 755 ./oc /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64/usr/share/oc-4.5/linux/oc + ln -s ./oc /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64/usr/share/oc-4.5/linux/kubectl + [[ -e /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64/usr/share/oc-4.5/linux/kubectl ]] + install -p -m 755 ./_output/bin/darwin_amd64/oc /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64//usr/share/oc-4.5/macosx/oc + ln -s ./oc /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64//usr/share/oc-4.5/macosx/kubectl + [[ -e /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64//usr/share/oc-4.5/macosx/kubectl ]] + install -p -m 755 ./_output/bin/windows_amd64/oc.exe /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64//usr/share/oc-4.5/windows/oc.exe + ln -s ./oc.exe /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64//usr/share/oc-4.5/windows/kubectl.exe + [[ -e /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64//usr/share/oc-4.5/windows/kubectl.exe ]] + install -d -m 0755 /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64/usr/share/man/man1 + ./genman /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64/usr/share/man/man1 oc + install -d -m 755 /builddir/build/BUILDROOT/oc-4.5-4.5-1.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/oc-4.5-4.5-1.el8.x86_64/usr/bin/oc completion bash + chmod 644 /builddir/build/BUILDROOT/oc-4.5-4.5-1.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/oc-4.5-4.5-1.el8.x86_64/usr/bin/kubectl completion bash + chmod 644 /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64/etc/bash_completion.d/kubectl + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress Processing files: oc-4.5-4.5-1.el8.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.C7TMmd + umask 022 + cd /builddir/build/BUILD + cd oc-6082e941e6d62f3a0c6ca8ba52927100948b1d0d + LICENSEDIR=/builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64/usr/share/licenses/oc-4.5 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64/usr/share/licenses/oc-4.5 + cp -pr LICENSE /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64/usr/share/licenses/oc-4.5 + exit 0 Provides: atomic-openshift-clients = 4.5 oc-4.5 = 4.5-1.el8 oc-4.5(x86-64) = 4.5-1.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 <= 4.5 Processing files: oc-4.5-redistributable-4.5-1.el8.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.x5J3LJ + umask 022 + cd /builddir/build/BUILD + cd oc-6082e941e6d62f3a0c6ca8ba52927100948b1d0d + LICENSEDIR=/builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64/usr/share/licenses/oc-4.5-redistributable + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64/usr/share/licenses/oc-4.5-redistributable + cp -pr LICENSE /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64/usr/share/licenses/oc-4.5-redistributable + exit 0 warning: Duplicate build-ids /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64/usr/bin/oc and /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64/usr/share/oc-4.5/linux/oc Provides: atomic-openshift-clients-redistributable = 4.5 oc-4.5-redistributable = 4.5-1.el8 oc-4.5-redistributable(x86-64) = 4.5-1.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 <= 4.5 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64 Wrote: /builddir/build/RPMS/oc-4.5-4.5-1.el8.x86_64.rpm Wrote: /builddir/build/RPMS/oc-4.5-redistributable-4.5-1.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CiJDFB + umask 022 + cd /builddir/build/BUILD + cd oc-6082e941e6d62f3a0c6ca8ba52927100948b1d0d + /usr/bin/rm -rf /builddir/build/BUILDROOT/oc-4.5-4.5-1.el8.x86_64 + exit 0 Child return code was: 0