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/kmod-hisdk3.spec'], chrootPath='/var/lib/mock/dist-an23-kernel-6.6.102-6_rc2.2-build-546141-87248/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/kmod-hisdk3.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 setting SOURCE_DATE_EPOCH=1642809600 Wrote: /builddir/build/SRPMS/kmod-hisdk3-6.6.102~6_rc2.2-17.12.5.0~5.an23.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-hisdk3.spec'], chrootPath='/var/lib/mock/dist-an23-kernel-6.6.102-6_rc2.2-build-546141-87248/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/kmod-hisdk3.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 setting SOURCE_DATE_EPOCH=1642809600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.962PP2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kmod-hisdk3-17.12.5.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/kmod-hisdk3-17.12.5.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd kmod-hisdk3-17.12.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2mfMlm + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd kmod-hisdk3-17.12.5.0 + bash /builddir/build/BUILD/kmod-hisdk3-17.12.5.0/build.sh 6.6.102-6_rc2.2.an23.aarch64 C_INCLUDE_PATH path set to: /usr/lib/gcc/aarch64-anolis-linux/12/include: /usr/src/kernels/6.6.102-6_rc2.2.an23.aarch64/ find config file: /usr/src/kernels/6.6.102-6_rc2.2.an23.aarch64//include/generated/autoconf.h CONFIG_NET_DEVLINK Found [INFO] 109 gen invoked, but input file is missing. [INFO] 289 gen invoked, but input file is missing. [INFO] 289 gen invoked, but input file is missing. + echo '#endif /* _NIC_KCOMPAT_H_ */' + exec + '[' -n /builddir/build/BUILD/kmod-hisdk3-17.12.5.0/src/host/ossl/linux/kernel/nic_kcompat.h ']' + cd /builddir/build/BUILD/kmod-hisdk3-17.12.5.0 + '[' -n '' ']' + cat -n /builddir/build/BUILD/kmod-hisdk3-17.12.5.0/src/host/ossl/linux/kernel/nic_kcompat.h 1 /* Autogenerated for KSRC=/usr/src/kernels/6.6.102-6_rc2.2.an23.aarch64/ via build.sh */ 2 #ifndef _NIC_KCOMPAT_H_ 3 #define _NIC_KCOMPAT_H_ 4 #define HAVE_DEVLINK_FLASH_UPDATE_PARAMS 1 5 #define HAVE_DEVLINK_ALLOC_SETS_DEV 1 6 #define HAVE_NETIF_NAPI_NO_WEIGHT 1 7 #define HAVE_NETIF_NAPI_ADD_WEIGHT 1 8 #define HAVE_NDO_TX_TIMEOUT_TXQ 1 9 #define HAVE_NDO_BPF 1 10 #define HAVE_NDO_GET_STATS64 1 11 #define HAVE_VOID_NDO_GET_STATS64 1 12 #define HAVE_NDO_SET_FEATURES 1 13 #define HAVE_NAPI_GRO_FLUSH_OLD 1 14 #define HAVE_VF_SPOOFCHK_CONFIGURE 1 15 #define HAVE_NDO_SET_VF_TRUST 1 16 #define HAVE_NDO_SET_VF_MIN_MAX_TX_RATE 1 17 #define HAVE_DEV_OPEN_EXTACK 1 18 #define HAVE_NETDEVICE_MIN_MAX_MTU 1 19 #define HAVE_NETDEV_STATS_IN_NETDEV 1 20 #define HAVE_NDO_SET_VF_LINK_STATE 1 21 #define HAVE_NDO_SELECT_QUEUE_SB_DEV 1 22 #define HAVE_NDO_XDP_XMIT 1 23 #define HAVE_DMA_SET_MASK 1 24 #define NEED_DMA_ZALLOC_COHERENT 1 25 #define HAVE_ETHTOOL_COALESCE_EXTACK 1 26 #define HAVE_ETHTOOL_EXTENDED_RINGPARAMS 1 27 #define HAVE_RXFH_HASHFUNC 1 28 #define HAVE_ETHTOOL_GET_RXNFC_U32_RULELOCS 1 29 #define HAVE_ETHTOOL_GET_RXFH_INDIR_SIZE 1 30 #define SUPPORTED_COALESCE_PARAMS 1 31 #define HAVE_ETHTOOL_SET_PHYS_ID 1 32 #define NEED_DEFINE_SPEED_20000 1 33 #define NEED_DEFINE_SPEED_25000 1 34 #define NEED_DEFINE_SPEED_40000 1 35 #define NEED_DEFINE_SPEED_100000 1 36 #define HAVE_ETHTOOL_GLINKSETTINGS 1 37 #define ETHTOOL_MSG_MODULE_EEPROM_GET 1 38 #define HAVE_NEW_ETHTOOL_LINK_SETTINGS_ONLY 1 39 #define HAVE_NETDEV_PROG_XDP_WARN_ACTION 1 40 #define HAVE_XDP_DO_FLUSH_MAP 1 41 #define HAVE_DEVNODE_CONST_DEV 1 42 #define NEED_DEFINE_PCI_POOL_ALLOC 1 43 #define NEED_DEFINE_PCI_POOL_FREE 1 44 #define NEED_DEFINE_PCI_POOL 1 45 #define NEED_DEFINE_PCI_DMA_BIDIRECTIONAL 1 46 #define HAVE_SRIOV_CONFIGURE 1 47 #define HAVE_PCI_DEV_FLAGS_ASSIGNED 1 48 #define HAVE_SK_BUFF_ENCAPSULATION 1 49 #define HAVE_TYPEDEF_SKB_FRAG_T_BIOVEC 1 50 #define NEED_DEFINE_DEV_ALLOC_PAGES 1 51 #define NEED_DEFINE_DEV_ALLOC_PAGE 1 52 #define HAVE_SKBUFF_CSUM_LEVEL 1 53 #define HAVE_ETH_GET_HEADLEN_NET_DEVICE_ARG 1 54 #define HAVE_ETH_HW_ADDR_SET 1 55 #define HAVE_ETH_GET_HEADLEN_FUNC 1 56 #define NEED_ETH_P_8021AD 1 57 #define HAVE_VM_FLAGS_SET 1 58 #define HAVE_GET_USER_PAGES_GUP_FLAGS 1 59 #define HAVE_PINNED_VM_TYPE_ATOMIC64_T 1 60 #define HAVE_MMAP_WRITE_LOCK 1 61 #define NEED_DO_GETTIMEOFDAY 1 62 #define NEED_STRUCT_TIMEVAL 1 63 #define NEED_PCI_CLEANUP_AER_UNCORRECT_ERROR_STATUS 1 64 #define HAVE_TIMER_SETUP 1 65 #define NEED_PDE_DATA 1 66 #define HAVE_PROC_OPS 1 67 #define HAVE_NETIF_F_RXHASH 1 68 #define HAVE_SOCK_CREATE_KERN_NET 1 69 #define HAVE_UDP_TUNNEL_NIC_INFO 1 70 #define HAVE_VLAN_FIND_DEV_DEEP_RCU 1 71 #define NEED_DEFINE_FIELD_SIZEOF 1 72 #define NEED_RTC_TIME_TO_TM 1 73 #define HAVE_GENL_OPS_FIELD_VALIDATE 1 74 #define NEED_DEFINE_GET_DS 1 75 #define HAVE_MACRO_VM_FAULT_T 1 76 #define NEED_DEFINE_BIT_ULL 1 77 #define HAVE_XDP_SUPPORT 1 78 #define HAVE_XDP_FRAME_SZ 1 79 #define HAVE_XDP_RXQ_INFO_REG_NAPI_ID 1 80 #define HAVE_XDP_FRAME_FRAME_SZ 1 81 #define HAVE_MEM_TYPE_XSK_BUFF_POOL 1 82 #define HAVE_XSK_ZEROCOPY_SUPPORT 1 83 #define HAVE_XSK_BUFF_DMA_SYNC_FOR_CPU_HAVE_POOL 1 84 #define HAVE_BPF_TRACE_H 1 85 #define HAVE_KALLSYMS_LOOKUP_NAME_EXPORTED 1 86 #endif /* _NIC_KCOMPAT_H_ */ + build_udk + cd /builddir/build/BUILD/kmod-hisdk3-17.12.5.0/src/udk/kernel + change_Makefile + sed -i 's/KERNEL_VER.*:=.*/KERNEL_VER:=6.6.102-6_rc2.2.an23.aarch64/g' ./Makefile + sed -i 's/KERNEL_VER.*:=.*/KERNEL_VER:=6.6.102-6_rc2.2.an23.aarch64/g' /builddir/build/BUILD/kmod-hisdk3-17.12.5.0/src/Makefile.ko + make clean /builddir/build/BUILD/kmod-hisdk3-17.12.5.0/src/udk/kernel/../..//Makefile.ko:6: cflags, -D __TIME_STR__=\"2026-07-02_11:54:47\" -DGLOBAL_VERSION_STR=\"17.12.5.0\" grep: /lib/modules/6.6.102-6_rc2.2.an23.aarch64/build/.config: No such file or directory grep: /lib/modules/6.6.102-6_rc2.2.an23.aarch64/build/.config: No such file or directory grep: /lib/modules/6.6.102-6_rc2.2.an23.aarch64/build/.config: No such file or directory rm -rf *.o *.ko *.order .*.cmd *.mod.* .H* .tm* .tmp_versions Module.symvers *.ko.unsigned null + eval make -j 16 ++ make -j 16 /builddir/build/BUILD/kmod-hisdk3-17.12.5.0/src/udk/kernel/../..//Makefile.ko:6: cflags, -D __TIME_STR__=\"2026-07-02_11:54:47\" -DGLOBAL_VERSION_STR=\"17.12.5.0\" grep: /lib/modules/6.6.102-6_rc2.2.an23.aarch64/build/.config: No such file or directory grep: /lib/modules/6.6.102-6_rc2.2.an23.aarch64/build/.config: No such file or directory grep: /lib/modules/6.6.102-6_rc2.2.an23.aarch64/build/.config: No such file or directory make -C /lib/modules/6.6.102-6_rc2.2.an23.aarch64/build M=/builddir/build/BUILD/kmod-hisdk3-17.12.5.0/src/udk/kernel -W modules make[1]: Entering directory '/builddir/build/BUILD/kmod-hisdk3-17.12.5.0/src/udk/kernel' make[1]: Leaving directory '/builddir/build/BUILD/kmod-hisdk3-17.12.5.0/src/udk/kernel' make[1]: *** /lib/modules/6.6.102-6_rc2.2.an23.aarch64/build: No such file or directory. Stop. make: *** [/builddir/build/BUILD/kmod-hisdk3-17.12.5.0/src/udk/kernel/../..//Makefile.ko:96: default] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.2mfMlm (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.2mfMlm (%build) 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-hisdk3.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/kmod-hisdk3.spec'