Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/bcc.spec'], chrootPath='/var/lib/mock/dist-an8.10-build-561962-91324/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/bcc.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/bcc-0.25.0-9.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/bcc.spec'], chrootPath='/var/lib/mock/dist-an8.10-build-561962-91324/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/bcc.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.j6FcFy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bcc-0.25.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/bcc-0.25.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bcc-0.25.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1001 (0001-support-anolis-own-feature-bpf-rich-container.patch):' Patch #1001 (0001-support-anolis-own-feature-bpf-rich-container.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/cc/compat/linux/virtual_bpf.h + echo 'Patch #1002 (0001-disable-BPF_PROG_TYPE_SYSCALL.patch):' Patch #1002 (0001-disable-BPF_PROG_TYPE_SYSCALL.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file introspection/bps.c Patch #1003 (1000-add-customized-tools.patch): + echo 'Patch #1003 (1000-add-customized-tools.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tools/alibiolatency.py patching file tools/alibiolatency_example.txt patching file tools/aliexitsnoop.py patching file tools/aliexitsnoop_example.txt patching file tools/aliext4writeslower.py patching file tools/aliext4writeslower_example.txt patching file tools/alihardirqs.py patching file tools/alihardirqs_example.txt patching file tools/alijbd2stat.py patching file tools/alijbd2stat_example.txt patching file tools/alimutexsnoop.py patching file tools/alimutexsnoop_example.txt patching file tools/alirunqinfo.py patching file tools/alirunqinfo_example.txt patching file tools/alisoftirqs.py patching file tools/alisoftirqs_example.txt patching file tools/alisyscount.py patching file tools/alisyscount_example.txt patching file tools/alisysdelay.py patching file tools/alisysdelay_example.txt patching file tools/alisyslatency.py patching file tools/alisyslatency_example.txt patching file tools/aliworkslower.py patching file tools/aliworkslower_example.txt + echo 'Patch #0 (bcc-0.25.0-Manpages-remove-unstable-statement.patch):' Patch #0 (bcc-0.25.0-Manpages-remove-unstable-statement.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file man/man8/argdist.8 patching file man/man8/bashreadline.8 patching file man/man8/bindsnoop.8 patching file man/man8/biolatency.8 patching file man/man8/biolatpcts.8 patching file man/man8/biopattern.8 patching file man/man8/biosnoop.8 patching file man/man8/biotop.8 patching file man/man8/bitesize.8 patching file man/man8/bpflist.8 patching file man/man8/bps.8 patching file man/man8/btrfsdist.8 patching file man/man8/btrfsslower.8 patching file man/man8/cachestat.8 patching file man/man8/cachetop.8 patching file man/man8/capable.8 patching file man/man8/compactsnoop.8 patching file man/man8/cpudist.8 patching file man/man8/cpuunclaimed.8 patching file man/man8/criticalstat.8 patching file man/man8/dbslower.8 patching file man/man8/dbstat.8 patching file man/man8/dcsnoop.8 patching file man/man8/dcstat.8 patching file man/man8/deadlock.8 patching file man/man8/dirtop.8 patching file man/man8/drsnoop.8 patching file man/man8/execsnoop.8 patching file man/man8/exitsnoop.8 patching file man/man8/ext4dist.8 patching file man/man8/ext4slower.8 patching file man/man8/filelife.8 patching file man/man8/fileslower.8 patching file man/man8/filetop.8 patching file man/man8/funccount.8 patching file man/man8/funcinterval.8 patching file man/man8/funclatency.8 patching file man/man8/funcslower.8 patching file man/man8/gethostlatency.8 patching file man/man8/hardirqs.8 patching file man/man8/inject.8 patching file man/man8/killsnoop.8 patching file man/man8/klockstat.8 patching file man/man8/kvmexit.8 patching file man/man8/llcstat.8 patching file man/man8/mdflush.8 patching file man/man8/memleak.8 patching file man/man8/mountsnoop.8 patching file man/man8/mysqld_qslower.8 patching file man/man8/netqtop.8 patching file man/man8/nfsdist.8 patching file man/man8/nfsslower.8 patching file man/man8/offcputime.8 patching file man/man8/offwaketime.8 patching file man/man8/oomkill.8 patching file man/man8/opensnoop.8 patching file man/man8/pidpersec.8 patching file man/man8/profile.8 patching file man/man8/readahead.8 patching file man/man8/reset-trace.8 patching file man/man8/runqlat.8 patching file man/man8/runqlen.8 patching file man/man8/runqslower.8 patching file man/man8/shmsnoop.8 patching file man/man8/slabratetop.8 patching file man/man8/sofdsnoop.8 patching file man/man8/softirqs.8 patching file man/man8/solisten.8 patching file man/man8/spfdsnoop.8 patching file man/man8/sslsniff.8 patching file man/man8/stackcount.8 patching file man/man8/statsnoop.8 patching file man/man8/swapin.8 patching file man/man8/syncsnoop.8 patching file man/man8/syscount.8 patching file man/man8/tcpaccept.8 patching file man/man8/tcpcong.8 patching file man/man8/tcpconnect.8 patching file man/man8/tcpconnlat.8 patching file man/man8/tcpdrop.8 patching file man/man8/tcplife.8 patching file man/man8/tcpretrans.8 patching file man/man8/tcprtt.8 patching file man/man8/tcpstates.8 patching file man/man8/tcpsubnet.8 patching file man/man8/tcpsynbl.8 patching file man/man8/tcptop.8 patching file man/man8/tcptracer.8 patching file man/man8/threadsnoop.8 patching file man/man8/tplist.8 patching file man/man8/trace.8 patching file man/man8/ttysnoop.8 patching file man/man8/ucalls.8 patching file man/man8/uflow.8 patching file man/man8/ugc.8 patching file man/man8/uobjnew.8 patching file man/man8/ustat.8 patching file man/man8/uthreads.8 patching file man/man8/vfscount.8 patching file man/man8/vfsstat.8 patching file man/man8/virtiostat.8 patching file man/man8/wakeuptime.8 patching file man/man8/xfsdist.8 patching file man/man8/xfsslower.8 patching file man/man8/zfsdist.8 patching file man/man8/zfsslower.8 + echo 'Patch #1 (bcc-0.25.0-RHEL-libbpf-version-fixes.patch):' Patch #1 (bcc-0.25.0-RHEL-libbpf-version-fixes.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file introspection/bps.c patching file libbpf-tools/ksnoop.c patching file src/cc/bcc_btf.cc patching file src/cc/bpf_module.cc patching file src/cc/common.cc patching file src/cc/libbpf.c patching file src/cc/libbpf.h + echo 'Patch #2 (bcc-0.25.0-libbpf-Allow-kernel_struct_has_field-to-reach-field-.patch):' Patch #2 (bcc-0.25.0-libbpf-Allow-kernel_struct_has_field-to-reach-field-.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/cc/libbpf.c + echo 'Patch #3 (bcc-0.25.0-Fix-bpf_pseudo_fd-type-conversion-error.patch):' Patch #3 (bcc-0.25.0-Fix-bpf_pseudo_fd-type-conversion-error.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/cc/frontends/clang/b_frontend_action.cc + echo 'Patch #4 (bcc-0.25.0-Fix-clang-15-int-to-pointer-conversion-errors.patch):' Patch #4 (bcc-0.25.0-Fix-clang-15-int-to-pointer-conversion-errors.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/cc/frontends/clang/b_frontend_action.cc + echo 'Patch #5 (bcc-0.25.0-Revert-tools-tcpaccept-Fix-support-for-v5.6-kernels.patch):' Patch #5 (bcc-0.25.0-Revert-tools-tcpaccept-Fix-support-for-v5.6-kernels.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tools/tcpaccept.py Patch #6 (bcc-0.25.0-Fix-get_kprobe_functions.patch): + echo 'Patch #6 (bcc-0.25.0-Fix-get_kprobe_functions.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/python/bcc/__init__.py + echo 'Patch #18 (bcc-0.25.0-Remove-test_free_bcc_memory-python-test.patch):' Patch #18 (bcc-0.25.0-Remove-test_free_bcc_memory-python-test.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tests/python/CMakeLists.txt patching file tests/python/test_free_bcc_memory.py Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file tests/python/test_free_bcc_memory.py.rej error: Bad exit status from /var/tmp/rpm-tmp.j6FcFy (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.j6FcFy (%prep) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/bcc.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 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/bcc.spec'