Package: broadcom-sta-dkms
Version: 6.30.223.271-31
Severity: important
X-Debbugs-Cc: [email protected]
Dear Maintainer,
I am unable to ugprade kernels due to compilation errors.
I have the latest broadcom-sta-dkms version.
Probably needs some patching or something of the sorts.
Thanks!
These are my logs:
$ LC_ALL=en sudo apt upgrade
Not upgrading:
wine-devel wine-devel-amd64 wine-devel-i386:i386 wine-staging
wine-staging-amd64 wine-staging-i386:i386 winehq-devel
Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 7
4 not fully installed or removed.
Space needed: 0 B / 13.5 GB available
Continue? [Y/n] y
apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct!
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "",
LC_ALL = "en",
LC_CTYPE = (unset),
LC_NUMERIC = (unset),
LC_COLLATE = (unset),
LC_TIME = (unset),
LC_MESSAGES = (unset),
LC_MONETARY = (unset),
LC_ADDRESS = (unset),
LC_IDENTIFICATION = (unset),
LC_MEASUREMENT = (unset),
LC_PAPER = (unset),
LC_TELEPHONE = (unset),
LC_NAME = (unset),
LANG = "es_ES.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("es_ES.UTF-8").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up linux-image-7.1.7+deb14-amd64 (7.1.7-1) ...
/etc/kernel/postinst.d/dkms:
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en): No such file
or directory
Sign command: /lib/modules/7.1.7+deb14-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Autoinstall of module broadcom-wl/6.30.223.271 for kernel 7.1.7+deb14-amd64
(x86_64)
Building module(s)...(bad exit status: 2)
Failed command:
make -j24 KERNELRELEASE=7.1.7+deb14-amd64 KBASE=/lib/modules/7.1.7+deb14-amd64
Error! Bad return status for module build on kernel: 7.1.7+deb14-amd64 (x86_64)
Consult /var/lib/dkms/broadcom-wl/6.30.223.271/build/make.log for more
information.
Autoinstall on 7.1.7+deb14-amd64 succeeded for module(s) broadcom-sta
openrazer-driver.
Autoinstall on 7.1.7+deb14-amd64 failed for module(s) broadcom-wl(10).
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
run-parts: /etc/kernel/postinst.d/dkms exited with return code 1
dpkg: error processing package linux-image-7.1.7+deb14-amd64 (--configure):
old linux-image-7.1.7+deb14-amd64 package postinst maintainer script
subprocess failed with exit status 1
Setting up linux-headers-7.1.7+deb14-amd64 (7.1.7-1) ...
/etc/kernel/header_postinst.d/dkms:
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en): No such file
or directory
Sign command: /lib/modules/7.1.7+deb14-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Autoinstall of module broadcom-wl/6.30.223.271 for kernel 7.1.7+deb14-amd64
(x86_64)
Building module(s)...(bad exit status: 2)
Failed command:
make -j24 KERNELRELEASE=7.1.7+deb14-amd64 KBASE=/lib/modules/7.1.7+deb14-amd64
Error! Bad return status for module build on kernel: 7.1.7+deb14-amd64 (x86_64)
Consult /var/lib/dkms/broadcom-wl/6.30.223.271/build/make.log for more
information.
Autoinstall on 7.1.7+deb14-amd64 succeeded for module(s) broadcom-sta
openrazer-driver.
Autoinstall on 7.1.7+deb14-amd64 failed for module(s) broadcom-wl(10).
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 1
dpkg: error processing package linux-headers-7.1.7+deb14-amd64 (--configure):
old linux-headers-7.1.7+deb14-amd64 package postinst maintainer script
subprocess failed with exit status 1
dpkg: dependency problems prevent configuration of linux-headers-amd64:
linux-headers-amd64 depends on linux-headers-7.1.7+deb14-amd64 (= 7.1.7-1);
however:
Package linux-headers-7.1.7+deb14-amd64 is not configured yet.
dpkg: error processing package linux-headers-amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-amd64:
linux-image-amd64 depends on linux-image-7.1.7+deb14-amd64 (= 7.1.7-1);
however:
Package linux-image-7.1.7+deb14-amd64 is not configured yet.
dpkg: error processing package linux-image-amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-7.1.7+deb14-amd64
linux-headers-7.1.7+deb14-amd64
linux-headers-amd64
linux-image-amd64
Error: Sub-process /usr/bin/dpkg returned an error code (1)
Content of the file /var/lib/dkms/broadcom-wl/6.30.223.271/build/make.log:
-------------------------------------------------------------------------
DKMS (dkms-3.2.2) make.log for broadcom-wl/6.30.223.271 for kernel
7.1.7+deb14-amd64 (x86_64)
Mon Aug 10 22:25:44 CEST 2026
Building module(s)
# command: make -j24 KERNELRELEASE=7.1.7+deb14-amd64
KBASE=/lib/modules/7.1.7+deb14-amd64
/bin/sh: 1: [: Illegal number:
/bin/sh: 1: [: Illegal number:
Wireless Extension is the only possible API for this kernel version
Using Wireless Extension API
KBUILD_NOPEDANTIC=1 make -C /lib/modules/7.1.7+deb14-amd64/build M=`pwd`
make[1]: Entering directory '/usr/src/linux-headers-7.1.7+deb14-amd64'
make[2]: se entra en el directorio
'/var/lib/dkms/broadcom-wl/6.30.223.271/build'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
CC [M] src/shared/linux_osl.o
CC [M] src/wl/sys/wl_linux.o
CC [M] src/wl/sys/wl_iw.o
CC [M] src/wl/sys/wl_cfg80211_hybrid.o
src/shared/linux_osl.c:23:10: fatal error: typedefs.h: No existe el fichero o
el directorio
23 | #include <typedefs.h>
| ^~~~~~~~~~~~
compilation terminated.
make[4]: ***
[/usr/src/linux-headers-7.1.7+deb14-common/scripts/Makefile.build:294:
src/shared/linux_osl.o] Error 1
src/wl/sys/wl_linux.c:26:10: fatal error: typedefs.h: No existe el fichero o el
directorio
26 | #include <typedefs.h>
| ^~~~~~~~~~~~
compilation terminated.
make[4]: *** Se espera a que terminen otras tareas....
make[4]: ***
[/usr/src/linux-headers-7.1.7+deb14-common/scripts/Makefile.build:294:
src/wl/sys/wl_linux.o] Error 1
make[3]: *** [/usr/src/linux-headers-7.1.7+deb14-common/Makefile:2191: .] Error
2
make[2]: *** [/usr/src/linux-headers-7.1.7+deb14-common/Makefile:260:
__sub-make] Error 2
make[2]: se sale del directorio '/var/lib/dkms/broadcom-wl/6.30.223.271/build'
make[1]: *** [/usr/src/linux-headers-7.1.7+deb14-common/Makefile:260:
__sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-7.1.7+deb14-amd64'
make: *** [Makefile:159: all] Error 2
# exit code: 2
# elapsed time: 00:00:00
----------------------------------------------------------------
-- System Information:
Debian Release: forky/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.17.7+deb14+1-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages broadcom-sta-dkms depends on:
ii dkms 3.2.2-1
Versions of packages broadcom-sta-dkms recommends:
ii wireless-tools 30~pre9-22
broadcom-sta-dkms suggests no packages.
-- no debconf information