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/rdma-core.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-266740-64025/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/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 Wrote: /builddir/build/SRPMS/rdma-core-44.0-2.0.1.an8.1.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-an8.7-build-266740-64025/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/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.fp4vLV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rdma-core-44.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/rdma-core-44.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rdma-core-44.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-util-fix-overflow-in-remap_node_name.patch):' Patch #1 (0001-util-fix-overflow-in-remap_node_name.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file util/node_name_map.c patching file util/node_name_map.h + echo 'Patch #2 (0002-infiniband-diags-drop-unnecessary-nodedesc-local-cop.patch):' Patch #2 (0002-infiniband-diags-drop-unnecessary-nodedesc-local-cop.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file infiniband-diags/dump_fts.c + echo 'Patch #3 (0003-libibnetdisc-fix-printing-a-possibly-non-NUL-termina.patch):' Patch #3 (0003-libibnetdisc-fix-printing-a-possibly-non-NUL-termina.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file libibnetdisc/chassis.c 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 + echo 'Patch #301 (0002-systemd-drop-Protect-options-not-supported-in-RHEL-8.patch):' 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 + echo 'Patch #9999 (9999-udev-keep-NAME_KERNEL-as-default-interface-naming-co.patch):' 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 + echo 'Patch #1000 (1001-providers-erdma-Add-userspace-verbs-related-header-f.patch):' Patch #1000 (1001-providers-erdma-Add-userspace-verbs-related-header-f.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 The next patch would create the file providers/erdma/erdma_db.h, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would create the file providers/erdma/erdma_hw.h, which already exists! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored The next patch would create the file providers/erdma/erdma_verbs.h, which already exists! 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.fp4vLV (%prep) Bad exit status from /var/tmp/rpm-tmp.fp4vLV (%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 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/rdma-core.spec