Public bug reported:

Whenever we try to build the dkms package for a kernel that is not
running, it will fail.

# uname -r                                          
4.20.0-0-generic
# dkms build rtl8812au/4.3.8.12175.20140902+dfsg -k 4.18.0-11-generic
Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' all...(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.18.0-11-generic (x86_64)
Consult /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/make.log for 
more information.
# head /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/make.log
DKMS make.log for rtl8812au-4.3.8.12175.20140902+dfsg for kernel 
4.18.0-11-generic (x86_64)
Fri Nov 23 13:41:47 UTC 2018
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.20.0-0-generic/build 
M=/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build  modules
make[1]: *** /lib/modules/4.20.0-0-generic/build: No such file or directory.  
Stop.
Makefile:1457: recipe for target 'modules' failed
make: *** [modules] Error 2

** Affects: rtl8812au (Ubuntu)
     Importance: Medium
     Assignee: Canonical Kernel Team (canonical-kernel-team)
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1804832

Title:
  dkms will not build for correct kernel, only running one

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rtl8812au/+bug/1804832/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to