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/buildkit.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-254096-84372/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=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/buildkit.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/buildkit-0.26.3-2.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/buildkit.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-254096-84372/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=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/buildkit.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.leGy9u + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf buildkit-0.26.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/buildkit-0.26.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd buildkit-0.26.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + tar -xzf /builddir/build/SOURCES/vendor.tar.gz + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nsvnNS + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd buildkit-0.26.3 + export GOPATH=/builddir/build/BUILD/buildkit-0.26.3/.gopath + GOPATH=/builddir/build/BUILD/buildkit-0.26.3/.gopath + mkdir -p /builddir/build/BUILD/buildkit-0.26.3/.gopath/src/github.com/moby + ln -sfn /builddir/build/BUILD/buildkit-0.26.3 /builddir/build/BUILD/buildkit-0.26.3/.gopath/src/github.com/moby/buildkit + LDFLAGS='-X github.com/moby/buildkit/version.Version=0.26.3 -X github.com/moby/buildkit/version.Revision=release' + for ccmd in cmd/* ++ basename cmd/buildctl + go build -mod=vendor -buildmode=pie -ldflags '-X github.com/moby/buildkit/version.Version=0.26.3 -X github.com/moby/buildkit/version.Revision=release' -o bin/buildctl github.com/moby/buildkit/cmd/buildctl # github.com/klauspost/compress/zstd vendor/github.com/klauspost/compress/zstd/fse_decoder_asm.go:13:6: buildDtableAsmContext redeclared in this block vendor/github.com/klauspost/compress/zstd/fse_decoder_amd64.go:10:6: other declaration of buildDtableAsmContext vendor/github.com/klauspost/compress/zstd/fse_decoder_asm.go:29:6: buildDtable_asm redeclared in this block vendor/github.com/klauspost/compress/zstd/fse_decoder_amd64.go:26:6: other declaration of buildDtable_asm vendor/github.com/klauspost/compress/zstd/fse_decoder_asm.go:33:2: errorCorruptedNormalizedCounter redeclared in this block vendor/github.com/klauspost/compress/zstd/fse_decoder_amd64.go:30:2: other declaration of errorCorruptedNormalizedCounter vendor/github.com/klauspost/compress/zstd/fse_decoder_asm.go:34:2: errorNewStateTooBig redeclared in this block vendor/github.com/klauspost/compress/zstd/fse_decoder_amd64.go:31:2: other declaration of errorNewStateTooBig vendor/github.com/klauspost/compress/zstd/fse_decoder_asm.go:35:2: errorNewStateNoBits redeclared in this block vendor/github.com/klauspost/compress/zstd/fse_decoder_amd64.go:32:2: other declaration of errorNewStateNoBits vendor/github.com/klauspost/compress/zstd/fse_decoder_asm.go:39:22: method fseDecoder.buildDtable already declared at vendor/github.com/klauspost/compress/zstd/fse_decoder_amd64.go:36:22 error: Bad exit status from /var/tmp/rpm-tmp.nsvnNS (%build) Bad exit status from /var/tmp/rpm-tmp.nsvnNS (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/buildkit.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/buildkit.spec