Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rdma-core.spec'], chrootPath='/var/lib/mock/dist-oc8-build-241007-82789/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=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rdma-core.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 sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/rdma-core-48.0-2.oc8.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/rdma-core.spec'], chrootPath='/var/lib/mock/dist-oc8-build-241007-82789/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=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/rdma-core.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.lCLzPI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rdma-core-48.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/rdma-core-48.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rdma-core-48.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #300 (0001-ibacm-acm.c-load-plugin-while-it-is-soft-link.patch): + echo 'Patch #300 (0001-ibacm-acm.c-load-plugin-while-it-is-soft-link.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ibacm/src/acm.c Patch #301 (0002-systemd-drop-Protect-options-not-supported-in-RHEL-8.patch): + echo 'Patch #301 (0002-systemd-drop-Protect-options-not-supported-in-RHEL-8.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ibacm/ibacm.service.in patching file iwpmd/iwpmd.service.in patching file rdma-ndd/rdma-ndd.service.in Patch #9000 (0003-CMakeLists-disable-providers-that-were-not-enabled-i.patch): + echo 'Patch #9000 (0003-CMakeLists-disable-providers-that-were-not-enabled-i.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file CMakeLists.txt Hunk #1 succeeded at 720 (offset 9 lines). Hunk #2 succeeded at 729 (offset 9 lines). Patch #9999 (9999-udev-keep-NAME_KERNEL-as-default-interface-naming-co.patch): + echo 'Patch #9999 (9999-udev-keep-NAME_KERNEL-as-default-interface-naming-co.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file kernel-boot/rdma-persistent-naming.rules Patch #10000 (10000-add-sxe2-rdma-core.patch): + echo 'Patch #10000 (10000-add-sxe2-rdma-core.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file CMakeLists.txt Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file CMakeLists.txt.rej patching file kernel-headers/CMakeLists.txt Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 2 out of 2 hunks ignored -- saving rejects to file kernel-headers/CMakeLists.txt.rej patching file kernel-headers/rdma/ib_user_ioctl_verbs.h Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file kernel-headers/rdma/ib_user_ioctl_verbs.h.rej The next patch would delete the file kernel-headers/rdma/sxe2-abi.h, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored patching file libibverbs/verbs.h Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file libibverbs/verbs.h.rej The next patch would delete the file providers/sxe2/ah.c, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file providers/sxe2/buf.c, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file providers/sxe2/buf.h, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file providers/sxe2/CMakeLists.txt, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file providers/sxe2/cq.c, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file providers/sxe2/db.c, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file providers/sxe2/device_port.c, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file providers/sxe2/device_port.h, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file providers/sxe2/io.c, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file providers/sxe2/io.h, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file providers/sxe2/log.c, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file providers/sxe2/log.h, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file providers/sxe2/Makefile, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file providers/sxe2/mc.c, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file providers/sxe2/mr.c, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file providers/sxe2/pd.c, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file providers/sxe2/qp.c, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file providers/sxe2/readme.txt, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file providers/sxe2/ring.h, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file providers/sxe2/srq.c, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file providers/sxe2/sxe2-abi.h, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file providers/sxe2/sxe2_abi.h, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file providers/sxe2/sxe2_common.c, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file providers/sxe2/sxe2_common.h, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file providers/sxe2/verbs.c, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would delete the file providers/sxe2/verbs.h, which does not exist! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.lCLzPI (%prep) Bad exit status from /var/tmp/rpm-tmp.lCLzPI (%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/rdma-core.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 597, 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/rdma-core.spec