DKMS error in upgrade
I ran pacman -Scc and pacman -Syy ... just for fun and maybe brokem the DKMS on the upgrade
(2/4) Install DKMS modules
==> dkms install e1000e/3.3.6 -k 4.15.9-1-ARTIX
Error! Bad return status for module build on kernel: 4.15.9-1-ARTIX (x86_64)
Consult /var/lib/dkms/e1000e/3.3.6/build/make.log for more information.
Now I am lost in the wood. Maybe these aren't related things and the upgrade just has a bug.
vim /var/lib/dkms/e1000e/3.3.6/build/make.log
DKMS make.log for e1000e-3.3.6 for kernel 4.15.9-1-ARTIX (x86_64)
Wed Mar 14 22:29:34 EDT 2018
make -C /lib/modules/4.15.9-1-ARTIX/build CC=gcc SUBDIRS=/var/lib/dkms/e1000e/3.3.6/build modules
make[1]: Entering directory '/usr/lib/modules/4.15.9-1-ARTIX/build'
CC [M] /var/lib/dkms/e1000e/3.3.6/build/netdev.o
/var/lib/dkms/e1000e/3.3.6/build/netdev.c: In function ‘e1000_probe’:
/var/lib/dkms/e1000e/3.3.6/build/netdev.c:8328:2: error: implicit declaration of function ‘init_timer’; did you mean ‘init_timers’? [-Werror=implicit-function-declaration]
init_timer(&adapter->watchdog_timer);
^~~~~~~~~~
init_timers
/var/lib/dkms/e1000e/3.3.6/build/netdev.c:8329:35: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
adapter->watchdog_timer.function = e1000_watchdog;
^
/var/lib/dkms/e1000e/3.3.6/build/netdev.c:8330:25: error: ‘struct timer_list’ has no member named ‘data’
adapter->watchdog_timer.data = (unsigned long)adapter;
^
/var/lib/dkms/e1000e/3.3.6/build/netdev.c:8333:35: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
adapter->phy_info_timer.function = e1000_update_phy_info;
^
/var/lib/dkms/e1000e/3.3.6/build/netdev.c:8334:25: error: ‘struct timer_list’ has no member named ‘data’
adapter->phy_info_timer.data = (unsigned long)adapter;
^
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:317: /var/lib/dkms/e1000e/3.3.6/build/netdev.o] Error 1
make[1]: *** [Makefile:1510: _module_/var/lib/dkms/e1000e/3.3.6/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/4.15.9-1-ARTIX/build'
make: *** [Makefile:256: default] Error 2