Package: broadcom-sta-dkms
Version: 6.30.223.271-29
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the
past)
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: amd64
User: [email protected]
Usertags: i386
$ sudo dkms build broadcom-sta/6.30.223.271 -k 7.1-amd64
Sign command: /lib/modules/7.1-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Building module(s)....(bad exit status: 2)
Failed command:
make -j8 KERNELRELEASE=7.1-amd64 KVER=7.1-amd64
Error! Bad return status for module build on kernel: 7.1-amd64 (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more
information.
$ cat /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log
DKMS (dkms-3.2.2) make.log for broadcom-sta/6.30.223.271 for kernel
7.1-amd64
(x86_64)
Wed May 13 06:17:53 PM CEST 2026
Building module(s)
# command: make -j8 KERNELRELEASE=7.1-amd64 KVER=7.1-amd64
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/7.1-amd64/build M=`pwd`
make[1]: Entering directory '/usr/src/linux-headers-7.1-amd64'
make[2]: Entering directory '/var/lib/dkms/broadcom-sta/6.30.223.271/build'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
Kernel architecture is X86_64
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/wl/sys/wl_cfg80211_hybrid.c:1859:24: error: initialization of ‘int
(*)(struct wiphy *, struct wireless_dev *, const u8 *, struct
station_info *)’
{aka ‘int (*)(struct wiphy *, struct wireless_dev *, const unsigned char *,
struct station_info *)’} from incompatible pointer type ‘s32 (*)(struct
wiphy
*, struct net_device *, const u8 *, struct station_info *)’ {aka ‘int
(*)(struct wiphy *, struct net_device *, const unsigned char *, struct
station_info *)’} [-Wincompatible-pointer-types]
1859 | .get_station = wl_cfg80211_get_station,
| ^~~~~~~~~~~~~~~~~~~~~~~
src/wl/sys/wl_cfg80211_hybrid.c:1859:24: note: (near initialization for
‘wl_cfg80211_ops.get_station’)
src/wl/sys/wl_cfg80211_hybrid.c:1495:1: note: ‘wl_cfg80211_get_station’
declared here
1495 | wl_cfg80211_get_station(struct wiphy *wiphy, struct net_device *dev,
| ^~~~~~~~~~~~~~~~~~~~~~~
src/wl/sys/wl_cfg80211_hybrid.c:1862:20: error: initialization of ‘int
(*)(struct wiphy *, struct wireless_dev *, int, u8, bool, const u8 *, struct
key_params *)’ {aka ‘int (*)(struct wiphy *, struct wireless_dev *, int,
unsigned char, _Bool, const unsigned char *, struct key_params *)’} from
incompatible pointer type ‘s32 (*)(struct wiphy *, struct net_device *, int,
u8, bool, const u8 *, struct key_params *)’ {aka ‘int (*)(struct wiphy *,
struct net_device *, int, unsigned char, _Bool, const unsigned char *,
struct key_params *)’} [-Wincompatible-pointer-types]
1862 | .add_key = wl_cfg80211_add_key,
| ^~~~~~~~~~~~~~~~~~~
src/wl/sys/wl_cfg80211_hybrid.c:1862:20: note: (near initialization for
‘wl_cfg80211_ops.add_key’)
src/wl/sys/wl_cfg80211_hybrid.c:1245:1: note: ‘wl_cfg80211_add_key’ declared
here
1245 | wl_cfg80211_add_key(struct wiphy *wiphy, struct net_device *dev,
| ^~~~~~~~~~~~~~~~~~~
src/wl/sys/wl_cfg80211_hybrid.c:1863:20: error: initialization of ‘int
(*)(struct wiphy *, struct wireless_dev *, int, u8, bool, const u8 *)’ {aka
‘int (*)(struct wiphy *, struct wireless_dev *, int, unsigned char, _Bool,
const unsigned char *)’} from incompatible pointer type ‘s32 (*)(struct
wiphy
*, struct net_device *, int, u8, bool, const u8 *)’ {aka ‘int (*)(struct
wiphy *, struct net_device *, int, unsigned char, _Bool, const unsigned char
*)’} [-Wincompatible-pointer-types]
1863 | .del_key = wl_cfg80211_del_key,
| ^~~~~~~~~~~~~~~~~~~
src/wl/sys/wl_cfg80211_hybrid.c:1863:20: note: (near initialization for
‘wl_cfg80211_ops.del_key’)
src/wl/sys/wl_cfg80211_hybrid.c:1371:1: note: ‘wl_cfg80211_del_key’ declared
here
1371 | wl_cfg80211_del_key(struct wiphy *wiphy, struct net_device *dev,
| ^~~~~~~~~~~~~~~~~~~
src/wl/sys/wl_cfg80211_hybrid.c:1864:20: error: initialization of ‘int
(*)(struct wiphy *, struct wireless_dev *, int, u8, bool, const u8 *, void
*, void (*)(void *, struct key_params *))’ {aka ‘int (*)(struct wiphy *,
struct
wireless_dev *, int, unsigned char, _Bool, const unsigned char *, void *,
void (*)(void *, struct key_params *))’} from incompatible pointer type ‘s32
(*)(struct wiphy *, struct net_device *, int, u8, bool, const u8 *, void *,
void (*)(void *, struct key_params *))’ {aka ‘int (*)(struct wiphy *, struct
net_device *, int, unsigned char, _Bool, const unsigned char *, void *, void
(*)(void *, struct key_params *))’} [-Wincompatible-pointer-types]
1864 | .get_key = wl_cfg80211_get_key,
| ^~~~~~~~~~~~~~~~~~~
src/wl/sys/wl_cfg80211_hybrid.c:1864:20: note: (near initialization for
‘wl_cfg80211_ops.get_key’)
src/wl/sys/wl_cfg80211_hybrid.c:1418:1: note: ‘wl_cfg80211_get_key’ declared
here
1418 | wl_cfg80211_get_key(struct wiphy *wiphy, struct net_device *dev,
| ^~~~~~~~~~~~~~~~~~~
make[4]: *** [/usr/src/linux-headers-7.1-common/scripts/Makefile.build:294:
src/wl/sys/wl_cfg80211_hybrid.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/usr/src/linux-headers-7.1-common/Makefile:2167: .] Error 2
make[2]: *** [/usr/src/linux-headers-7.1-common/Makefile:260:
__sub-make] Error
2
make[2]: Leaving directory '/var/lib/dkms/broadcom-sta/6.30.223.271/build'
make[1]: *** [/usr/src/linux-headers-7.1-common/Makefile:260:
__sub-make] Error
2
make[1]: Leaving directory '/usr/src/linux-headers-7.1-amd64'
make: *** [Makefile:198: all] Error 2
# exit code: 2
# elapsed time: 00:00:05
----------------------------------------------------------------
Log explains more than thousand words. Mixed forky/sid/experimental Franken-
Debian. Mostly forky. Bug report a bit ahead of time. But good to report
anyways. Unfortunately I cannot provide patch.
-- System Information:
Debian Release: forky/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 7.0-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN,
TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
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-21
broadcom-sta-dkms suggests no packages.
-- no debconf information