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/kmod-i40e.spec'], chrootPath='/var/lib/mock/dist-an23-kernel-5.10.134-17-build-389098-71967/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jcq120lg:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jcq120lg:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a02eede5121a4c778d6ca30f5ce898b8', '-D', '/var/lib/mock/dist-an23-kernel-5.10.134-17-build-389098-71967/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jcq120lg:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/kmod-i40e.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: Macro expanded in comment on line 23: %define pciids %find %{_pciids} Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721260800 Wrote: /builddir/build/SRPMS/kmod-i40e-5.10.134~17-2.23.17~11.an23.src.rpm RPM build warnings: Macro expanded in comment on line 23: %define pciids %find %{_pciids} Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/kmod-i40e.spec'], chrootPath='/var/lib/mock/dist-an23-kernel-5.10.134-17-build-389098-71967/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jcq120lg:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jcq120lg:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '60def41b014d416496df96b3371d9ad2', '-D', '/var/lib/mock/dist-an23-kernel-5.10.134-17-build-389098-71967/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jcq120lg:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/kmod-i40e.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: Macro expanded in comment on line 23: %define pciids %find %{_pciids} Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1721260800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FjkFCF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kmod-i40e-2.23.17 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/kmod-i40e-2.23.17.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd kmod-i40e-2.23.17 + /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.lhZomX + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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-i40e-2.23.17 + make -C src KSRC=/usr/src/kernels/5.10.134-17.an23.x86_64/ clean make: Entering directory '/builddir/build/BUILD/kmod-i40e-2.23.17/src' filtering include/net/flow_keys.h out filtering include/linux/jump_label_type.h out filtering include/linux/jump_label_type.h out 1 /* Autogenerated for KSRC=/usr/src/kernels/5.10.134-17.an23.x86_64/ via kcompat-generator.sh */ 2 #define HAVE_DEVLINK_FLASH_UPDATE_BEGIN_END_NOTIFY 3 #define HAVE_DEVLINK_FLASH_UPDATE_PARAMS 4 #define HAVE_DEVLINK_HEALTH 5 #define HAVE_DEVLINK_HEALTH_DEFAULT_AUTO_RECOVER 6 #define HAVE_DEVLINK_HEALTH_OPS_EXTACK 7 #define HAVE_DEVLINK_INFO_DRIVER_NAME_PUT 8 #define HAVE_DEVLINK_PARAMS 9 #define HAVE_DEVLINK_PARAMS_PUBLISH 10 #define HAVE_DEVLINK_PORT_NEW 11 #define HAVE_DEVLINK_PORT_SPLIT 12 #define HAVE_DEVLINK_PORT_SPLIT_EXTACK 13 #define HAVE_DEVLINK_PORT_TYPE_ETH_HAS_NETDEV 14 #define HAVE_DEVLINK_REGIONS 15 #define HAVE_DEVLINK_REGION_OPS_SNAPSHOT 16 #define HAVE_DEVLINK_REGION_OPS_SNAPSHOT_OPS 17 #define HAVE_DEVLINK_REGISTER_SETS_DEV 18 #define HAVE_DEVLINK_RELOAD_ENABLE_DISABLE 19 #define HAVE_DEVLINK_PORT_FLAVOUR_PCI_SF 20 #define HAVE_DEVLINK_RELOAD_ACTION_AND_LIMIT 21 #define NEED_DEVLINK_RESOURCES_UNREGISTER_NO_RESOURCE 22 #define NEED_DEVLINK_TO_DEV 23 #define NEED_DEVLINK_UNLOCKED_RESOURCE 24 #define HAVE_NDO_FDB_ADD_VID 25 #define HAVE_NDO_GET_DEVLINK_PORT 26 #define HAVE_NDO_UDP_TUNNEL_CALLBACK 27 #define NEED_NETIF_NAPI_ADD_NO_WEIGHT 28 #define HAVE_ETHTOOL_FLOW_RSS 29 #define HAVE_XDP_DO_FLUSH 30 #define NEED_NO_NETDEV_PROG_XDP_WARN_ACTION 31 #define HAVE_FLOW_DISSECTOR_KEY_CVLAN 32 #define HAVE_CDEV_DEVICE 33 #define HAVE_POLL_T 34 #define HAVE_STREAM_OPEN 35 #define NEED_CLASS_CREATE_WITH_MODULE_PARAM 36 #define NEED_CLASS_CREATE_WITH_MODULE_PARAM 37 #define HAVE_GNSS_MODULE 38 #define HAVE_STRUCT_PCI_DEV_PTM_ENABLED 39 #define NEED_PCIE_PTM_ENABLED 40 #define HAVE_COMPLETION_RAW_SPINLOCK 41 #define NEED_DEBUGFS_LOOKUP_AND_REMOVE 42 #define NEED_ETH_HW_ADDR_SET 43 #define HAVE_IOMMU_DEV_FEAT_AUX 44 #define HAVE_STRUCT_STATIC_KEY_FALSE 45 #define HAVE_MDEV_GET_DRVDATA 46 #define NEED_DIFF_BY_SCALED_PPM 47 #define NEED_DEV_PAGE_IS_REUSABLE 48 #define HAVE_TRACE_ENABLED_SUPPORT 49 #define HAVE_U64_STATS_FETCH_BEGIN_IRQ 50 #define HAVE_U64_STATS_FETCH_RETRY_IRQ 51 #define HAVE_LMV1_SUPPORT make: Leaving directory '/builddir/build/BUILD/kmod-i40e-2.23.17/src' + make -C src KSRC=/usr/src/kernels/5.10.134-17.an23.x86_64/ -j32 make: Entering directory '/builddir/build/BUILD/kmod-i40e-2.23.17/src' filtering include/net/flow_keys.h out filtering include/linux/jump_label_type.h out filtering include/linux/jump_label_type.h out make: Leaving directory '/builddir/build/BUILD/kmod-i40e-2.23.17/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hTJzDN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/kmod-i40e-5.10.134~17-2.23.17~11.an23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/kmod-i40e-5.10.134~17-2.23.17~11.an23.x86_64 ++ dirname /builddir/build/BUILDROOT/kmod-i40e-5.10.134~17-2.23.17~11.an23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/kmod-i40e-5.10.134~17-2.23.17~11.an23.x86_64 + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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-i40e-2.23.17 + mkdir -p /builddir/build/BUILDROOT/kmod-i40e-5.10.134~17-2.23.17~11.an23.x86_64/lib/modules/5.10.134-17.an23.x86_64/extra/drivers/net/ethernet/intel/i40e + make -C src INSTALL_MOD_PATH=/builddir/build/BUILDROOT/kmod-i40e-5.10.134~17-2.23.17~11.an23.x86_64 MANDIR=/usr/share/man INSTALL_MOD_DIR=/extra/drivers/net/ethernet/intel/i40e/ modules_install_no_aux mandocs_install make: Entering directory '/builddir/build/BUILD/kmod-i40e-2.23.17/src' common.mk:73: *** Kernel header files not in any of the expected locations. common.mk:74: *** Install the appropriate kernel development package, e.g. common.mk:75: *** kernel-devel, for building kernel modules and try again. Stop. make: Leaving directory '/builddir/build/BUILD/kmod-i40e-2.23.17/src' RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.hTJzDN (%install) Macro expanded in comment on line 23: %define pciids %find %{_pciids} Bad exit status from /var/tmp/rpm-tmp.hTJzDN (%install) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 60def41b014d416496df96b3371d9ad2 -D /var/lib/mock/dist-an23-kernel-5.10.134-17-build-389098-71967/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.jcq120lg:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/kmod-i40e.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: # /usr/bin/systemd-nspawn -q -M 60def41b014d416496df96b3371d9ad2 -D /var/lib/mock/dist-an23-kernel-5.10.134-17-build-389098-71967/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.jcq120lg:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/kmod-i40e.spec'