broadcom-sta-dkms fails to build with linux-generic-lts-xenial

Bug #1606141 reported by Brian Candler on 2016-07-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
broadcom-sta (Ubuntu)
Undecided
Unassigned

Bug Description

Trying to install package "broadcom-sta-dkms" on a Mac Mini running Ubuntu 14.04 with linux-generic-lts-xenial kernel (4.4.0) gives the following error:

Preparing to unpack .../dkms_2.2.0.3-1.1ubuntu5.14.04.6_all.deb ...
Unpacking dkms (2.2.0.3-1.1ubuntu5.14.04.6) ...
Selecting previously unselected package broadcom-sta-dkms.
Preparing to unpack .../broadcom-sta-dkms_6.30.223.141-1_all.deb ...
Unpacking broadcom-sta-dkms (6.30.223.141-1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up dkms (2.2.0.3-1.1ubuntu5.14.04.6) ...
Setting up broadcom-sta-dkms (6.30.223.141-1) ...
Loading new broadcom-sta-6.30.223.141 DKMS files...
First Installation: checking all kernels...
Building only for 4.4.0-28-generic
Building initial module for 4.4.0-28-generic
Error! Bad return status for module build on kernel: 4.4.0-28-generic (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.141/build/make.log for more information.

Contents of the referenced log file are:

DKMS make.log for broadcom-sta-6.30.223.141 for kernel 4.4.0-28-generic (x86_64)
Mon Jul 25 07:49:44 UTC 2016
/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/4.4.0-28-generic/build M=/var/lib/dkms/broadcom-sta/6.30.223.141/build
make[1]: Entering directory `/usr/src/linux-headers-4.4.0-28-generic'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
Kernel architecture is X86_64
  LD /var/lib/dkms/broadcom-sta/6.30.223.141/build/built-in.o
  CC [M] /var/lib/dkms/broadcom-sta/6.30.223.141/build/src/shared/linux_osl.o
  CC [M] /var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_linux.o
/var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_linux.c: In function ‘wl_alloc_linux_if’:
/var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_linux.c:1350:64: error: macro "alloc_netdev" requires 4 arguments, but only 3 given
  dev = alloc_netdev(sizeof(priv_link_t), intf_name, ether_setup);
                                                                ^
/var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_linux.c:1350:8: error: ‘alloc_netdev’ undeclared (first use in this function)
  dev = alloc_netdev(sizeof(priv_link_t), intf_name, ether_setup);
        ^
/var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_linux.c:1350:8: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [/var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_linux.o] Error 1
make[1]: *** [_module_/var/lib/dkms/broadcom-sta/6.30.223.141/build] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-4.4.0-28-generic'
make: *** [all] Error 2

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: broadcom-sta-dkms 6.30.223.141-1
ProcVersionSignature: Ubuntu 4.4.0-28.47~14.04.1-generic 4.4.13
Uname: Linux 4.4.0-28-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.21
Architecture: amd64
Date: Mon Jul 25 07:51:10 2016
InstallationDate: Installed on 2014-07-16 (739 days ago)
InstallationMedia: Ubuntu-Server 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
PackageArchitecture: all
SourcePackage: broadcom-sta
UpgradeStatus: No upgrade log present (probably fresh install)

Brian Candler (b-candler) wrote :
Brian Candler (b-candler) wrote :

Related to #1358966 (similar bug but for bcmwl-kernel-source, which *does* install correctly)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers