Dkms-broadcom-wl: a missing file dkms was expecting and erroneous sed command

Hello,

  • OpenMandriva Lx version:
    3.03

  • Desktop environment (KDE, LXQT…):
    KDE – not sure it’s relevant here though :P.

  • Description of the issue (screenshots if relevant):
    During the install of dkms-broadcom-wl I get errors that seem to indicate that DKMS is expecting a file called symvers.gz to exist in /var/lib/dkms/broadcom-wl/6.30.223.271-3///module/ and it also seems to be executing an erroneous sed command. As these issues do not stop dkms-broadcom-wl from installing I decided to reboot and run depmod -a && modprobe -a wl to see if the WiFi would work anyway, surprise, surprise it didn’t. But they didn’t give any errors either.

  • Relevant informations (hardware involved, software version, logs or output…):

The output of urpmi dkms-broadcom-wl is:

http://downloads.openmandriva.org/mirrors/openmandriva.3.0.x86_64.list: media/non-free/updates/dkms-broadcom-wl-6.30.223.271-3-omv2015.0.x86_64.rpm
installing dkms-broadcom-wl-6.30.223.271-3-omv2015.0.x86_64.rpm from /var/cache/urpmi/rpms
Preparing...                     #################################
  1/1: dkms-broadcom-wl      #################################

Creating symlink /var/lib/dkms/broadcom-wl/6.30.223.271-3/source ->
             /usr/src/broadcom-wl-6.30.223.271-3

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make KERNELRELEASE=4.13.12-desktop-2omv -j16.....
/usr/sbin/dkms: line 1326: /var/lib/dkms/broadcom-wl/6.30.223.271-3///module/symvers.gz: No such file or directory
cleaning build area...

DKMS: build completed.

wl:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.13.12-desktop-2omv/kernel/drivers/net/wireless/broadcom/

sed: -e expression #1, char 6: unknown command: `m'
depmod....

DKMS: install completed.

Thanks for your time,
Your friendly neighbourhood distro-hopper, Brenton

Hi, I’ll take a look on it.