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 aarch64 --nodeps /builddir/build/SPECS/kmod-bnxt_re.spec'], chrootPath='/var/lib/mock/dist-an8.8-kernel-5.10.134-17-build-392080-71960/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/kmod-bnxt_re.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-bnxt_re-5.10.134~17-1.10.3_229.0.139.0~8.an8.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-bnxt_re.spec'], chrootPath='/var/lib/mock/dist-an8.8-kernel-5.10.134-17-build-392080-71960/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/kmod-bnxt_re.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.YLGfMT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kmod-bnxt_re-1.10.3_229.0.139.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/kmod-bnxt_re-1.10.3_229.0.139.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd kmod-bnxt_re-1.10.3_229.0.139.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YAc93G + umask 022 + cd /builddir/build/BUILD + cd kmod-bnxt_re-1.10.3_229.0.139.0 + make KDIR=/usr/src/kernels/5.10.134-17.an8.aarch64/ KVER=5.10.134-17.an8.aarch64 clean make -C bnxt_en clean make[1]: Entering directory '/builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_en-1.10.3-229.0.139.0' expr: syntax error: unexpected argument '3' rm -f bnxt_en-*.tar.gz bnxt.o bnxt.mod.c bnxt.mod.o .bnxt*.cmd *.cmd *.markers *.order *.symvers decode_hsi.o .decode_* rm -rf .tmp_versions rm -rf bnxt_en.o bnxt_en.ko bnxt_en.mod.o bnxt_en.mod.c .bnxt_en.* bnxt_sriov.o .bnxt_sriov.* bnxt_ethtool_compat.o .bnxt_ethtool_compat.* bnxt_dcb.o .bnxt_dcb.* bnxt_ulp.o .bnxt_ulp.* bnxt_ptp.o .bnxt_ptp.* bnxt_xdp.o .bnxt_xdp.* bnxt_lfc.o .bnxt_lfc.* bnxt_hwrm.o .bnxt_hwrm.* bnxt_sriov_sysfs.o .bnxt_sriov_sysfs.* bnxt_udcc.o .bnxt_udcc.* rm -rf bnxt_vfr.o .bnxt_vfr.* bnxt_tc.o .bnxt_tc.* bnxt_devlink.o .bnxt_devlink.* bnxt_netlink.o .bnxt_netlink.* rm -rf bnxt_dim.o .bnxt_dim.* bnxt_debugfs*.o .bnxt_debugfs* bnxt_coredump.o .bnxt_coredump.* bnxt_auxbus_compat.o .bnxt_auxbus_compat.* bnxt_mpc.o .bnxt_mpc.* bnxt_ktls.o .bnxt_ktls.* bnxt_hdbr.o .bnxt_hdbr.* bnxt_hwmon.o bnxt_tfc.o .bnxt_hwmon.* bnxt_log.o .bnxt_log.* bnxt_log_data.o .bnxt_log_data.* rm -f tf_core/tf_msg.o tf_core/tf_util.o tf_core/tf_session.o tf_core/tf_rm.o tf_core/tf_tcam.o tf_core/tf_tbl.o tf_core/tf_identifier.o tf_core/dpool.o tf_core/tf_em_internal.o tf_core/tf_em_hash_internal.o tf_core/tf_if_tbl.o tf_core/tf_global_cfg.o tf_core/tf_sram_mgr.o tf_core/tf_tbl_sram.o tf_core/rand.o hcapi/cfa/hcapi_cfa_p4.o hcapi/cfa/hcapi_cfa_p58.o tf_core/tf_device_p4.o tf_core/tf_device_p58.o tf_core/tf_device.o tf_core/tf_core.o tf_core/tf_tcam_mgr_msg.o tf_core/cfa_tcam_mgr_hwop_msg.o tf_core/cfa_tcam_mgr.o tf_core/cfa_tcam_mgr_p4.o tf_core/cfa_tcam_mgr_p58.o rm -f tf_core/.*.cmd hcapi/cfa/.*.cmd rm -f hcapi/bitalloc.o hcapi/.bitalloc.o.cmd rm -f hcapi/cfa_v3/mm/cfa_mm.o hcapi/cfa_v3/mpc/cfa_bld_p70_mpc.o hcapi/cfa_v3/mpc/cfa_bld_mpc.o hcapi/cfa_v3/mpc/cfa_bld_p70_mpcops.o hcapi/cfa_v3/mpc/cfa_bld_p70_host_mpc_wrapper.o hcapi/cfa_v3/tim/cfa_tim.o hcapi/cfa_v3/tpm/cfa_tpm.o rm -f tfc_v3/tfc_act.o tfc_v3/tfc_cpm.o tfc_v3/tfc_em.o tfc_v3/tfc_global_id.o tfc_v3/tfc_ident.o tfc_v3/tfc_idx_tbl.o tfc_v3/tfc_init.o tfc_v3/tfc_msg.o tfc_v3/tfc_priv.o tfc_v3/tfc_session.o tfc_v3/tfc_tbl_scope.o tfc_v3/tfc_tcam.o tfc_v3/tfc_util.o tfc_v3/tfo.o tfc_v3/tfc_vf2pf_msg.o tfc_v3/tfc_if_tbl.o tfc_v3/tfc_mpc_table.o rm -f tfc_v3/.*.cmd hcapi/cfa_v3/.*.cmd hcapi/cfa_v3/mpc/.*.cmd hcapi/cfa_v3/mm/.*.cmd hcapi/cfa_v3/tim/.*.cmd hcapi/cfa_v3/tpm/.*.cmd rm -f tf_ulp/ulp_utils.o tf_ulp/.ulp_utils.o.cmd tf_ulp/ulp_template_debug.o tf_ulp/ulp_tf_debug.o tf_ulp/.ulp_template_debug.o.cmd tf_ulp/.ulp_tf_debug.o.cmd tf_ulp/bnxt_tf_ulp.o tf_ulp/ulp_fc_mgr.o tf_ulp/ulp_flow_db.o tf_ulp/ulp_gen_tbl.o tf_ulp/ulp_mapper.o tf_ulp/ulp_mark_mgr.o tf_ulp/ulp_port_db.o tf_ulp/ulp_matcher.o tf_ulp/ulp_def_rules.o tf_ulp/bnxt_ulp_linux_flow.o tf_ulp/ulp_tc_parser.o tf_ulp/ulp_tc_handler_tbl.o tf_ulp/.bnxt_tf_ulp.o.cmd tf_ulp/.ulp_fc_mgr.o.cmd tf_ulp/.ulp_flow_db.o.cmd tf_ulp/.ulp_gen_tbl.o.cmd tf_ulp/.ulp_mapper.o.cmd tf_ulp/.ulp_mark_mgr.o.cmd tf_ulp/.ulp_port_db.o.cmd tf_ulp/.ulp_matcher.o.cmd tf_ulp/.ulp_def_rules.o.cmd tf_ulp/.bnxt_ulp_linux_flow.o.cmd tf_ulp/.ulp_tc_parser.o.cmd tf_ulp/.ulp_tc_handler_tbl.o.cmd tf_ulp/ulp_tc_custom_offload.o tf_ulp/.ulp_tc_custom_offload.o.cmd tf_ulp/ulp_udcc.o tf_ulp/ulp_udcc.o.cmd tf_ulp/ulp_generic_flow_offload.o tf_ulp/.ulp_generic_flow_offload.o.cmd tf_ulp/bnxt_tf_tc_shim.o tf_ulp/.bnxt_tf_tc_shim.o.cmd tf_ulp/ulp_tc_rte_flow_gen.o tf_ulp/.ulp_tc_rte_flow_gen.o.cmd rm -f tf_ulp/*.o tf_ulp/.*.o.cmd rm -f tf_ulp/generic_templates/ulp_template_db_wh_plus_class.o tf_ulp/generic_templates/ulp_template_db_wh_plus_act.o tf_ulp/generic_templates/ulp_template_db_thor_class.o tf_ulp/generic_templates/ulp_template_db_thor_act.o tf_ulp/generic_templates/ulp_template_db_tbl.o tf_ulp/generic_templates/ulp_template_db_class.o tf_ulp/generic_templates/ulp_template_db_act.o tf_ulp/generic_templates/.*.cmd make[1]: Leaving directory '/builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_en-1.10.3-229.0.139.0' make -C bnxt_re clean make[1]: Entering directory '/builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0' Makefile:91: Using native IB stack make -C /usr/src/kernels/5.10.134-17.an8.aarch64/ M=/builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0 clean make[2]: Entering directory '/usr/src/kernels/5.10.134-17.an8.aarch64' /builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/Makefile:91: Using native IB stack make[2]: Leaving directory '/usr/src/kernels/5.10.134-17.an8.aarch64' make[1]: Leaving directory '/builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0' + make KDIR=/usr/src/kernels/5.10.134-17.an8.aarch64/ KVER=5.10.134-17.an8.aarch64 -j32 make -C bnxt_re KVER=5.10.134-17.an8.aarch64 PREFIX= make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0' Makefile:91: Using native IB stack make -C /usr/src/kernels/5.10.134-17.an8.aarch64/ M=/builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0 \ modules make[2]: Entering directory '/usr/src/kernels/5.10.134-17.an8.aarch64' /builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/Makefile:91: Using native IB stack CC [M] /builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/main.o CC [M] /builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/ib_verbs.o CC [M] /builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/debugfs.o CC [M] /builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/compat.o CC [M] /builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/qplib_res.o CC [M] /builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/qplib_rcfw.o CC [M] /builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/qplib_sp.o CC [M] /builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/qplib_fp.o CC [M] /builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/stats.o CC [M] /builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/dcb.o CC [M] /builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/hdbr.o CC [M] /builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/hw_counters.o CC [M] /builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/configfs.o LD [M] /builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/bnxt_re.o /builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/Makefile:91: Using native IB stack WARNING: Symbol version dump "/builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/../bnxt_en/Module.symvers" is missing. Modules may not have dependencies or modversions. MODPOST /builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/Module.symvers ERROR: modpost: "bnxt_hdbr_reg_apg" [/builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/bnxt_re.ko] undefined! ERROR: modpost: "bnxt_hdbr_unreg_apg" [/builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/bnxt_re.ko] undefined! ERROR: modpost: "bnxt_unregister_dev" [/builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/bnxt_re.ko] undefined! ERROR: modpost: "bnxt_send_msg" [/builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/bnxt_re.ko] undefined! ERROR: modpost: "bnxt_register_dev" [/builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/bnxt_re.ko] undefined! ERROR: modpost: "bnxt_dbr_complete" [/builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/bnxt_re.ko] undefined! ERROR: modpost: "bnxt_register_async_events" [/builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/bnxt_re.ko] undefined! make[3]: *** [scripts/Makefile.modpost:124: /builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/Module.symvers] Error 1 make[3]: *** Deleting file '/builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0/Module.symvers' make[2]: *** [Makefile:1738: modules] Error 2 make[2]: Leaving directory '/usr/src/kernels/5.10.134-17.an8.aarch64' make[1]: *** [Makefile:1003: default] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/kmod-bnxt_re-1.10.3_229.0.139.0/bnxt_re-1.10.3-229.0.139.0' make: *** [Makefile:26: build] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.YAc93G (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.YAc93G (%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-bnxt_re.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 612, 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-bnxt_re.spec'