Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/spdk.spec'], chrootPath='/var/lib/mock/dist-an8-epao-build-421400-72905/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/spdk.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/spdk-24.01-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/spdk.spec'], chrootPath='/var/lib/mock/dist-an8-epao-build-421400-72905/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/spdk.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4z3cK3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf spdk-24.01 + /usr/bin/gzip -dc /builddir/build/SOURCES/v24.01.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd spdk-24.01 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-Add-without-ISA-L-option-and-disabled-by-default.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0002-backport-Add-ctrlr_lock-for-cuse-register-and-unregister.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0003-add-HSAK-needed-head-file-and-API-to-spdk.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0004-lib-bdev-Add-bdev-support-for-HSAK.patch + /usr/bin/cat /builddir/build/SOURCES/0005-lib-env_dpdk-Add-config-args-for-HSAK.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0006-lib-nvme-Add-nvme-support-for-HSAK.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0007-module-bdev-Add-bdev-module-support-for-HSAK.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0008-use-spdk_nvme_ns_cmd_dataset_management-and-delete-s.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0009-spdk-add-nvme-support-for-HSAK.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0010-Add-CUSE-switch-for-nvme-ctrlr.patch + /usr/bin/cat /builddir/build/SOURCES/0011-Adapt-for-ES3000-serial-vendor-special-opcode-in-CUS.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0012-adapt-for-spdk-24.01.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0013-modify-to-pip3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2Jage8 + umask 022 + cd /builddir/build/BUILD + cd spdk-24.01 + ./configure --prefix=/usr --disable-tests --disable-examples --disable-unit-tests --disable-apps --without-crypto --without-isal --with-dpdk --without-fio --with-vhost --without-rbd --with-rdma --with-shared --with-iscsi-initiator --without-vtune --enable-raw --with-nvme-cuse Using DPDK lib dir /usr/lib64 Using default SPDK env in /builddir/build/BUILD/spdk-24.01/lib/env_dpdk Using 'verbs' RDMA provider WARNING: ISA-L cannot be used due to architecture incompatibility. Without ISA-L, there is no software support for crypto or compression, so these features will be disabled. Creating mk/config.mk...done. Creating mk/cc.flags.mk...done. Type 'make' to build. ++ nproc + make -j80 all make[1]: Nothing to be done for 'all'. CC lib/ut_mock/mock.o CC lib/log/log.o CC lib/log/log_flags.o CC lib/log/log_deprecated.o LIB libspdk_ut_mock.a SO libspdk_ut_mock.so.5.0 SYMLINK libspdk_ut_mock.so LIB libspdk_log.a SO libspdk_log.so.6.1 SYMLINK libspdk_log.so CXX lib/trace_parser/trace.o CC lib/util/base64.o CC lib/util/bit_array.o CC lib/util/cpuset.o CC lib/util/crc16.o CC lib/util/crc32.o CC lib/util/crc32c.o CC lib/ioat/ioat.o CC lib/util/crc32_ieee.o CC lib/util/crc64.o CC lib/util/dif.o CC lib/dma/dma.o CC lib/util/fd.o CC lib/util/file.o CC lib/util/hexlify.o CC lib/util/iov.o CC lib/util/math.o CC lib/util/pipe.o CC lib/util/strerror_tls.o CC lib/util/string.o CC lib/util/uuid.o CC lib/util/fd_group.o CC lib/util/xor.o CC lib/util/zipf.o CC lib/vfio_user/host/vfio_user_pci.o CC lib/vfio_user/host/vfio_user.o LIB libspdk_dma.a SO libspdk_dma.so.3.0 SYMLINK libspdk_dma.so LIB libspdk_ioat.a LIB libspdk_vfio_user.a SO libspdk_ioat.so.6.0 SO libspdk_vfio_user.so.4.0 SYMLINK libspdk_ioat.so SYMLINK libspdk_vfio_user.so LIB libspdk_trace_parser.a SO libspdk_trace_parser.so.4.0 SYMLINK libspdk_trace_parser.so LIB libspdk_util.a SO libspdk_util.so.8.0 SYMLINK libspdk_util.so CC lib/conf/conf.o CC lib/vmd/vmd.o CC lib/vmd/led.o CC lib/env_dpdk/env.o CC lib/env_dpdk/memory.o CC lib/env_dpdk/pci.o CC lib/rdma/common.o CC lib/rdma/rdma_verbs.o CC lib/json/json_parse.o CC lib/env_dpdk/threads.o CC lib/env_dpdk/init.o CC lib/json/json_util.o CC lib/env_dpdk/pci_ioat.o CC lib/json/json_write.o CC lib/env_dpdk/pci_virtio.o CC lib/env_dpdk/pci_vmd.o CC lib/env_dpdk/pci_idxd.o CC lib/env_dpdk/pci_event.o CC lib/env_dpdk/sigbus_handler.o CC lib/env_dpdk/pci_dpdk.o CC lib/env_dpdk/pci_dpdk_2207.o CC lib/env_dpdk/pci_dpdk_2211.o LIB libspdk_conf.a SO libspdk_conf.so.5.0 LIB libspdk_rdma.a SO libspdk_rdma.so.5.0 SYMLINK libspdk_conf.so SYMLINK libspdk_rdma.so LIB libspdk_json.a SO libspdk_json.so.5.1 SYMLINK libspdk_json.so LIB libspdk_vmd.a SO libspdk_vmd.so.5.0 SYMLINK libspdk_vmd.so CC lib/jsonrpc/jsonrpc_server.o CC lib/jsonrpc/jsonrpc_server_tcp.o CC lib/jsonrpc/jsonrpc_client.o CC lib/jsonrpc/jsonrpc_client_tcp.o LIB libspdk_jsonrpc.a SO libspdk_jsonrpc.so.5.1 SYMLINK libspdk_jsonrpc.so CC lib/rpc/rpc.o LIB libspdk_rpc.a SO libspdk_rpc.so.5.0 SYMLINK libspdk_rpc.so CC lib/sock/sock.o CC lib/sock/sock_rpc.o CC lib/trace/trace.o CC lib/trace/trace_flags.o CC lib/trace/trace_rpc.o CC lib/notify/notify.o CC lib/notify/notify_rpc.o LIB libspdk_notify.a SO libspdk_notify.so.5.0 SYMLINK libspdk_notify.so LIB libspdk_trace.a SO libspdk_trace.so.9.0 SYMLINK libspdk_trace.so LIB libspdk_sock.a SO libspdk_sock.so.8.0 CC lib/thread/thread.o CC lib/thread/iobuf.o LIB libspdk_env_dpdk.a SO libspdk_env_dpdk.so.13.0 SYMLINK libspdk_sock.so SYMLINK libspdk_env_dpdk.so CC lib/nvme/nvme_ctrlr_cmd.o CC lib/nvme/nvme_ctrlr.o CC lib/nvme/nvme_fabric.o CC lib/nvme/nvme_ns_cmd.o CC lib/nvme/nvme_ns.o CC lib/nvme/nvme_pcie_common.o CC lib/nvme/nvme_pcie.o CC lib/nvme/nvme_qpair.o CC lib/nvme/nvme.o CC lib/nvme/nvme_quirks.o CC lib/nvme/nvme_transport.o CC lib/nvme/nvme_discovery.o CC lib/nvme/nvme_ctrlr_ocssd_cmd.o CC lib/nvme/nvme_ns_ocssd_cmd.o CC lib/nvme/nvme_tcp.o CC lib/nvme/nvme_opal.o CC lib/nvme/nvme_io_msg.o CC lib/nvme/nvme_poll_group.o CC lib/nvme/nvme_zns.o CC lib/nvme/nvme_cuse.o CC lib/nvme/nvme_vfio_user.o CC lib/nvme/nvme_rdma.o CC lib/nvme/nvme_rebind.o CC lib/nvme/nvme_ctrlr_self.o CC lib/nvme/nvme_ns_self.o nvme_rebind.c: In function 'unbind_driver': nvme_rebind.c:139:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(remove_id_fd, ven_dev_id, strlen(ven_dev_id) + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nvme_rebind.c: In function 'bind_driver': nvme_rebind.c:189:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(new_id_fd, ven_dev_id, strlen(ven_dev_id) + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nvme_rebind.c:199:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(bind_fd, pci_addr, strlen(pci_addr) + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nvme_ctrlr_cmd.c: In function 'nvme_ctrlr_retry_queued_abort': nvme_ctrlr_cmd.c:616:1: warning: label 'free' defined but not used [-Wunused-label] free: ^~~~ nvme_ns_self.c: In function 'spdk_nvme_ns_pi_md_start': nvme_ns_self.c:17:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] struct spdk_nvme_ns_data *nsdata = spdk_nvme_ns_get_data(ns); ^~~~~~~~~~~~~~~~~~~~~ nvme_pcie.c:62:1: warning: '_nvme_pcie_event_process' defined but not used [-Wunused-function] _nvme_pcie_event_process(struct spdk_pci_event *event, void *cb_ctx) ^~~~~~~~~~~~~~~~~~~~~~~~ nvme_ns_cmd.c: In function '_nvme_ns_check_hw_sgl_request': nvme_ns_cmd.c:368:14: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith] virt_addr += length; ^~ nvme_ns_cmd.c: In function '_nvme_ns_cmd_rw': nvme_ns_cmd.c:543:8: warning: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] rc = _nvme_ns_check_hw_sgl_request(qpair, payload, payload_offset, sector_size, req); ^ nvme_ns_cmd.c:546:10: warning: ordered comparison of pointer with integer zero [-Wextra] if (rc > 0) { ^ LIB libspdk_thread.a SO libspdk_thread.so.9.0 SYMLINK libspdk_thread.so CC lib/init/json_config.o CC lib/init/subsystem.o CC lib/init/subsystem_rpc.o CC lib/init/rpc.o CC lib/accel/accel.o CC lib/virtio/virtio.o CC lib/accel/accel_rpc.o CC lib/virtio/virtio_vhost_user.o CC lib/accel/accel_sw.o CC lib/virtio/virtio_vfio_user.o CC lib/virtio/virtio_pci.o CC lib/blob/blobstore.o CC lib/blob/request.o CC lib/blob/zeroes.o CC lib/blob/blob_bs_dev.o LIB libspdk_init.a SO libspdk_init.so.4.0 SYMLINK libspdk_init.so LIB libspdk_virtio.a SO libspdk_virtio.so.6.0 CC lib/event/app.o CC lib/event/reactor.o CC lib/event/log_rpc.o CC lib/event/app_rpc.o CC lib/event/scheduler_static.o SYMLINK libspdk_virtio.so LIB libspdk_nvme.a SO libspdk_nvme.so.12.0 SYMLINK libspdk_nvme.so LIB libspdk_event.a SO libspdk_event.so.12.0 SYMLINK libspdk_event.so LIB libspdk_accel.a SO libspdk_accel.so.14.0 SYMLINK libspdk_accel.so CC lib/bdev/bdev.o CC lib/bdev/bdev_rpc.o CC lib/bdev/bdev_zone.o CC lib/bdev/part.o CC lib/bdev/scsi_nvme.o CC lib/bdev/bdev_self.o bdev.c: In function '_bdev_io_submit': bdev.c:3457:35: warning: initialization of 'struct spdk_bdev_io_stat *' from incompatible pointer type 'struct spdk_bdev_io_stat **' [-Wincompatible-pointer-types] struct spdk_bdev_io_stat *stat = &bdev_ch->stat; ^ bdev.c: In function 'bdev_channel_create': bdev.c:4118:51: warning: passing argument 4 of 'spdk_bdev_init_iostat' from incompatible pointer type [-Wincompatible-pointer-types] spdk_bdev_init_iostat(ch, ch->bdev, ch->channel, &ch->stat); ^~~~~~~~~ In file included from bdev.c:39: bdev_internal.h:38:35: note: expected 'struct spdk_bdev_io_stat *' but argument is of type 'struct spdk_bdev_io_stat **' struct spdk_bdev_io_stat *stat); ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ bdev.c: In function 'spdk_bdev_read_blocks_with_md': bdev.c:5367:15: warning: unused variable 'iov' [-Wunused-variable] struct iovec iov = { ^~~ bdev.c: In function 'spdk_bdev_write_blocks_with_md': bdev.c:5599:15: warning: unused variable 'iov' [-Wunused-variable] struct iovec iov = { ^~~ LIB libspdk_blob.a SO libspdk_blob.so.10.1 SYMLINK libspdk_blob.so CC lib/lvol/lvol.o CC lib/blobfs/blobfs.o CC lib/blobfs/tree.o LIB libspdk_lvol.a SO libspdk_lvol.so.9.1 SYMLINK libspdk_lvol.so LIB libspdk_blobfs.a SO libspdk_blobfs.so.9.0 SYMLINK libspdk_blobfs.so