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/kmod-dinghai.spec'], chrootPath='/var/lib/mock/dist-oc8-build-100978-65293/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=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/kmod-dinghai.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/kmod-dinghai-2.24.20.02-5.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/kmod-dinghai.spec'], chrootPath='/var/lib/mock/dist-oc8-build-100978-65293/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=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/kmod-dinghai.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.frMIvw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kmod-dinghai + /usr/bin/gzip -dc /builddir/build/SOURCES/kmod-dinghai.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd kmod-dinghai + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pLWAI6 + umask 022 + cd /builddir/build/BUILD kernel_version:5.4.119-20.0009.32 ~/build/BUILD/kmod-dinghai/crypto/zsda ~/build/BUILD/kmod-dinghai + cd kmod-dinghai + echo kernel_version:5.4.119-20.0009.32 + pushd crypto/zsda + make -C /usr/src/kernels/5.4.119-20.0009.32 M=/builddir/build/BUILD/kmod-dinghai/crypto/zsda modules CONFIG_ACC_ZSDA_COMMON=m CONFIG_ACC_ZSDA_PF=m CONFIG_ACC_ZSDA_VF=m make: Entering directory '/usr/src/kernels/5.4.119-20.0009.32' CC [M] /builddir/build/BUILD/kmod-dinghai/crypto/zsda/accdevice/zsda_common/zsda_manage.o CC [M] /builddir/build/BUILD/kmod-dinghai/crypto/zsda/accdevice/zsda_common/zsda_alg.o CC [M] /builddir/build/BUILD/kmod-dinghai/crypto/zsda/accdevice/zsda_common/zsda_qp.o CC [M] /builddir/build/BUILD/kmod-dinghai/crypto/zsda/accdevice/zsda_common/zsda_common_drv.o CC [M] /builddir/build/BUILD/kmod-dinghai/crypto/zsda/accdevice/zsda_common/zsda_isr.o CC [M] /builddir/build/BUILD/kmod-dinghai/crypto/zsda/accdevice/zsda_common/zsda_pci.o LD [M] /builddir/build/BUILD/kmod-dinghai/crypto/zsda/accdevice/zsda_common/zsda_common.o CC [M] /builddir/build/BUILD/kmod-dinghai/crypto/zsda/accdevice/zsda_pf/zsda_drv.o LD [M] /builddir/build/BUILD/kmod-dinghai/crypto/zsda/accdevice/zsda_pf/zsda_pf.o CC [M] /builddir/build/BUILD/kmod-dinghai/crypto/zsda/accdevice/zsda_vf/zsda_drv.o LD [M] /builddir/build/BUILD/kmod-dinghai/crypto/zsda/accdevice/zsda_vf/zsda_vf.o Building modules, stage 2. MODPOST 3 modules CC [M] /builddir/build/BUILD/kmod-dinghai/crypto/zsda/accdevice/zsda_common/zsda_common.mod.o LD [M] /builddir/build/BUILD/kmod-dinghai/crypto/zsda/accdevice/zsda_common/zsda_common.ko CC [M] /builddir/build/BUILD/kmod-dinghai/crypto/zsda/accdevice/zsda_pf/zsda_pf.mod.o LD [M] /builddir/build/BUILD/kmod-dinghai/crypto/zsda/accdevice/zsda_pf/zsda_pf.ko CC [M] /builddir/build/BUILD/kmod-dinghai/crypto/zsda/accdevice/zsda_vf/zsda_vf.mod.o LD [M] /builddir/build/BUILD/kmod-dinghai/crypto/zsda/accdevice/zsda_vf/zsda_vf.ko make: Leaving directory '/usr/src/kernels/5.4.119-20.0009.32' ~/build/BUILD/kmod-dinghai ~/build/BUILD/kmod-dinghai/net/build ~/build/BUILD/kmod-dinghai + popd + pushd net/build + ./build.pl -t clean --ksrc /usr/src/kernels/5.4.119-20.0009.32 /builddir/build/BUILD/kmod-dinghai/net/build/../autoconf.h make clean KSRC=/usr/src/kernels/5.4.119-20.0009.32 env CWD=/builddir/build/BUILD/kmod-dinghai/net make -C "/usr/src/kernels/5.4.119-20.0009.32" M="/builddir/build/BUILD/kmod-dinghai/net" CONFIG_DINGHAI_ETH= CONFIG_DINGHAI_MPF= CONFIG_DINGHAI_HPF= CONFIG_DINGHAI_PF= CONFIG_DINGHAI_ZF_MPF= CONFIG_KSRC=/usr/src/kernels/5.4.119-20.0009.32 CONFIG_MODULE_SIG=n CONFIG_MODULE_SIG_ALL= clean make[1]: Entering directory '/usr/src/kernels/5.4.119-20.0009.32' CONFIG_PF_MPF_DRIVER_VERSION is null, EXTRA_CFLAGS=-DDRIVER_VERSION_VAL=\"1.0-1\" CONFIG_HPF_DRIVER_VERSION is null, EXTRA_CFLAGS=-DDRIVER_VERSION_VAL=\"1.0-1\" make[1]: Leaving directory '/usr/src/kernels/5.4.119-20.0009.32' rm -f -rf /builddir/build/BUILD/kmod-dinghai/net/autoconf.h + ./build.pl -t kernel -m CONFIG_DINGHAI_ETH -m CONFIG_ZXDH_AUXILIARY -m CONFIG_DINGHAI_PF -m CONFIG_ZXDH_SF -m CONFIG_DINGHAI_EN_AUX -m HAVE_DEV_PM_DOMAIN_ATTACH -m HAVE_BUS_FIND_DEVICE_GET_CONST -m CONFIG_DINGHAI_DH_CMD -m CONFIG_DINGHAI_NP -m CONFIG_ZXDH_MSGQ -m CONFIG_ZXDH_HARDWARE_BOND -m CONFIG_DINGHAI_PTP -m CONFIG_DINGHAI_TSN -m HAVE_DEVLINK_ALLOC_GET_1_PARAMS --ksrc /usr/src/kernels/5.4.119-20.0009.32 /builddir/build/BUILD/kmod-dinghai/net/build/../autoconf.h make kernel CONFIG_DINGHAI_ETH=m CONFIG_ZXDH_AUXILIARY=m CONFIG_DINGHAI_PF=m CONFIG_ZXDH_SF=m CONFIG_DINGHAI_EN_AUX=m HAVE_DEV_PM_DOMAIN_ATTACH=m HAVE_BUS_FIND_DEVICE_GET_CONST=m CONFIG_DINGHAI_DH_CMD=m CONFIG_DINGHAI_NP=m CONFIG_ZXDH_MSGQ=m CONFIG_ZXDH_HARDWARE_BOND=m CONFIG_DINGHAI_PTP=m CONFIG_DINGHAI_TSN=m HAVE_DEVLINK_ALLOC_GET_1_PARAMS=m KSRC=/usr/src/kernels/5.4.119-20.0009.32 -j7 Building kernel modules... env CWD=/builddir/build/BUILD/kmod-dinghai/net make -C "/usr/src/kernels/5.4.119-20.0009.32" M="/builddir/build/BUILD/kmod-dinghai/net" CONFIG_DINGHAI_ETH=m CONFIG_DINGHAI_MPF= CONFIG_DINGHAI_HPF= CONFIG_DINGHAI_PF=m CONFIG_DINGHAI_ZF_MPF= CONFIG_KSRC=/usr/src/kernels/5.4.119-20.0009.32 CONFIG_MODULE_SIG=n CONFIG_MODULE_SIG_ALL= modules make[1]: Entering directory '/usr/src/kernels/5.4.119-20.0009.32' CONFIG_PF_MPF_DRIVER_VERSION is null, EXTRA_CFLAGS= -DZXDH_MSGQ -DPTP_DRIVER_INTERFACE_EN -DDRIVER_VERSION_VAL=\"1.0-1\" CONFIG_HPF_DRIVER_VERSION is null, EXTRA_CFLAGS= -DDRIVER_VERSION_VAL=\"1.0-1\" CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/base/en_auxiliary.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/dh_cmd.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/cmd/msg_main.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/cmd/msg_chan_lock.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/cmd/msg_chan_test.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/events.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_pf.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/eq.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_pf/irq.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/pci_irq.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_pf/eq.o LD [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/base/zxdh_auxiliary.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/devlink.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_pf/devlink.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_pf/events.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_pf/msg_func.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/dh_procfs.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/lag/lag.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/lag/lag_procfs.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/plcr.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/sriov_sysfs.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/xarray.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/irq_affinity.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_sf.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_sf/eq.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_sf/irq.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_sf/devlink.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_aux.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_aux/queue.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_aux/en_cmd.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_aux/eq.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_aux/events.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_ethtool/ethtool.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_aux/en_ioctl.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_aux/dcbnl/en_dcbnl.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_aux/dcbnl/en_dcbnl_api.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/zxdh_tools/zxdh_tools_ioctl.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/zxdh_tools/zxdh_tools_netlink.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_aux/en_1588_pkt_proc.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_aux/en_1588_pkt_proc_func.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_aux/selq.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_aux/priv_queue.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/bonding/zxdh_lag.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/bonding/rdma_ops.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_ptp/tod_driver.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_ptp/tod_driver_stub.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_ptp/zxdh_ptp.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_tsn/zxdh_tsn.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_tsn/zxdh_tsn_reg.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_tsn/zxdh_tsn_ioctl.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/agent/source/dpp_agent_channel.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/cmd/source/dpp_cmd_init.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/cmd/source/dpp_cmd_shell.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/comm/source/zxic_comm_mutex_lock.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/comm/source/zxic_comm_rb_tree.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/comm/source/zxic_private_top.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/comm/source/zxic_comm_liststack.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/comm/source/zxic_comm_double_link.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/comm/source/zxic_comm_index_fill.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/comm/source/zxic_common.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/comm/source/zxic_comm_print.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/driver/source/dpp_drv_eram.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/driver/source/dpp_drv_acl.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/driver/source/dpp_drv_hash.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/driver/source/dpp_drv_init.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/init/source/dpp_np_init.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/netlink/source/dpp_netlink.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/reg/dpp_reg_info.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/reg/dpp_module.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/reg/dpp_pci.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/reg/dpp_reg_api.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/module/se/dpp_se.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/module/se/dpp_stat_cfg.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/module/se/dpp_etcam.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/module/se/dpp_stat_car.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/module/table/sdt/dpp_sdt_mgr.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/module/table/sdt/dpp_sdt.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/module/table/se/dpp_hash.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/module/table/se/dpp_acl.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/module/table/se/dpp_se_cfg.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/module/table/se/dpp_dtb_table_api.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/module/table/se/dpp_hash_crc.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/module/table/se/dpp_dtb_table.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/module/dma/dpp_dtb_cfg.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/module/dma/dpp_dtb.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/module/se_apt/dpp_apt_se_eram.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/module/se_apt/dpp_apt_se_acl.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/module/se_apt/dpp_apt_se_ddr.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/module/se_apt/dpp_apt_se_hash.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/module/se_apt/dpp_apt_se_comm.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/module/ppu/dpp_ppu.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/module/tm/dpp_tm.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/module/nppu/dpp_pbu.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/chip/dpp_dev.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/chip/dpp_init.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/sdk/source/dev/init/dpp_kernel_init.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/table/source/dpp_tbl_vlan.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/table/source/dpp_tbl_bc.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/table/source/dpp_tbl_promisc.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/table/source/dpp_tbl_comm.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/table/source/dpp_tbl_rdma.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/table/source/dpp_tbl_ipsec.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/table/source/dpp_tbl_tm.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/table/source/dpp_tbl_mc.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/table/source/dpp_tbl_mac.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/table/source/dpp_tbl_lag.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/table/source/dpp_tbl_uplink.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/table/source/dpp_tbl_ptp.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/table/source/dpp_tbl_qid.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/table/source/dpp_tbl_plcr.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/table/source/dpp_tbl_vhca.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/table/source/dpp_tbl_diag.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/table/source/dpp_tbl_port.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/table/source/dpp_tbl_stat.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/qos/source/dpp_drv_qos.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/en_np/fc/source/dpp_drv_fc.o LD [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/zxdh_cmd.o LD [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/zxdh_pf.o LD [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/zxdh_en_aux.o LD [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/zxdh_ptp.o LD [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/zxdh_tsn.o LD [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/zxdh_np.o Building modules, stage 2. MODPOST 7 modules CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/base/zxdh_auxiliary.mod.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/zxdh_cmd.mod.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/zxdh_en_aux.mod.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/zxdh_np.mod.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/zxdh_pf.mod.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/zxdh_ptp.mod.o CC [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/zxdh_tsn.mod.o LD [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/zxdh_cmd.ko LD [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/zxdh_np.ko LD [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/zxdh_en_aux.ko LD [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/base/zxdh_auxiliary.ko LD [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/zxdh_pf.ko LD [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/zxdh_ptp.ko LD [M] /builddir/build/BUILD/kmod-dinghai/net/drivers/net/ethernet/dinghai/zxdh_tsn.ko make[1]: Leaving directory '/usr/src/kernels/5.4.119-20.0009.32' ~/build/BUILD/kmod-dinghai + popd + pushd rdma + ./build.sh --ksrc /usr/src/kernels/5.4.119-20.0009.32 --use_rel_net_path ~/build/BUILD/kmod-dinghai/rdma ~/build/BUILD/kmod-dinghai Using net path: /builddir/build/BUILD/kmod-dinghai/rdma/../net/ make: Entering directory '/usr/src/kernels/5.4.119-20.0009.32' make: Leaving directory '/usr/src/kernels/5.4.119-20.0009.32' make: Entering directory '/usr/src/kernels/5.4.119-20.0009.32' AR /builddir/build/BUILD/kmod-dinghai/rdma/src/built-in.a CC [M] /builddir/build/BUILD/kmod-dinghai/rdma/src/main.o CC [M] /builddir/build/BUILD/kmod-dinghai/rdma/src/manager.o CC [M] /builddir/build/BUILD/kmod-dinghai/rdma/src/hw.o CC [M] /builddir/build/BUILD/kmod-dinghai/rdma/src/cm.o CC [M] /builddir/build/BUILD/kmod-dinghai/rdma/src/ctrl.o CC [M] /builddir/build/BUILD/kmod-dinghai/rdma/src/hmc.o CC [M] /builddir/build/BUILD/kmod-dinghai/rdma/src/pble.o CC [M] /builddir/build/BUILD/kmod-dinghai/rdma/src/puda.o CC [M] /builddir/build/BUILD/kmod-dinghai/rdma/src/uk.o CC [M] /builddir/build/BUILD/kmod-dinghai/rdma/src/utils.o CC [M] /builddir/build/BUILD/kmod-dinghai/rdma/src/verbs.o CC [M] /builddir/build/BUILD/kmod-dinghai/rdma/src/uda.o CC [M] /builddir/build/BUILD/kmod-dinghai/rdma/src/trace.o CC [M] /builddir/build/BUILD/kmod-dinghai/rdma/src/icrdma_hw.o CC [M] /builddir/build/BUILD/kmod-dinghai/rdma/src/vf.o CC [M] /builddir/build/BUILD/kmod-dinghai/rdma/src/virtchnl.o CC [M] /builddir/build/BUILD/kmod-dinghai/rdma/src/zrdma_kcompat.o CC [M] /builddir/build/BUILD/kmod-dinghai/rdma/src/tc_hmcdma.o CC [M] /builddir/build/BUILD/kmod-dinghai/rdma/src/srq.o CC [M] /builddir/build/BUILD/kmod-dinghai/rdma/src/restrack.o CC [M] /builddir/build/BUILD/kmod-dinghai/rdma/src/private_verbs_cmd.o CC [M] /builddir/build/BUILD/kmod-dinghai/rdma/src/dbgfs.o CC [M] /builddir/build/BUILD/kmod-dinghai/rdma/src/smmu/kernel/adk_mmu600.o CC [M] /builddir/build/BUILD/kmod-dinghai/rdma/src/smmu/kernel/cmdk_mmu600.o CC [M] /builddir/build/BUILD/kmod-dinghai/rdma/src/smmu/kernel/cmdk_pagetable.o LD [M] /builddir/build/BUILD/kmod-dinghai/rdma/src/zrdma.o Building modules, stage 2. MODPOST 1 modules ERROR: "ib_uverbs_get_ucontext_file" [/builddir/build/BUILD/kmod-dinghai/rdma/src/zrdma.ko] undefined! make[1]: *** [scripts/Makefile.modpost:94: __modpost] Error 1 make: *** [Makefile:1672: modules] Error 2 make: Leaving directory '/usr/src/kernels/5.4.119-20.0009.32' make failed, exiting... error: Bad exit status from /var/tmp/rpm-tmp.pLWAI6 (%build) Bad exit status from /var/tmp/rpm-tmp.pLWAI6 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/kmod-dinghai.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/kmod-dinghai.spec