[root@localhost Downloads]# rpmbuild -tb e1000e-3.8.4.tar.gz warning: Macro expanded in comment on line 15: %define debug_package %{nil} Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.t20Qxk + umask 022 + cd /root/rpmbuild/BUILD + cd /root/rpmbuild/BUILD + rm -rf e1000e-3.8.4 + /usr/bin/tar -xvvof - + /usr/bin/gzip -dc /home/fae/Downloads/e1000e-3.8.4.tar.gz drwxr-xr-x root/root 0 2020-03-15 16:19 e1000e-3.8.4/ drwxr-xr-x root/root 0 2020-03-15 16:19 e1000e-3.8.4/src/ -rw-r--r-- root/root 12630 2020-03-15 16:19 e1000e-3.8.4/src/common.mk -rw-r--r-- root/root 4887 2020-03-15 16:19 e1000e-3.8.4/src/Makefile -rw-r--r-- root/root 37560 2020-03-15 16:19 e1000e-3.8.4/src/80003es2lan.c -rw-r--r-- root/root 2558 2020-03-15 16:19 e1000e-3.8.4/src/80003es2lan.h -rw-r--r-- root/root 55499 2020-03-15 16:19 e1000e-3.8.4/src/82571.c -rw-r--r-- root/root 1088 2020-03-15 16:19 e1000e-3.8.4/src/82571.h -rw-r--r-- root/root 34140 2020-03-15 16:19 e1000e-3.8.4/src/defines.h -rw-r--r-- root/root 19740 2020-03-15 16:19 e1000e-3.8.4/src/e1000.h -rw-r--r-- root/root 79328 2020-03-15 16:19 e1000e-3.8.4/src/ethtool.c -rw-r--r-- root/root 18524 2020-03-15 16:19 e1000e-3.8.4/src/hw.h -rw-r--r-- root/root 166996 2020-03-15 16:19 e1000e-3.8.4/src/ich8lan.c -rw-r--r-- root/root 12793 2020-03-15 16:19 e1000e-3.8.4/src/ich8lan.h -rw-r--r-- root/root 62695 2020-03-15 16:19 e1000e-3.8.4/src/kcompat.c -rw-r--r-- root/root 216937 2020-03-15 16:19 e1000e-3.8.4/src/kcompat.h -rw-r--r-- root/root 28560 2020-03-15 16:19 e1000e-3.8.4/src/kcompat_ethtool.c -rw-r--r-- root/root 9971 2020-03-15 16:19 e1000e-3.8.4/src/kcompat_overflow.h -rw-r--r-- root/root 52817 2020-03-15 16:19 e1000e-3.8.4/src/mac.c -rw-r--r-- root/root 2414 2020-03-15 16:19 e1000e-3.8.4/src/mac.h -rw-r--r-- root/root 8667 2020-03-15 16:19 e1000e-3.8.4/src/manage.c -rw-r--r-- root/root 1433 2020-03-15 16:19 e1000e-3.8.4/src/manage.h -rw-r--r-- root/root 259840 2020-03-15 16:19 e1000e-3.8.4/src/netdev.c -rw-r--r-- root/root 14920 2020-03-15 16:19 e1000e-3.8.4/src/nvm.c -rw-r--r-- root/root 830 2020-03-15 16:19 e1000e-3.8.4/src/nvm.h -rw-r--r-- root/root 15732 2020-03-15 16:19 e1000e-3.8.4/src/param.c -rw-r--r-- root/root 88424 2020-03-15 16:19 e1000e-3.8.4/src/phy.c -rw-r--r-- root/root 9678 2020-03-15 16:19 e1000e-3.8.4/src/phy.h -rw-r--r-- root/root 10483 2020-03-15 16:19 e1000e-3.8.4/src/ptp.c -rw-r--r-- root/root 14181 2020-03-15 16:19 e1000e-3.8.4/src/regs.h -rw-r--r-- root/root 19 2020-03-15 16:19 e1000e-3.8.4/src/Module.supported -rw-r--r-- root/root 17816 2020-03-15 16:19 e1000e-3.8.4/COPYING -rw-r--r-- root/root 30648 2020-03-15 16:19 e1000e-3.8.4/README -rw-r--r-- root/root 5513 2020-03-15 16:19 e1000e-3.8.4/pci.updates -rw-r--r-- root/root 11539 2020-03-15 16:19 e1000e-3.8.4/e1000e.7 -rw-r--r-- root/root 9543 2020-03-15 16:19 e1000e-3.8.4/e1000e.spec -rw-r--r-- root/root 846 2020-03-15 16:19 e1000e-3.8.4/SUMS + STATUS=0 + '[' 0 -ne 0 ']' + cd e1000e-3.8.4 + /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.WaOeKd + umask 022 + cd /root/rpmbuild/BUILD + cd e1000e-3.8.4 + make -C src clean make: Entering directory '/root/rpmbuild/BUILD/e1000e-3.8.4/src' *** The target kernel has CONFIG_MODULE_SIG_ALL enabled, but *** the signing key cannot be found. Module signing has been *** disabled for this build. make[1]: Entering directory '/usr/src/kernels/5.14.0-284.11.1.el9_2.x86_64' make[1]: Leaving directory '/usr/src/kernels/5.14.0-284.11.1.el9_2.x86_64' make: Leaving directory '/root/rpmbuild/BUILD/e1000e-3.8.4/src' + make -C src make: Entering directory '/root/rpmbuild/BUILD/e1000e-3.8.4/src' *** The target kernel has CONFIG_MODULE_SIG_ALL enabled, but *** the signing key cannot be found. Module signing has been *** disabled for this build. make[1]: Entering directory '/usr/src/kernels/5.14.0-284.11.1.el9_2.x86_64' CC [M] /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.o In file included from /root/rpmbuild/BUILD/e1000e-3.8.4/src/e1000.h:14, from /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c:30: /root/rpmbuild/BUILD/e1000e-3.8.4/src/kcompat.h: In function '__kc_xdp_umem_get_data': /root/rpmbuild/BUILD/e1000e-3.8.4/src/kcompat.h:6696:22: error: 'struct xdp_umem' has no member named 'pages'; did you mean 'pgs'? 6696 | return umem->pages[addr >> PAGE_SHIFT].addr + (addr & (PAGE_SIZE - 1)); | ^~~~~ | pgs /root/rpmbuild/BUILD/e1000e-3.8.4/src/kcompat.h: In function '__kc_xdp_umem_get_dma': /root/rpmbuild/BUILD/e1000e-3.8.4/src/kcompat.h:6704:22: error: 'struct xdp_umem' has no member named 'pages'; did you mean 'pgs'? 6704 | return umem->pages[addr >> PAGE_SHIFT].dma + (addr & (PAGE_SIZE - 1)); | ^~~~~ | pgs /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c: In function 'e1000_configure_rx': /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c:3714:17: error: implicit declaration of function 'pm_qos_update_request'; did you mean 'freq_qos_update_request'? [-Werror=implicit-function-declaration] 3714 | pm_qos_update_request(&adapter->pm_qos_req, lat); | ^~~~~~~~~~~~~~~~~~~~~ | freq_qos_update_request /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c: In function 'e1000e_open': /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c:5189:9: error: implicit declaration of function 'pm_qos_add_request'; did you mean 'freq_qos_add_request'? [-Werror=implicit-function-declaration] 5189 | pm_qos_add_request(&adapter->pm_qos_req, PM_QOS_CPU_DMA_LATENCY, | ^~~~~~~~~~~~~~~~~~ | freq_qos_add_request /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c:5189:50: error: 'PM_QOS_CPU_DMA_LATENCY' undeclared (first use in this function) 5189 | pm_qos_add_request(&adapter->pm_qos_req, PM_QOS_CPU_DMA_LATENCY, | ^~~~~~~~~~~~~~~~~~~~~~ /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c:5189:50: note: each undeclared identifier is reported only once for each function it appears in /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c:5243:9: error: implicit declaration of function 'pm_qos_remove_request'; did you mean 'freq_qos_remove_request'? [-Werror=implicit-function-declaration] 5243 | pm_qos_remove_request(&adapter->pm_qos_req); | ^~~~~~~~~~~~~~~~~~~~~ | freq_qos_remove_request /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c: In function 'e1000_io_slot_reset': /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c:8100:9: error: implicit declaration of function 'pci_cleanup_aer_uncorrect_error_status' [-Werror=implicit-function-declaration] 8100 | pci_cleanup_aer_uncorrect_error_status(pdev); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c: In function 'e1000_probe': /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c:8465:9: error: too many arguments to function 'netif_napi_add' 8465 | netif_napi_add(netdev, &adapter->napi, e1000e_poll, 64); | ^~~~~~~~~~~~~~ In file included from /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c:13: ./include/linux/netdevice.h:2519:1: note: declared here 2519 | netif_napi_add(struct net_device *dev, struct napi_struct *napi, | ^~~~~~~~~~~~~~ /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c: In function 'e1000e_set_interrupt_capability': /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c:2315:35: warning: this statement may fall through [-Wimplicit-fallthrough=] 2315 | adapter->int_mode = E1000E_INT_MODE_MSI; /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c:2317:9: note: here 2317 | case E1000E_INT_MODE_MSI: | ^~~~ /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c: In function 'e1000e_reset': /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c:4543:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 4543 | if (adapter->netdev->mtu > ETH_DATA_LEN) { | ^ /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c:4551:9: note: here 4551 | default: | ^~~~~~~ /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c: In function 'e1000_setup_rctl': /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c:3566:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 3566 | psrctl |= PAGE_SIZE << E1000_PSRCTL_BSIZE3_SHIFT; /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c:3568:17: note: here 3568 | case 2: | ^~~~ /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c:3569:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 3569 | psrctl |= PAGE_SIZE << E1000_PSRCTL_BSIZE2_SHIFT; /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c:3571:17: note: here 3571 | case 1: | ^~~~ /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c: In function '__e1000e_disable_aspm': /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c:7554:31: warning: this statement may fall through [-Wimplicit-fallthrough=] 7554 | aspm_dis_mask |= PCI_EXP_LNKCTL_ASPM_L0S; /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.c:7556:9: note: here 7556 | case PCIE_LINK_STATE_L1: | ^~~~ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:321: /root/rpmbuild/BUILD/e1000e-3.8.4/src/netdev.o] Error 1 make[1]: *** [Makefile:1923: /root/rpmbuild/BUILD/e1000e-3.8.4/src] Error 2 make[1]: Leaving directory '/usr/src/kernels/5.14.0-284.11.1.el9_2.x86_64' make: *** [Makefile:73: default] Error 2 make: Leaving directory '/root/rpmbuild/BUILD/e1000e-3.8.4/src' error: Bad exit status from /var/tmp/rpm-tmp.WaOeKd (%build) RPM build errors: Macro expanded in comment on line 15: %define debug_package %{nil} Bad exit status from /var/tmp/rpm-tmp.WaOeKd (%build) [root@localhost Downloads]#