:: [DNG] Virtualbox-dkms configure err…
Inizio della pagina
Delete this message
Reply to this message
Autore: Rob
Data:  
To: dng@lists.dyne.org
Oggetto: [DNG] Virtualbox-dkms configure error - kernel symlinks
DKMS make.log for virtualbox-6.1.32 for kernel 5.15.0-2-amd64 (x86_64)
Wed 16 Feb 19:15:33 GMT 2022
make: Entering directory '/iome/src/linux-headers-5.15.0-2-amd64'
/iome/src/linux-headers-5.15.0-2-common/arch/x86/Makefile:142: CONFIG_X86_X32 enabled but no binutils support
/usr/src/linux-headers-5.15.0-2-common/Makefile:1053: /iome/src/linux-headers-5.15.0-2-common/scripts/Makefile.extrawarn: No such file or directory
make: *** No rule to make target '/iome/src/linux-headers-5.15.0-2-common/scripts/Makefile.extrawarn'. Stop.
make: Leaving directory '/iome/src/linux-headers-5.15.0-2-amd64'

Checking I found the file in /usr/lib/linux-kbuild-5.15/scripts/

All the kernel symlinks on the pc point to /lib rather than /usr/lib eg:

rob@devuan:~$ ls -l /usr/src/linux-headers-5.15.0-2-common
total 76
drwxr-xr-x 15 root root 4096 Nov 28 00:56 arch
drwxr-xr-x 29 root root 4096 Nov 28 00:56 include
-rw-r--r-- 1 root root 66269 Dec 18 23:20 Makefile
lrwxrwxrwx 1 root root 35 Dec 18 23:20 scripts -> ../../lib/linux-kbuild-5.15/scripts
lrwxrwxrwx 1 root root 33 Dec 18 23:20 tools -> ../../lib/linux-kbuild-5.15/tools

rob@devuan:~$ ls -l /usr/src/linux-kbuild-5.*
lrwxrwxrwx 1 root root 24 Aug 3 2021 /usr/src/linux-kbuild-5.10 -> ../lib/linux-kbuild-5.10
lrwxrwxrwx 1 root root 24 Nov 3 14:35 /usr/src/linux-kbuild-5.14 -> ../lib/linux-kbuild-5.14
lrwxrwxrwx 1 root root 26 Feb 17 02:05 /usr/src/linux-kbuild-5.15 -> ../lib/linux-kbuild-5.15
lrwxrwxrwx 1 root root 24 Feb 9 08:35 /usr/src/linux-kbuild-5.16 -> ../lib/linux-kbuild-5.16
lrwxrwxrwx 1 root root 23 Aug 23 2020 /usr/src/linux-kbuild-5.7 -> ../lib/linux-kbuild-5.7
lrwxrwxrwx 1 root root 23 Oct 10 2020 /usr/src/linux-kbuild-5.8 -> ../lib/linux-kbuild-5.8
lrwxrwxrwx 1 root root 23 Dec 17 2020 /usr/src/linux-kbuild-5.9 -> ../lib/linux-kbuild-5.9

Is there a way to resolve this gracefully or is it a case of manually relinking files
Notes:
Devuan was installed on pc about 4 years ago
/usr/src is a link to /iome/src
Saw usrmerge package. Seems a rather major change.

rob

Sent from [ProtonMail](https://protonmail.ch), encrypted email based in Switzerland.