Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libbpf.spec'], chrootPath='/var/lib/mock/dist-an7_9-updates-build-164231-52034/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=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.y3dndk5m:/etc/resolv.conf', '--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=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.y3dndk5m:/etc/resolv.conf', '--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', 'c916841120b04cf9bb0d8d6962b6ecda', '-D', '/var/lib/mock/dist-an7_9-updates-build-164231-52034/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.y3dndk5m:/etc/resolv.conf', '--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', '--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/libbpf.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/libbpf-0.7.0-2.an7.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/libbpf.spec'], chrootPath='/var/lib/mock/dist-an7_9-updates-build-164231-52034/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=989gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.y3dndk5m:/etc/resolv.conf', '--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=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.y3dndk5m:/etc/resolv.conf', '--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', '0cbe96a2cc0e4b10b46f6f4462bb785c', '-D', '/var/lib/mock/dist-an7_9-updates-build-164231-52034/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.y3dndk5m:/etc/resolv.conf', '--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', '--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/libbpf.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.iZQjOB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libbpf-0.7.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/v0.7.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd libbpf-0.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oQ7nvT + umask 022 + cd /builddir/build/BUILD + cd libbpf-0.7.0 + /usr/bin/make -j64 -C ./src DESTDIR=/builddir/build/BUILDROOT/libbpf-0.7.0-2.an7.x86_64 OBJDIR=/builddir/build/BUILD 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC' 'LDFLAGS=-Wl,-z,relro -Wl,--no-as-needed' LIBDIR=//usr/lib64 NO_PKG_CONFIG=1 make: Entering directory `/builddir/build/BUILD/libbpf-0.7.0/src' MKDIR /builddir/build/BUILD/staticobjs MKDIR /builddir/build/BUILD/sharedobjs CC /builddir/build/BUILD/staticobjs/bpf.o CC /builddir/build/BUILD/staticobjs/btf.o CC /builddir/build/BUILD/staticobjs/libbpf.o CC /builddir/build/BUILD/staticobjs/libbpf_errno.o CC /builddir/build/BUILD/staticobjs/netlink.o CC /builddir/build/BUILD/staticobjs/nlattr.o CC /builddir/build/BUILD/staticobjs/str_error.o CC /builddir/build/BUILD/staticobjs/libbpf_probes.o CC /builddir/build/BUILD/staticobjs/bpf_prog_linfo.o CC /builddir/build/BUILD/staticobjs/xsk.o CC /builddir/build/BUILD/staticobjs/btf_dump.o CC /builddir/build/BUILD/staticobjs/hashmap.o CC /builddir/build/BUILD/staticobjs/ringbuf.o CC /builddir/build/BUILD/staticobjs/strset.o CC /builddir/build/BUILD/staticobjs/linker.o CC /builddir/build/BUILD/staticobjs/gen_loader.o CC /builddir/build/BUILD/staticobjs/relo_core.o CC /builddir/build/BUILD/sharedobjs/btf.o CC /builddir/build/BUILD/sharedobjs/bpf.o CC /builddir/build/BUILD/sharedobjs/libbpf.o CC /builddir/build/BUILD/sharedobjs/libbpf_errno.o CC /builddir/build/BUILD/sharedobjs/netlink.o CC /builddir/build/BUILD/sharedobjs/nlattr.o CC /builddir/build/BUILD/sharedobjs/str_error.o CC /builddir/build/BUILD/sharedobjs/libbpf_probes.o CC /builddir/build/BUILD/sharedobjs/bpf_prog_linfo.o CC /builddir/build/BUILD/sharedobjs/xsk.o CC /builddir/build/BUILD/sharedobjs/btf_dump.o CC /builddir/build/BUILD/sharedobjs/hashmap.o CC /builddir/build/BUILD/sharedobjs/ringbuf.o CC /builddir/build/BUILD/sharedobjs/strset.o CC /builddir/build/BUILD/sharedobjs/gen_loader.o CC /builddir/build/BUILD/sharedobjs/linker.o CC /builddir/build/BUILD/sharedobjs/relo_core.o btf_dump.c: In function 'btf_dump_dump_type_data.isra.24': btf_dump.c:2298:5: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized] if (err < 0) ^ btf_dump.c: In function 'btf_dump_dump_type_data.isra.24': btf_dump.c:2298:5: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized] if (err < 0) ^ AR /builddir/build/BUILD/libbpf.a CC /builddir/build/BUILD/libbpf.so.0.7.0 make: Leaving directory `/builddir/build/BUILD/libbpf-0.7.0/src' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sWoKrj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libbpf-0.7.0-2.an7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libbpf-0.7.0-2.an7.x86_64 ++ dirname /builddir/build/BUILDROOT/libbpf-0.7.0-2.an7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libbpf-0.7.0-2.an7.x86_64 + cd libbpf-0.7.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libbpf-0.7.0-2.an7.x86_64 -C ./src DESTDIR=/builddir/build/BUILDROOT/libbpf-0.7.0-2.an7.x86_64 OBJDIR=/builddir/build/BUILD 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC' 'LDFLAGS=-Wl,-z,relro -Wl,--no-as-needed' LIBDIR=//usr/lib64 NO_PKG_CONFIG=1 make: Entering directory `/builddir/build/BUILD/libbpf-0.7.0/src' INSTALL bpf.h libbpf.h btf.h libbpf_common.h libbpf_legacy.h xsk.h bpf_helpers.h bpf_helper_defs.h bpf_tracing.h bpf_endian.h bpf_core_read.h skel_internal.h libbpf_version.h INSTALL /builddir/build/BUILD/libbpf.pc INSTALL /builddir/build/BUILD/libbpf.a /builddir/build/BUILD/libbpf.so /builddir/build/BUILD/libbpf.so.0 /builddir/build/BUILD/libbpf.so.0.7.0 make: Leaving directory `/builddir/build/BUILD/libbpf-0.7.0/src' + %generate_compatibility_deps /var/tmp/rpm-tmp.sWoKrj: line 36: fg: no job control error: Bad exit status from /var/tmp/rpm-tmp.sWoKrj (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.sWoKrj (%install) 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 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 0cbe96a2cc0e4b10b46f6f4462bb785c -D /var/lib/mock/dist-an7_9-updates-build-164231-52034/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.y3dndk5m:/etc/resolv.conf --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 --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/libbpf.spec