Public bug reported:

Hello,

I got this error today during 'sudo apt upgrade' on Ubuntu 24.04.3 LTS.

I have installed the wifi card driver in question via Additional
Drivers, in October 2025.

--------------------

/var/crash/broadcom-sta-dkms.0.crash:

ProblemType: Package
DKMSBuildLog:
 DKMS make.log for broadcom-sta-6.30.223.271 for kernel 6.17.0-14-generic 
(x86_64)
 2026-02-06T23:48:51 CET
 CFG80211 API is prefered for this kernel version
 Makefile:91: Neither CFG80211 nor Wireless Extension is enabled in kernel
 KBUILD_NOPEDANTIC=1 make -C /lib/modules/6.17.0-14-generic/build M=`pwd`
 make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make 
rule.
 make[1]: Entering directory '/usr/src/linux-headers-6.17.0-14-generic'
 make[2]: Entering directory '/var/lib/dkms/broadcom-sta/6.30.223.271/build'
 warning: the compiler differs from the one used to build the kernel
   The kernel was built by: x86_64---------------------linux-gnu-gcc-13 (Ubuntu 
13.3.0-6ubuntu2~24.04) 13.3.0
   You are using:           gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
 CFG80211 API is prefered for this kernel version
 Using CFG80211 API
 Kernel architecture is X86_64
   CC [M]  src/shared/linux_osl.o
 src/shared/linux_osl.c:23:10: fatal error: typedefs.h: No such file or 
directory
    23 | #include <typedefs.h>
       |          ^~~~~~~~~~~~
 compilation terminated.
 make[4]: *** 
[/usr/src/linux-headers-6.17.0-14-generic/scripts/Makefile.build:287: 
src/shared/linux_osl.o] Error 1
 make[3]: *** [/usr/src/linux-headers-6.17.0-14-generic/Makefile:2016: .] Error 
2
 make[2]: *** [/usr/src/linux-headers-6.17.0-14-generic/Makefile:248: 
__sub-make] Error 2
 make[2]: Leaving directory '/var/lib/dkms/broadcom-sta/6.30.223.271/build'
 make[1]: *** [Makefile:248: __sub-make] Error 2
 make[1]: Leaving directory '/usr/src/linux-headers-6.17.0-14-generic'
 make: *** [Makefile:183: all] Error 2
DKMSKernelVersion: 6.17.0-14-generic
Date: Fri Feb  6 23:48:53 2026
Package: broadcom-sta-dkms 6.30.223.271-23ubuntu1.1
PackageVersion: 6.30.223.271-23ubuntu1.1
SourcePackage: broadcom-sta
Title: broadcom-sta-dkms 6.30.223.271-23ubuntu1.1: broadcom-sta kernel module 
failed to build
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64

--------------------

$ lsb_release -rd
No LSB modules are available.
Description:    Ubuntu 24.04.3 LTS
Release:        24.04

--------------------

$ apt-cache policy broadcom-sta-dkms
broadcom-sta-dkms:
  Installed: 6.30.223.271-23ubuntu1.1
  Candidate: 6.30.223.271-23ubuntu1.1
  Version table:
 *** 6.30.223.271-23ubuntu1.1 500
        500 http://se.archive.ubuntu.com/ubuntu noble-updates/restricted amd64 
Packages
        500 http://se.archive.ubuntu.com/ubuntu noble-updates/restricted i386 
Packages
        100 /var/lib/dpkg/status
     6.30.223.271-23ubuntu1 500
        500 http://se.archive.ubuntu.com/ubuntu noble/restricted amd64 Packages
        500 http://se.archive.ubuntu.com/ubuntu noble/restricted i386 Packages

--------------------

There were multiple other similar errors too, reported separately (they
had already been reported): see attachment.

--------------------

Expected: upgrade completes as usual.
Actual: got the error above during upgrade.

BR Matias

ProblemType: Package
DistroRelease: Ubuntu 24.04
Package: broadcom-sta-dkms 6.30.223.271-23ubuntu1.1
ProcVersionSignature: Ubuntu 6.14.0-37.37~24.04.1-generic 6.14.11
Uname: Linux 6.14.0-37-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia wl
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: pass
DKMSKernelVersion: 6.17.0-14-generic
Date: Fri Feb  6 23:48:53 2026
InstallationDate: Installed on 2025-10-04 (125 days ago)
InstallationMedia: Ubuntu 24.04.3 LTS "Noble Numbat" - Release amd64 
(20250805.1)
PackageArchitecture: all
PackageVersion: 6.30.223.271-23ubuntu1.1
Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 
3.12.3-0ubuntu2.1
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.22.6ubuntu6.5
 apt  2.8.3
SourcePackage: broadcom-sta
Title: broadcom-sta-dkms 6.30.223.271-23ubuntu1.1: broadcom-sta kernel module 
failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: broadcom-sta (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package noble

** Attachment added: "Bash log"
   
https://bugs.launchpad.net/bugs/2141156/+attachment/5943484/+files/bash-errors-during-upgrade-launchpad_260206.txt

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

Title:
  broadcom-sta-dkms 6.30.223.271-23ubuntu1.1: broadcom-sta kernel module
  failed to build

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/broadcom-sta/+bug/2141156/+subscriptions


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

Reply via email to