ndiswrapper 1.60-8ubuntu2 fails to build on Focal with linux-hwe-5.8
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ndiswrapper (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Kleber Sacilotto de Souza |
Bug Description
[SRU Justification]
Impact: ndiswrapper-dkms modules fail to build on Focal with the linux-hwe-5.8 kernel. (see attached make.log for details).
Fix: ndiswrapper has been deprecated on Groovy and this package is not shipped anymore. This is a very old project and we don't expect the owners of modern hardware running the 5.8 kernels to ever need to load any NDIS Windows drivers in order to make their network adapter to work. Therefore, it's not worth the effort to maintain the dkms modules on Focal for the HWE kernels. In this case, the fix is to add a 'BUILD_
Testcase: install the ndiswrapper-dkms package on Focal with both linux-generic 5.4 and linux-hwe-5.8. With 5.4 the modules are still built and installed, with linux-hwe-5.8 the module is not built but the package installation is still successful:
Building initial module for 5.8.0-25-generic
Error! The /var/lib/
does not match this kernel/arch. This indicates that it should not be built.
Skipped.
Processing triggers for man-db (2.9.1-1) ...
I: Package ndiswrapper-dkms excluded by BUILD_EXCLUSIVE directive, skipping
autopkgtest: DBG: testbed command exited with code 0
Regression potential: the regression potential for 5.4 kernel users is low, it would happen only if the regex is wrong in a way that would prevent the modules to be built. For users that have linux-*-hwe-20.04 currently installed, which is still a 5.4 kernel, the ndiswrapper module will stop working once the meta package switches to the 5.8 and newer kernels, however this is expected as stated under the 'Fix' section.
-----
Testing failed on:
amd64: https:/
description: | updated |
The proposed update adds a 'BUILD_ EXCLUSIVE_ KERNEL' directive to the dkms config file to build the modules only on 5.4 (including) and older kernels.
These changes have been tested as described on the 'Testcase' section of the bug description.
The source package can be found at https:/ /kernel. ubuntu. com/~ksouza/ lp1903549/, the binary build at https:/ /launchpad. net/~kleber- souza/+ archive/ ubuntu/ ppa/+build/ 20273993.