Package: broadcom-sta-dkms
Version: 6.30.223.141-1
Severity: important

Dear Maintainer,

I used to build my own kernel taken from www.kernel.org. I recently
noticed when trying to go for 3.15.x kernel serie that the DKMS
compilation was issuing a warning that prevent compilation of the
external module driver for the STA Wifi NIC.

Here is the full process getting through 'dpkg-reconfigure':


===================================================================

#prompt> dpkg-reconfigure broadcom-sta-dkms

-------- Uninstall Beginning --------
Module:  broadcom-sta
Version: 6.30.223.141
Kernel:  3.14-1-amd64 (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this
kernel.

wl.ko:
 - Uninstallation
 - Deleting from: /lib/modules/3.14-1-amd64/updates/dkms/
 - Original module
 - No original module was found for this module on this kernel.
 - Use the dkms install command to reinstall any previous module version.

depmod....

Backing up initrd.img-3.14-1-amd64 to /boot/initrd.img-3.14-1-amd64.old-dkms
Making new initrd.img-3.14-1-amd64
(If next boot fails, revert to initrd.img-3.14-1-amd64.old-dkms image)
update-initramfs....

DKMS: uninstall completed.

------------------------------
Deleting module version: 6.30.223.141
completely from the DKMS tree.
------------------------------
Done.
Loading new broadcom-sta-6.30.223.141 DKMS files...
Building only for 3.15.1
Building initial module for 3.15.1
Error! Bad return status for module build on kernel: 3.15.1 (x86_64)
Consult /var/lib/dkms/broadcom-sta/6.30.223.141/build/make.log for more
information.
Processing triggers for initramfs-tools (0.115) ...
update-initramfs: Generating /boot/initrd.img-3.15.1

===================================================================

And, here is the content of the make.log:

===================================================================
DKMS make.log for broadcom-sta-6.30.223.141 for kernel 3.15.1 (x86_64)
Fri Jun 27 10:16:37 CEST 2014
/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/3.15.1/build
M=/var/lib/dkms/broadcom-sta/6.30.223.141/build
make[1]: Entering directory
'/home/fleury/Development/hacking/linux/linux-3.15.1'
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_dump_ver':
/var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_linux.c:2039:3:
error: macro "__DATE__" might prevent reproducible builds
[-Werror=date-time]
   __DATE__, __TIME__, EPI_VERSION_STR);
   ^
/var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_linux.c:2039:13:
error: macro "__TIME__" might prevent reproducible builds
[-Werror=date-time]
   __DATE__, __TIME__, EPI_VERSION_STR);
             ^
cc1: some warnings being treated as errors
scripts/Makefile.build:318: recipe for target
'/var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_linux.o' failed
make[2]: ***
[/var/lib/dkms/broadcom-sta/6.30.223.141/build/src/wl/sys/wl_linux.o]
Error 1
Makefile:1310: recipe for target
'_module_/var/lib/dkms/broadcom-sta/6.30.223.141/build' failed
make[1]: *** [_module_/var/lib/dkms/broadcom-sta/6.30.223.141/build] Error 2
make[1]: Leaving directory
'/home/fleury/Development/hacking/linux/linux-3.15.1'
Makefile:157: recipe for target 'all' failed
make: *** [all] Error 2
===================================================================

It seems to be only due to some warnings (probably a -Werror ?).
So, it shouldn't be hard to fix.

Finally, note also that the DKMS process is working fine on the
3.14-1-amd64 Debian package. And, this is what I use as workaround right
now.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.15.1 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages broadcom-sta-dkms depends on:
ii  dkms  2.2.0.3-1.2

Versions of packages broadcom-sta-dkms recommends:
ii  wireless-tools  30~pre9-8

broadcom-sta-dkms suggests no packages.

-- no debconf information


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to