Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/oci-seccomp-bpf-hook.spec'], chrootPath='/mnt/compose/mock/module-container-tools-rhel8-8100020240616163705-82888897-build-114675-77122/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=993gid=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/oci-seccomp-bpf-hook.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/oci-seccomp-bpf-hook-1.2.10-1.module+el8.10.0+847+facaa9a5.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/oci-seccomp-bpf-hook.spec'], chrootPath='/mnt/compose/mock/module-container-tools-rhel8-8100020240616163705-82888897-build-114675-77122/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=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/oci-seccomp-bpf-hook.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.hm2g7N + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf oci-seccomp-bpf-hook-1.2.10 + /usr/bin/gzip -dc /builddir/build/SOURCES/v1.2.10.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd oci-seccomp-bpf-hook-1.2.10 + /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.10 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.4v3dGC + umask 022 + cd /builddir/build/BUILD + cd oci-seccomp-bpf-hook-1.2.10 + export GO111MODULE=off + GO111MODULE=off ++ pwd ++ pwd + export GOPATH=/builddir/build/BUILD/oci-seccomp-bpf-hook-1.2.10:/builddir/build/BUILD/oci-seccomp-bpf-hook-1.2.10/_build + GOPATH=/builddir/build/BUILD/oci-seccomp-bpf-hook-1.2.10:/builddir/build/BUILD/oci-seccomp-bpf-hook-1.2.10/_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.10/_build ~/build/BUILD/oci-seccomp-bpf-hook-1.2.10 + mkdir -p src/github.com/containers + ln -s ../../../../ src/github.com/containers/oci-seccomp-bpf-hook + popd ~/build/BUILD/oci-seccomp-bpf-hook-1.2.10 + ln -s vendor src ++ pwd ++ pwd + export GOPATH=/builddir/build/BUILD/oci-seccomp-bpf-hook-1.2.10/_build:/builddir/build/BUILD/oci-seccomp-bpf-hook-1.2.10 + GOPATH=/builddir/build/BUILD/oci-seccomp-bpf-hook-1.2.10/_build:/builddir/build/BUILD/oci-seccomp-bpf-hook-1.2.10 + export 'LDFLAGS=-X main.version=1.2.10' + LDFLAGS='-X main.version=1.2.10' ++ 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.10 -linkmode=external -compressdwarf=false -B 0xc8db0e93469ba2a84f7d7c47284d1f56125f43bf -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 internal/unsafeheader internal/coverage/rtcov internal/race internal/goarch unicode sync/atomic internal/goexperiment runtime/internal/atomic runtime/internal/syscall internal/cpu internal/goos internal/godebugs unicode/utf8 math/bits internal/itoa runtime/internal/math internal/abi runtime/internal/sys encoding unicode/utf16 log/internal internal/nettrace internal/bytealg math runtime internal/reflectlite sync internal/bisect internal/testlog internal/singleflight runtime/cgo errors sort internal/godebug io internal/oserror internal/safefilepath strconv path vendor/golang.org/x/net/dns/dnsmessage syscall internal/intern bytes strings reflect net/netip bufio regexp/syntax github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/iovisor/gobpf/pkg/cpurange regexp internal/syscall/unix time internal/syscall/execenv github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/containers/storage/pkg/regexp context io/fs internal/poll internal/fmtsort encoding/binary os encoding/base64 github.com/containers/oci-seccomp-bpf-hook/vendor/golang.org/x/sys/unix os/signal path/filepath fmt io/ioutil net github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/iovisor/gobpf/pkg/cpuonline github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/iovisor/gobpf/pkg/cpupossible os/exec log flag 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/docker/go-units github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/containers/storage/pkg/reexec github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/iovisor/gobpf/bcc os/user github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/syndtr/gocapability/capability github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/seccomp/libseccomp-golang encoding/json github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/containers/common/pkg/seccomp github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/opencontainers/runc/libcontainer/user github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/moby/sys/mountinfo github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/containers/storage/pkg/mount github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/sirupsen/logrus github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/containers/storage/pkg/system github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/containers/storage/pkg/idtools github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/containers/storage/pkg/unshare # net /usr/lib/golang/src/net/cgo_unix_cgo.go:10: warning: "_GNU_SOURCE" redefined #define _GNU_SOURCE : note: this is the location of the previous definition log/syslog # github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/containers/storage/pkg/unshare unshare.c:3: warning: "_GNU_SOURCE" redefined #define _GNU_SOURCE : note: this is the location of the previous definition github.com/containers/oci-seccomp-bpf-hook/vendor/github.com/sirupsen/logrus/hooks/syslog github.com/containers/oci-seccomp-bpf-hook + pushd docs ~/build/BUILD/oci-seccomp-bpf-hook-1.2.10/docs ~/build/BUILD/oci-seccomp-bpf-hook-1.2.10 + go-md2man -in oci-seccomp-bpf-hook.md -out oci-seccomp-bpf-hook.1 + popd ~/build/BUILD/oci-seccomp-bpf-hook-1.2.10 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CYDgs7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/oci-seccomp-bpf-hook-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/oci-seccomp-bpf-hook-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64 ++ dirname /builddir/build/BUILDROOT/oci-seccomp-bpf-hook-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/oci-seccomp-bpf-hook-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64 + cd oci-seccomp-bpf-hook-1.2.10 + /usr/bin/make DESTDIR=/builddir/build/BUILDROOT/oci-seccomp-bpf-hook-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64 PREFIX=/usr install-nobuild install -d -m 755 /builddir/build/BUILDROOT/oci-seccomp-bpf-hook-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64/usr/libexec/oci/hooks.d install -d -m 755 /builddir/build/BUILDROOT/oci-seccomp-bpf-hook-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64/usr/share/containers/oci/hooks.d/ install -m 755 bin/oci-seccomp-bpf-hook /builddir/build/BUILDROOT/oci-seccomp-bpf-hook-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64/usr/libexec/oci/hooks.d install -m 644 oci-seccomp-bpf-hook.json /builddir/build/BUILDROOT/oci-seccomp-bpf-hook-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64/usr/share/containers/oci/hooks.d/ + /usr/bin/make DESTDIR=/builddir/build/BUILDROOT/oci-seccomp-bpf-hook-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64 PREFIX=/usr GOMD2MAN=go-md2man -C docs install-nobuild make: Entering directory '/builddir/build/BUILD/oci-seccomp-bpf-hook-1.2.10/docs' install -d /builddir/build/BUILDROOT/oci-seccomp-bpf-hook-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64/usr/share/man/man1 install -m 0644 oci-seccomp-bpf-hook*.1 /builddir/build/BUILDROOT/oci-seccomp-bpf-hook-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64/usr/share/man/man1 make: Leaving directory '/builddir/build/BUILD/oci-seccomp-bpf-hook-1.2.10/docs' + /usr/lib/rpm/find-debuginfo.sh -j12 --strict-build-id -m -i --build-id-seed 1.2.10-1.module+el8.10.0+847+facaa9a5 --unique-debug-suffix -1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64 --unique-debug-src-base oci-seccomp-bpf-hook-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/oci-seccomp-bpf-hook-1.2.10 extracting debug info from /builddir/build/BUILDROOT/oci-seccomp-bpf-hook-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64/usr/libexec/oci/hooks.d/oci-seccomp-bpf-hook 2208 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.jgMvHT + umask 022 + cd /builddir/build/BUILD + cd oci-seccomp-bpf-hook-1.2.10 + exit 0 Processing files: oci-seccomp-bpf-hook-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.s5WySJ + umask 022 + cd /builddir/build/BUILD + cd oci-seccomp-bpf-hook-1.2.10 + DOCDIR=/builddir/build/BUILDROOT/oci-seccomp-bpf-hook-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64/usr/share/doc/oci-seccomp-bpf-hook + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/oci-seccomp-bpf-hook-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64/usr/share/doc/oci-seccomp-bpf-hook + cp -pr README.md /builddir/build/BUILDROOT/oci-seccomp-bpf-hook-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64/usr/share/doc/oci-seccomp-bpf-hook + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.O8o96A + umask 022 + cd /builddir/build/BUILD + cd oci-seccomp-bpf-hook-1.2.10 + LICENSEDIR=/builddir/build/BUILDROOT/oci-seccomp-bpf-hook-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64/usr/share/licenses/oci-seccomp-bpf-hook + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/oci-seccomp-bpf-hook-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64/usr/share/licenses/oci-seccomp-bpf-hook + cp -pr LICENSE /builddir/build/BUILDROOT/oci-seccomp-bpf-hook-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64/usr/share/licenses/oci-seccomp-bpf-hook + exit 0 Provides: oci-seccomp-bpf-hook = 1.2.10-1.module+el8.10.0+847+facaa9a5 oci-seccomp-bpf-hook(x86-64) = 1.2.10-1.module+el8.10.0+847+facaa9a5 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libbcc.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.2.5)(64bit) libseccomp.so.2()(64bit) rtld(GNU_HASH) Conflicts: crun < 0.17 Enhances: cri-o podman Processing files: oci-seccomp-bpf-hook-debugsource-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64 Provides: oci-seccomp-bpf-hook-debugsource = 1.2.10-1.module+el8.10.0+847+facaa9a5 oci-seccomp-bpf-hook-debugsource(x86-64) = 1.2.10-1.module+el8.10.0+847+facaa9a5 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: oci-seccomp-bpf-hook-debuginfo-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64 Provides: debuginfo(build-id) = 6db05f04e29c961e341abddaee5011f31e06243b oci-seccomp-bpf-hook-debuginfo = 1.2.10-1.module+el8.10.0+847+facaa9a5 oci-seccomp-bpf-hook-debuginfo(x86-64) = 1.2.10-1.module+el8.10.0+847+facaa9a5 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: oci-seccomp-bpf-hook-debugsource(x86-64) = 1.2.10-1.module+el8.10.0+847+facaa9a5 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/oci-seccomp-bpf-hook-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64 Wrote: /builddir/build/RPMS/oci-seccomp-bpf-hook-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64.rpm Wrote: /builddir/build/RPMS/oci-seccomp-bpf-hook-debugsource-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64.rpm Wrote: /builddir/build/RPMS/oci-seccomp-bpf-hook-debuginfo-1.2.10-1.module+el8.10.0+847+facaa9a5.x86_64.rpm Child return code was: 0