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 aarch64 --nodeps /builddir/build/SPECS/smc-tools.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-342294-69950/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/smc-tools.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/smc-tools-1.8.2-1.0.2.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/smc-tools.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-342294-69950/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/smc-tools.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.53GqzB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf smc-tools-1.8.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/1.8.2.tar.gz + /usr/bin/tar -xvvof - drwxrwxr-x root/root 0 2022-09-29 21:25 smc-tools-1.8.2/ -rw-rw-r-- root/root 28 2022-09-29 21:25 smc-tools-1.8.2/.gitignore -rw-rw-r-- root/root 2282 2022-09-29 21:25 smc-tools-1.8.2/CONTRIBUTING.md -rw-rw-r-- root/root 12007 2022-09-29 21:25 smc-tools-1.8.2/LICENSE -rw-rw-r-- root/root 8102 2022-09-29 21:25 smc-tools-1.8.2/Makefile -rw-rw-r-- root/root 6352 2022-09-29 21:25 smc-tools-1.8.2/README.md -rw-rw-r-- root/root 4097 2022-09-29 21:25 smc-tools-1.8.2/af_smc.7 -rw-rw-r-- root/root 15955 2022-09-29 21:25 smc-tools-1.8.2/dev.c -rw-rw-r-- root/root 712 2022-09-29 21:25 smc-tools-1.8.2/dev.h -rw-rw-r-- root/root 5079 2022-09-29 21:25 smc-tools-1.8.2/info.c -rw-rw-r-- root/root 534 2022-09-29 21:25 smc-tools-1.8.2/info.h -rw-rw-r-- root/root 6705 2022-09-29 21:25 smc-tools-1.8.2/libnetlink.c -rw-rw-r-- root/root 2109 2022-09-29 21:25 smc-tools-1.8.2/libnetlink.h -rw-rw-r-- root/root 19708 2022-09-29 21:25 smc-tools-1.8.2/linkgroup.c -rw-rw-r-- root/root 601 2022-09-29 21:25 smc-tools-1.8.2/linkgroup.h -rw-rw-r-- root/root 5374 2022-09-29 21:25 smc-tools-1.8.2/seid.c -rw-rw-r-- root/root 534 2022-09-29 21:25 smc-tools-1.8.2/seid.h -rw-rw-r-- root/root 3102 2022-09-29 21:25 smc-tools-1.8.2/smc-device.8 -rw-rw-r-- root/root 4385 2022-09-29 21:25 smc-tools-1.8.2/smc-linkgroup.8 -rw-rw-r-- root/root 3070 2022-09-29 21:25 smc-tools-1.8.2/smc-preload.c -rw-rw-r-- root/root 4898 2022-09-29 21:25 smc-tools-1.8.2/smc-tools.autocomplete -rw-rw-r-- root/root 2060 2022-09-29 21:25 smc-tools-1.8.2/smc.8 -rw-rw-r-- root/root 3534 2022-09-29 21:25 smc-tools-1.8.2/smc.c -rwxrwxr-x root/root 15062 2022-09-29 21:25 smc-tools-1.8.2/smc_chk -rw-rw-r-- root/root 2124 2022-09-29 21:25 smc-tools-1.8.2/smc_chk.8 -rwxrwxr-x root/root 2180 2022-09-29 21:25 smc-tools-1.8.2/smc_dbg -rw-rw-r-- root/root 4559 2022-09-29 21:25 smc-tools-1.8.2/smc_pnet.8 -rw-rw-r-- root/root 8635 2022-09-29 21:25 smc-tools-1.8.2/smc_pnet.c -rwxrwxr-x root/root 6579 2022-09-29 21:25 smc-tools-1.8.2/smc_rnics -rw-rw-r-- root/root 2304 2022-09-29 21:25 smc-tools-1.8.2/smc_rnics.8 -rwxrwxr-x root/root 2007 2022-09-29 21:25 smc-tools-1.8.2/smc_run -rw-rw-r-- root/root 2439 2022-09-29 21:25 smc-tools-1.8.2/smc_run.8 -rw-rw-r-- root/root 3419 2022-09-29 21:25 smc-tools-1.8.2/smcd-device.8 -rw-rw-r-- root/root 1065 2022-09-29 21:25 smc-tools-1.8.2/smcd-info.8 -rw-rw-r-- root/root 4517 2022-09-29 21:25 smc-tools-1.8.2/smcd-linkgroup.8 -rw-rw-r-- root/root 937 2022-09-29 21:25 smc-tools-1.8.2/smcd-seid.8 -rw-rw-r-- root/root 5086 2022-09-29 21:25 smc-tools-1.8.2/smcd-stats.8 -rw-rw-r-- root/root 1428 2022-09-29 21:25 smc-tools-1.8.2/smcd-ueid.8 -rw-rw-r-- root/root 2381 2022-09-29 21:25 smc-tools-1.8.2/smcd.8 -rw-rw-r-- root/root 2384 2022-09-29 21:25 smc-tools-1.8.2/smcr.8 -rw-rw-r-- root/root 8084 2022-09-29 21:25 smc-tools-1.8.2/smcss.8 -rw-rw-r-- root/root 10890 2022-09-29 21:25 smc-tools-1.8.2/smcss.c -rw-rw-r-- root/root 13879 2022-09-29 21:25 smc-tools-1.8.2/smctools_common.h -rw-rw-r-- root/root 33076 2022-09-29 21:25 smc-tools-1.8.2/stats.c -rw-rw-r-- root/root 4264 2022-09-29 21:25 smc-tools-1.8.2/stats.h -rw-rw-r-- root/root 6824 2022-09-29 21:25 smc-tools-1.8.2/ueid.c -rw-rw-r-- root/root 534 2022-09-29 21:25 smc-tools-1.8.2/ueid.h -rw-rw-r-- root/root 3292 2022-09-29 21:25 smc-tools-1.8.2/util.c -rw-rw-r-- root/root 1115 2022-09-29 21:25 smc-tools-1.8.2/util.h + STATUS=0 + '[' 0 -ne 0 ']' + cd smc-tools-1.8.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (smc-tools-1.6.0-smc_chk-py3.patch):' Patch #0 (smc-tools-1.6.0-smc_chk-py3.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file smc_chk + echo 'Patch #1 (smc-tools-1.0.0-anolis-ebpf.patch):' Patch #1 (smc-tools-1.0.0-anolis-ebpf.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile patching file bpf_smc.c patching file smc-ebpf patching file vmlinux.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OZrKMD + umask 022 + cd /builddir/build/BUILD + cd smc-tools-1.8.2 + /usr/bin/make -O -j80 '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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' V=1 Makefile:104: "Warning: Skipping 31/32-bit library build because 31/32-bit build tools" Makefile:105: " are unavailable. SMC will not support 31/32 bit applications" Makefile:106: " unless the glibc devel package for the appropriate addressing" Makefile:107: " mode is installed and the preload libraries are rebuilt." clang -target bpf -c bpf_smc.c -g -O2 -o ebpf.o make: clang: Command not found make: *** [Makefile:82: ebpf.o] Error 127 make: *** Waiting for unfinished jobs.... cc -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -DSMC_TOOLS_RELEASE=1.8.2 -I/usr/include/libnl3 -fPIC -c smc-preload.c cc -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -DSMC_TOOLS_RELEASE=1.8.2 -I/usr/include/libnl3 -DSMCD -c smc.c -o smcd.o cc -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -DSMC_TOOLS_RELEASE=1.8.2 -I/usr/include/libnl3 -DSMCR -c smc.c -o smcr.o cc -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -DSMC_TOOLS_RELEASE=1.8.2 -I/usr/include/libnl3 -c util.c cc -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -DSMC_TOOLS_RELEASE=1.8.2 -I/usr/include/libnl3 -DSMCD -c info.c -o infod.o cc -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -DSMC_TOOLS_RELEASE=1.8.2 -I/usr/include/libnl3 -DSMCR -c info.c -o infor.o cc -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -DSMC_TOOLS_RELEASE=1.8.2 -I/usr/include/libnl3 -DSMCR -c seid.c -o seidr.o cc -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -DSMC_TOOLS_RELEASE=1.8.2 -I/usr/include/libnl3 -DSMCD -c seid.c -o seidd.o cc -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -DSMC_TOOLS_RELEASE=1.8.2 -I/usr/include/libnl3 -DSMCR -c ueid.c -o ueidr.o cc -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -DSMC_TOOLS_RELEASE=1.8.2 -I/usr/include/libnl3 -DSMCD -c ueid.c -o ueidd.o cc -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -DSMC_TOOLS_RELEASE=1.8.2 -I/usr/include/libnl3 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lnl-genl-3 -lnl-3 -lm -c libnetlink.c cc -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -DSMC_TOOLS_RELEASE=1.8.2 -I/usr/include/libnl3 smc_pnet.c -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lnl-genl-3 -lnl-3 -lm -o smc_pnet cc -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -DSMC_TOOLS_RELEASE=1.8.2 -I/usr/include/libnl3 -c smcss.c -o smcss.o cc -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -DSMC_TOOLS_RELEASE=1.8.2 -I/usr/include/libnl3 -DSMCD -c dev.c -o devd.o cc -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -DSMC_TOOLS_RELEASE=1.8.2 -I/usr/include/libnl3 -DSMCR -c dev.c -o devr.o cc -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -DSMC_TOOLS_RELEASE=1.8.2 -I/usr/include/libnl3 -DSMCD -c linkgroup.c -o linkgroupd.o cc -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -DSMC_TOOLS_RELEASE=1.8.2 -I/usr/include/libnl3 -DSMCR -c linkgroup.c -o linkgroupr.o cc -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -DSMC_TOOLS_RELEASE=1.8.2 -I/usr/include/libnl3 -DSMCD -c stats.c -o statsd.o cc -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/libnl3 -DSMC_TOOLS_RELEASE=1.8.2 -I/usr/include/libnl3 -DSMCR -c stats.c -o statsr.o error: Bad exit status from /var/tmp/rpm-tmp.OZrKMD (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.OZrKMD (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/smc-tools.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 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 --noclean --target aarch64 --nodeps /builddir/build/SPECS/smc-tools.spec