Running autopkgtest locally with dkms 2.8.3-4ubuntu0.1 it gets built:
================================================
autopkgtest [17:04:13]: test dkms-autopkgtest: /usr/lib/dkms/dkms-autopkgtest
autopkgtest [17:04:13]: test dkms-autopkgtest: [-----------------------
I: Removing binary package bcmwl-kernel-source, to get clean state
I: Installing binary package bcmwl-kernel-source
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
bcmwl-kernel-source
0 upgraded, 1 newly installed, 0 to remove and 50 not upgraded.
Need to get 0 B/1551 kB of archives.
After this operation, 8071 kB of additional disk space will be used.
Get:1 file:/tmp/autopkgtest.1cGFPr/binaries bcmwl-kernel-source 6.30.223.271+bdcom-0ubuntu7 [1551 kB]
Selecting previously unselected package bcmwl-kernel-source.
(Reading database ... 121777 files and directories currently installed.)
Preparing to unpack ..././bcmwl-kernel-source.deb ...
Unpacking bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu7) ...
Setting up bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu7) ...
autoinstall for dkms modules has been disabled.
modprobe: FATAL: Module wl not found in directory /lib/modules/5.8.0-44-generic
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.137ubuntu12) ...
update-initramfs: Generating /boot/initrd.img-5.8.0-44-generic
dpkg: dependency problems prevent removal of dkms:
bcmwl-kernel-source depends on dkms.
dpkg: error processing package dkms (--remove):
dependency problems - not removing
Errors were encountered while processing:
dkms
I: Testing binary package bcmwl-kernel-source
I: Trying to build bcmwl/6.30.223.271+bdcom for 5.8.0-41-generic
applying patch 0028-add-support-for-linux-5.6.patch...patching file src/shared/linux_osl.c
Hunk #1 succeeded at 946 (offset 4 lines).
patching file src/wl/sys/wl_linux.c
Hunk #1 succeeded at 590 (offset 8 lines).
Hunk #2 succeeded at 784 (offset 8 lines).
Hunk #3 succeeded at 3365 (offset 22 lines).
Building module:
cleaning build area...
make -j1 KERNELRELEASE=5.8.0-41-generic -C /lib/modules/5.8.0-41-generic/build M=/var/lib/dkms/bcmwl/6.30.223.271+bdcom/build....
Signing module:
- /var/lib/dkms/bcmwl/6.30.223.271+bdcom/5.8.0-41-generic/x86_64/module/wl.ko
EFI variables are not supported on this system
/sys/firmware/efi/efivars not found, aborting.
cleaning build area...
DKMS: build completed.
wl.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.8.0-41-generic/updates/dkms/
depmod...
DKMS: install completed.
I: Testing if bcmwl modules are correctly installed
bcmwl, 6.30.223.271+bdcom, 5.8.0-41-generic, x86_64: installed
================================================
------
backport-iwlwifi-dkms is an example of a package that was already been automatically built before. I have tested it to make sure it didn't regress.
Local test:
================================================
autopkgtest [17:14:04]: test dkms-autopkgtest: [-----------------------
I: Installing binary package backport-iwlwifi-dkms
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
dkms
Suggested packages:
menu
The following NEW packages will be installed:
backport-iwlwifi-dkms dkms
0 upgraded, 2 newly installed, 0 to remove and 50 not upgraded.
Need to get 67.9 kB/1674 kB of archives.
After this operation, 10.6 MB of additional disk space will be used.
Get:1 file:/tmp/autopkgtest.fYMrmy/binaries backport-iwlwifi-dkms 8613-0ubuntu1 [1606 kB]
Get:2 http://archive.ubuntu.com/ubuntu groovy-proposed/main amd64 dkms all 2.8.3-4ubuntu0.1 [67.9 kB]
Fetched 67.9 kB in 0s (317 kB/s)
Selecting previously unselected package dkms.
(Reading database ... 121720 files and directories currently installed.)
Preparing to unpack .../dkms_2.8.3-4ubuntu0.1_all.deb ...
Unpacking dkms (2.8.3-4ubuntu0.1) ...
Selecting previously unselected package backport-iwlwifi-dkms.
Preparing to unpack ..././backport-iwlwifi-dkms.deb ...
Unpacking backport-iwlwifi-dkms (8613-0ubuntu1) ...
Setting up dkms (2.8.3-4ubuntu0.1) ...
Setting up backport-iwlwifi-dkms (8613-0ubuntu1) ...
Loading new backport-iwlwifi-8613 DKMS files...
Building for 5.8.0-44-generic
Building initial module for 5.8.0-44-generic
EFI variables are not supported on this system
/sys/firmware/efi/efivars not found, aborting.
Done.
compat.ko:
Running module version sanity check.
Module has been obsoleted due to being included
in kernel 5.4.0. We will avoid installing
for future kernels above 5.4.0.
You may override by specifying --force.
iwlwifi.ko:
Running module version sanity check.
Module has been obsoleted due to being included
in kernel 5.4.0. We will avoid installing
for future kernels above 5.4.0.
You may override by specifying --force.
iwlxvt.ko:
Running module version sanity check.
Module has been obsoleted due to being included
in kernel 5.4.0. We will avoid installing
for future kernels above 5.4.0.
You may override by specifying --force.
iwlmvm.ko:
Running module version sanity check.
Module has been obsoleted due to being included
in kernel 5.4.0. We will avoid installing
for future kernels above 5.4.0.
You may override by specifying --force.
mac80211.ko:
Running module version sanity check.
Module has been obsoleted due to being included
in kernel 5.4.0. We will avoid installing
for future kernels above 5.4.0.
You may override by specifying --force.
cfg80211.ko:
Running module version sanity check.
Module has been obsoleted due to being included
in kernel 5.4.0. We will avoid installing
for future kernels above 5.4.0.
You may override by specifying --force.
depmod...
DKMS: install completed.
Processing triggers for man-db (2.9.3-2) ...
I: Testing binary package backport-iwlwifi-dkms
I: Testing if backport-iwlwifi modules are correctly installed
backport-iwlwifi, 8613, 5.8.0-44-generic, x86_64: installed (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!)
I: Checking modaliases for /var/lib/dkms/backport-iwlwifi/8613/5.8.0-44-generic/x86_64/module ...
================================================
Verification results for groovy:
bcmwl is an example of a package that is not currently being built automatically: /objectstorage. prodstack4- 5.canonical. com/v1/ AUTH_77e2ada1e7 a84929a74ba3b87 153c0ac/ autopkgtest- groovy/ groovy/ amd64/b/ bcmwl/20210210_ 143008_ c07d5@/ log.gz
https:/
Running autopkgtest locally with dkms 2.8.3-4ubuntu0.1 it gets built: ======= ======= ======= ======= ======= ====== dkms/dkms- autopkgtest ------- ------- --- source, to get clean state kernel- source autopkgtest. 1cGFPr/ binaries bcmwl-kernel-source 6.30.223. 271+bdcom- 0ubuntu7 [1551 kB] source. kernel- source. deb ... 271+bdcom- 0ubuntu7) ... 271+bdcom- 0ubuntu7) ... 5.8.0-44- generic img-5.8. 0-44-generic kernel- source depends on dkms.
=======
autopkgtest [17:04:13]: test dkms-autopkgtest: /usr/lib/
autopkgtest [17:04:13]: test dkms-autopkgtest: [------
I: Removing binary package bcmwl-kernel-
I: Installing binary package bcmwl-kernel-source
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
bcmwl-
0 upgraded, 1 newly installed, 0 to remove and 50 not upgraded.
Need to get 0 B/1551 kB of archives.
After this operation, 8071 kB of additional disk space will be used.
Get:1 file:/tmp/
Selecting previously unselected package bcmwl-kernel-
(Reading database ... 121777 files and directories currently installed.)
Preparing to unpack ..././bcmwl-
Unpacking bcmwl-kernel-source (6.30.223.
Setting up bcmwl-kernel-source (6.30.223.
autoinstall for dkms modules has been disabled.
modprobe: FATAL: Module wl not found in directory /lib/modules/
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.137ubuntu12) ...
update-initramfs: Generating /boot/initrd.
dpkg: dependency problems prevent removal of dkms:
bcmwl-
dpkg: error processing package dkms (--remove): 30.223. 271+bdcom for 5.8.0-41-generic
dependency problems - not removing
Errors were encountered while processing:
dkms
I: Testing binary package bcmwl-kernel-source
I: Trying to build bcmwl/6.
Creating symlink /var/lib/ dkms/bcmwl/ 6.30.223. 271+bdcom/ source ->
/usr/ src/bcmwl- 6.30.223. 271+bdcom
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping... patch.. .patching file Makefile
applying patch 0002-Makefile.
Hunk #1 succeeded at 113 with fuzz 1.
Hunk #2 succeeded at 132 with fuzz 2 (offset 1 line).
applying patch 0003-Make- up-for- missing- init_MUTEX. patch.. .patching file src/wl/ sys/wl_ linux.c
Hunk #1 succeeded at 111 with fuzz 2 (offset 12 lines).
applying patch 0010-change- the-network- interface- name-from- eth-to- wlan.patch. ..patching file src/wl/ sys/wl_ linux.c
Hunk #1 succeeded at 221 (offset -14 lines).
applying patch 0013-gcc. patch.. .patching file Makefile
applying patch 0019-broadcom- sta-6.30. 223.248- 3.18-null- pointer- fix.patch. ..patching file src/wl/ sys/wl_ linux.c
Hunk #1 succeeded at 2169 (offset 12 lines).
applying patch 0020-add- support- for-linux- 4.3.patch. ..patching file src/shared/ linux_osl. c
applying patch 0021-add- support- for-Linux- 4.7.patch. ..patching file src/wl/ sys/wl_ cfg80211_ hybrid. c
applying patch 0022-add- support- for-Linux- 4.8.patch. ..patching file src/wl/ sys/wl_ cfg80211_ hybrid. c
Hunk #1 succeeded at 2391 (offset 3 lines).
Hunk #2 succeeded at 2501 (offset 3 lines).
Hunk #3 succeeded at 2933 (offset 9 lines).
applying patch 0023-add- support- for-Linux- 4.11.patch. ..patching file src/include/ linuxver. h sys/wl_ linux.c
patching file src/wl/
Hunk #1 succeeded at 2919 (offset 4 lines).
applying patch 0024-add- support- for-Linux- 4.12.patch. ..patching file src/wl/ sys/wl_ cfg80211_ hybrid. c
Hunk #1 succeeded at 55 (offset 5 lines).
Hunk #2 succeeded at 472 (offset 5 lines).
Hunk #3 succeeded at 2371 (offset 5 lines).
Hunk #4 succeeded at 2388 (offset 5 lines).
applying patch 0025-add- support- for-Linux- 4.14.patch. ..patching file src/shared/ linux_osl. c
Hunk #1 succeeded at 1080 (offset 4 lines).
applying patch 0026-add- support- for-Linux- 4.15.patch. ..patching file src/wl/ sys/wl_ linux.c
Hunk #2 succeeded at 2306 (offset 4 lines).
Hunk #3 succeeded at 2368 (offset 4 lines).
applying patch 0027-add- support- for-linux- 5.1.patch. ..patching file src/include/ linuxver. h
Hunk #1 succeeded at 595 (offset 4 lines).
applying patch 0028-add- support- for-linux- 5.6.patch. ..patching file src/shared/ linux_osl. c sys/wl_ linux.c
Hunk #1 succeeded at 946 (offset 4 lines).
patching file src/wl/
Hunk #1 succeeded at 590 (offset 8 lines).
Hunk #2 succeeded at 784 (offset 8 lines).
Hunk #3 succeeded at 3365 (offset 22 lines).
Building module: 5.8.0-41- generic -C /lib/modules/ 5.8.0-41- generic/ build M=/var/ lib/dkms/ bcmwl/6. 30.223. 271+bdcom/ build.. .. dkms/bcmwl/ 6.30.223. 271+bdcom/ 5.8.0-41- generic/ x86_64/ module/ wl.ko efi/efivars not found, aborting.
cleaning build area...
make -j1 KERNELRELEASE=
Signing module:
- /var/lib/
EFI variables are not supported on this system
/sys/firmware/
cleaning build area...
DKMS: build completed.
wl.ko: 5.8.0-41- generic/ updates/ dkms/
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/
depmod...
DKMS: install completed. ======= ======= ======= ======= ======= ======
I: Testing if bcmwl modules are correctly installed
bcmwl, 6.30.223.271+bdcom, 5.8.0-41-generic, x86_64: installed
=======
It can also be verified by the automatic triggered test: /objectstorage. prodstack4- 5.canonical. com/v1/ AUTH_77e2ada1e7 a84929a74ba3b87 153c0ac/ autopkgtest- groovy/ groovy/ amd64/b/ bcmwl/20210217_ 172610_ 32bee@/ log.gz
https:/
------ iwlwifi- dkms is an example of a package that was already been automatically built before. I have tested it to make sure it didn't regress.
backport-
Automatically triggered tests: /objectstorage. prodstack4- 5.canonical. com/v1/ AUTH_77e2ada1e7 a84929a74ba3b87 153c0ac/ autopkgtest- groovy/ groovy/ amd64/b/ backport- iwlwifi- dkms/20210217_ 172252_ 8f092@/ log.gz
https:/
Local test: ======= ======= ======= ======= ======= ====== ------- ------- --- iwlwifi- dkms iwlwifi- dkms dkms autopkgtest. fYMrmy/ binaries backport- iwlwifi- dkms 8613-0ubuntu1 [1606 kB] archive. ubuntu. com/ubuntu groovy- proposed/ main amd64 dkms all 2.8.3-4ubuntu0.1 [67.9 kB] 2.8.3-4ubuntu0. 1_all.deb ... iwlwifi- dkms. iwlwifi- dkms.deb ... iwlwifi- dkms (8613-0ubuntu1) ... iwlwifi- dkms (8613-0ubuntu1) ... iwlwifi- 8613 DKMS files... efi/efivars not found, aborting.
=======
autopkgtest [17:14:04]: test dkms-autopkgtest: [------
I: Installing binary package backport-
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
dkms
Suggested packages:
menu
The following NEW packages will be installed:
backport-
0 upgraded, 2 newly installed, 0 to remove and 50 not upgraded.
Need to get 67.9 kB/1674 kB of archives.
After this operation, 10.6 MB of additional disk space will be used.
Get:1 file:/tmp/
Get:2 http://
Fetched 67.9 kB in 0s (317 kB/s)
Selecting previously unselected package dkms.
(Reading database ... 121720 files and directories currently installed.)
Preparing to unpack .../dkms_
Unpacking dkms (2.8.3-4ubuntu0.1) ...
Selecting previously unselected package backport-
Preparing to unpack ..././backport-
Unpacking backport-
Setting up dkms (2.8.3-4ubuntu0.1) ...
Setting up backport-
Loading new backport-
Building for 5.8.0-44-generic
Building initial module for 5.8.0-44-generic
EFI variables are not supported on this system
/sys/firmware/
Done.
compat.ko:
Running module version sanity check.
Module has been obsoleted due to being included
in kernel 5.4.0. We will avoid installing
for future kernels above 5.4.0.
You may override by specifying --force.
iwlwifi.ko:
Running module version sanity check.
Module has been obsoleted due to being included
in kernel 5.4.0. We will avoid installing
for future kernels above 5.4.0.
You may override by specifying --force.
iwlxvt.ko:
Running module version sanity check.
Module has been obsoleted due to being included
in kernel 5.4.0. We will avoid installing
for future kernels above 5.4.0.
You may override by specifying --force.
iwlmvm.ko:
Running module version sanity check.
Module has been obsoleted due to being included
in kernel 5.4.0. We will avoid installing
for future kernels above 5.4.0.
You may override by specifying --force.
mac80211.ko:
Running module version sanity check.
Module has been obsoleted due to being included
in kernel 5.4.0. We will avoid installing
for future kernels above 5.4.0.
You may override by specifying --force.
cfg80211.ko:
Running module version sanity check.
Module has been obsoleted due to being included
in kernel 5.4.0. We will avoid installing
for future kernels above 5.4.0.
You may override by specifying --force.
depmod...
DKMS: install completed. iwlwifi- dkms dkms/backport- iwlwifi/ 8613/5. 8.0-44- generic/ x86_64/ module ... ======= ======= ======= ======= ======= ======
Processing triggers for man-db (2.9.3-2) ...
I: Testing binary package backport-
I: Testing if backport-iwlwifi modules are correctly installed
backport-iwlwifi, 8613, 5.8.0-44-generic, x86_64: installed (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!)
I: Checking modaliases for /var/lib/
=======