** Description changed:

+ [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_EXCLUSIVE_KERNEL' directive to the dkms config file to build the
+ modules only on pre-5.4 (and including) kernels.
+ 
+ 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/dkms/ndiswrapper/1.60/5.8.0-25-generic/x86_64/dkms.conf 
for module ndiswrapper includes a BUILD_EXCLUSIVE directive which
+ 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://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/amd64/n/ndiswrapper/20201016_100835_ea657@/log.gz
+     amd64: 
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/amd64/n/ndiswrapper/20201016_100835_ea657@/log.gz

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

Title:
  ndiswrapper 1.60-8ubuntu2 fails to build on Focal with linux-hwe-5.8

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

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

Reply via email to