Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/oci-seccomp-bpf-hook.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/module-container-tools-rhel8-8040020210520154711-59631bd5-build-70332-20970/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/oci-seccomp-bpf-hook.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/oci-seccomp-bpf-hook-1.2.0-2.module_el8.4.0+781+acf4c33b.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/oci-seccomp-bpf-hook.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/module-container-tools-rhel8-8040020210520154711-59631bd5-build-70332-20970/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/oci-seccomp-bpf-hook.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WuoACd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf oci-seccomp-bpf-hook-1.2.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/v1.2.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd oci-seccomp-bpf-hook-1.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'oci-seccomp-bpf-hook-1.2.0 base' + sed -i '/$(MAKE) -C docs install/d' Makefile + sed -i 's/HOOK_BIN_DIR/\/usr\/libexec\/oci\/hooks.d/' oci-seccomp-bpf-hook.json + sed -i '/$(HOOK_DIR)\/oci-seccomp-bpf-hook.json/d' Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.z2mdcd + umask 022 + cd /builddir/build/BUILD + cd oci-seccomp-bpf-hook-1.2.0 + export GO111MODULE=off + GO111MODULE=off ++ pwd ++ pwd + export GOPATH=/builddir/build/BUILD/oci-seccomp-bpf-hook-1.2.0:/builddir/build/BUILD/oci-seccomp-bpf-hook-1.2.0/_build + GOPATH=/builddir/build/BUILD/oci-seccomp-bpf-hook-1.2.0:/builddir/build/BUILD/oci-seccomp-bpf-hook-1.2.0/_build + export 'CGO_CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' + CGO_CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' + mkdir _build + pushd _build ~/build/BUILD/oci-seccomp-bpf-hook-1.2.0/_build ~/build/BUILD/oci-seccomp-bpf-hook-1.2.0 + mkdir -p src/github.com/containers + ln -s ../../../../ src/github.com/containers/oci-seccomp-bpf-hook ~/build/BUILD/oci-seccomp-bpf-hook-1.2.0 + popd + ln -s vendor src ++ pwd ++ pwd + export GOPATH=/builddir/build/BUILD/oci-seccomp-bpf-hook-1.2.0/_build:/builddir/build/BUILD/oci-seccomp-bpf-hook-1.2.0 + GOPATH=/builddir/build/BUILD/oci-seccomp-bpf-hook-1.2.0/_build:/builddir/build/BUILD/oci-seccomp-bpf-hook-1.2.0 + export 'LDFLAGS=-X main.version=1.2.0' + LDFLAGS='-X main.version=1.2.0' ++ head -c20 /dev/urandom ++ od -An -tx1 ++ tr -d ' \n' + go build -buildmode pie -compiler gc '-tags=rpm_crashtraceback libtrust_openssl ' -ldflags '-X main.version=1.2.0 -linkmode=external -compressdwarf=false -B 0x60bf564dde249d668c1b1f653c6ecb7fb97b1776 -extldflags '\''-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'\''' -a -v -o bin/oci-seccomp-bpf-hook github.com/containers/oci-seccomp-bpf-hook runtime/internal/sys internal/unsafeheader math/bits encoding internal/nettrace unicode/utf16 internal/race github.com/containers/oci-seccomp-bpf-hook/vendor/golang.org/x/sys/internal/unsafeheader unicode/utf8 sync/atomic internal/cpu unicode runtime/internal/atomic runtime/cgo runtime/internal/math internal/bytealg math runtime internal/reflectlite sync internal/testlog internal/singleflight errors sort internal/oserror io path vendor/golang.org/x/net/dns/dnsmessage strconv syscall bytes strings reflect bufio regexp/syntax regexp internal/syscall/execenv internal/syscall/unix time context io/fs internal/poll internal/fmtsort encoding/binary encoding/base64 github.com/containers/oci-seccomp-bpf-hook/vendor/golang.org/x/sys/unix os os/signal path/filepath fmt net io/ioutil os/exec github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/iovisor/gobpf/pkg/cpuonline flag log github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/opencontainers/runtime-spec/specs-go github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/pkg/errors github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/seccomp/libseccomp-golang github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/iovisor/gobpf/bcc encoding/json github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/seccomp/containers-golang github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/sirupsen/logrus log/syslog github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/sirupsen/logrus/hooks/syslog # github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/iovisor/gobpf/bcc _build/src/github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/iovisor/gobpf/bcc/module.go:261:33: not enough arguments in call to _C2func_bpf_attach_uprobe have (_Ctype_int, uint32, *_Ctype_char, *_Ctype_char, _Ctype_ulong, _Ctype_int) want (_Ctype_int, uint32, *_Ctype_char, *_Ctype_char, _Ctype_ulong, _Ctype_int, _Ctype_uint) error: Bad exit status from /var/tmp/rpm-tmp.z2mdcd (%build) Bad exit status from /var/tmp/rpm-tmp.z2mdcd (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 89, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 582, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/oci-seccomp-bpf-hook.spec