Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/nettrace.spec'], chrootPath='/var/lib/mock/dist-oc8-build-34367-10781/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=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/nettrace.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/nettrace-1.2.3-1.oc8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps --nocheck /builddir/build/SPECS/nettrace.spec'], chrootPath='/var/lib/mock/dist-oc8-build-34367-10781/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=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps --nocheck /builddir/build/SPECS/nettrace.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wFiNCx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nettrace-1.2.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/nettrace-1.2.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd nettrace-1.2.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Vfq8bm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nettrace-1.2.3-1.oc8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nettrace-1.2.3-1.oc8.aarch64 ++ dirname /builddir/build/BUILDROOT/nettrace-1.2.3-1.oc8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nettrace-1.2.3-1.oc8.aarch64 + cd nettrace-1.2.3 + rm -rf /builddir/build/BUILDROOT/nettrace-1.2.3-1.oc8.aarch64 + make PREFIX=/builddir/build/BUILDROOT/nettrace-1.2.3-1.oc8.aarch64 install for i in nodetrace src legacy; do make -C $i install; done make[1]: Entering directory '/builddir/build/BUILD/nettrace-1.2.3/nodetrace' clang -O2 -c -g -S -Wall -Wno-pointer-sign -Wno-unused-value \ -Wno-incompatible-pointer-types-discards-qualifiers \ -fno-asynchronous-unwind-tables \ progs/ntrace.c -emit-llvm -Wno-unknown-attributes -I./ -I/builddir/build/BUILD/nettrace-1.2.3/shared/bpf/ -Wno-unused-function -Xclang \ -disable-llvm-passes -o - | \ opt -O2 -mtriple=bpf-pc-linux | \ llvm-dis | \ llc -march=bpf -filetype=obj -o progs/ntrace.o In file included from progs/ntrace.c:7: In file included from /builddir/build/BUILD/nettrace-1.2.3/shared/bpf/skb_utils.h:8: /usr/include/bpf/bpf_core_read.h:121:2: warning: "LLVM does not support __builtin_preserve_field_info - CO-RE will not work!" [-W#warnings] #warning "LLVM does not support __builtin_preserve_field_info - CO-RE will not work!" ^ 1 warning generated. /builddir/build/BUILD/nettrace-1.2.3/script/bpftool gen skeleton progs/ntrace.o > progs/ntrace.skel.h /bin/sh: /builddir/build/BUILD/nettrace-1.2.3/script/bpftool: cannot execute binary file: Exec format error make[1]: *** [../common.mk:83: progs/ntrace.skel.h] Error 126 rm progs/ntrace.o make[1]: Leaving directory '/builddir/build/BUILD/nettrace-1.2.3/nodetrace' make[1]: Entering directory '/builddir/build/BUILD/nettrace-1.2.3/src' python3 gen_trace.py > trace_group.c ln -s ../shared/bpf/vmlinux.h kheaders.h clang -O2 -c -g -S -Wall -Wno-pointer-sign -Wno-unused-value \ -Wno-incompatible-pointer-types-discards-qualifiers \ -fno-asynchronous-unwind-tables \ progs/tracing.c -emit-llvm -Wno-unknown-attributes -I./ -I/builddir/build/BUILD/nettrace-1.2.3/shared/bpf/ -DSTACK_TRACE -Wno-unused-function -Xclang \ -disable-llvm-passes -o - | \ opt -O2 -mtriple=bpf-pc-linux | \ llvm-dis | \ llc -march=bpf -filetype=obj -o progs/tracing.o In file included from progs/tracing.c:8: In file included from /builddir/build/BUILD/nettrace-1.2.3/shared/bpf/skb_utils.h:8: /usr/include/bpf/bpf_core_read.h:121:2: warning: "LLVM does not support __builtin_preserve_field_info - CO-RE will not work!" [-W#warnings] #warning "LLVM does not support __builtin_preserve_field_info - CO-RE will not work!" ^ 1 warning generated. /builddir/build/BUILD/nettrace-1.2.3/script/bpftool gen skeleton progs/tracing.o > progs/tracing.skel.h /bin/sh: /builddir/build/BUILD/nettrace-1.2.3/script/bpftool: cannot execute binary file: Exec format error make[1]: *** [../common.mk:83: progs/tracing.skel.h] Error 126 rm progs/tracing.o make[1]: Leaving directory '/builddir/build/BUILD/nettrace-1.2.3/src' make[1]: Entering directory '/builddir/build/BUILD/nettrace-1.2.3/legacy' make[1]: Leaving directory '/builddir/build/BUILD/nettrace-1.2.3/legacy' + PREFIX=/builddir/build/BUILDROOT/nettrace-1.2.3-1.oc8.aarch64 + /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 /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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 mangling shebang in /opt/nettrace/nettrace.py from /usr/bin/python3 to #!/usr/libexec/platform-python Processing files: nettrace-1.2.3-1.oc8.aarch64 RPM build errors: error: File not found: /builddir/build/BUILDROOT/nettrace-1.2.3-1.oc8.aarch64/usr/bin/nettrace error: File not found: /builddir/build/BUILDROOT/nettrace-1.2.3-1.oc8.aarch64/usr/bin/nodetrace-mark error: File not found: /builddir/build/BUILDROOT/nettrace-1.2.3-1.oc8.aarch64/usr/bin/nodetrace-watch File not found: /builddir/build/BUILDROOT/nettrace-1.2.3-1.oc8.aarch64/usr/bin/nettrace File not found: /builddir/build/BUILDROOT/nettrace-1.2.3-1.oc8.aarch64/usr/bin/nodetrace-mark File not found: /builddir/build/BUILDROOT/nettrace-1.2.3-1.oc8.aarch64/usr/bin/nodetrace-watch Child return code was: 1 EXCEPTION: [Error()] 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 598, 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 --target aarch64 --nodeps --nocheck /builddir/build/SPECS/nettrace.spec