[Pkg-virtualbox-devel] Bug#887156: virtualbox-dkms does not compile it's kernel driver, libelf-dev is a missing dependency

csaba mate matecs at niif.hu
Sun Jan 14 16:06:28 UTC 2018


Package: virtualbox-dkms
Version: 5.2.4-dfsg-2
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

after upgrading last week i noticed that virtualbox does not work,
it cannot load it's kernel driver. now i had enough time to take
a closer look on it and found that libelf-dev is a new dependency.
after installing it, virtualbox works as excepted.
please find the log below.
thanks,
csaba mate


mc36 at acer:~$ sudo apt-get remove virtualbox-dkms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  dkms
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
  virtualbox-dkms
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 5,391 kB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 398122 files and directories currently installed.)
Removing virtualbox-dkms (5.2.4-dfsg-2) ...

-------- Uninstall Beginning --------
Module:  virtualbox
Version: 5.2.4
Kernel:  4.14.0-2-amd64 (x86_64)
-------------------------------------

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

vboxdrv.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.14.0-2-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.


vboxnetadp.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.14.0-2-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.


vboxnetflt.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.14.0-2-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.


vboxpci.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.14.0-2-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...

DKMS: uninstall completed.

------------------------------
Deleting module version: 5.2.4
completely from the DKMS tree.
------------------------------
Done.
mc36 at acer:~$ sudo apt-get purge virtualbox-dkms       
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'virtualbox-dkms' is not installed, so not removed
The following package was automatically installed and is no longer required:
  dkms
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
mc36 at acer:~$ sudo apt-get install virtualbox-dkms      
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  virtualbox-dkms
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 680 kB of archives.
After this operation, 5,391 kB of additional disk space will be used.
Get:1 http://ftp.at.debian.org/debian sid/contrib amd64 virtualbox-dkms all 5.2.4-dfsg-2 [680 kB]
Fetched 680 kB in 1s (711 kB/s)          
Selecting previously unselected package virtualbox-dkms.
(Reading database ... 397831 files and directories currently installed.)
Preparing to unpack .../virtualbox-dkms_5.2.4-dfsg-2_all.deb ...
Unpacking virtualbox-dkms (5.2.4-dfsg-2) ...
Setting up virtualbox-dkms (5.2.4-dfsg-2) ...
Loading new virtualbox-5.2.4 DKMS files...
Building for 4.14.0-3-amd64
Building initial module for 4.14.0-3-amd64
Error! Bad return status for module build on kernel: 4.14.0-3-amd64 (x86_64)
Consult /var/lib/dkms/virtualbox/5.2.4/build/make.log for more information.
mc36 at acer:~$ cat /var/lib/dkms/virtualbox/5.2.4/build/make.log
DKMS make.log for virtualbox-5.2.4 for kernel 4.14.0-3-amd64 (x86_64)
Sun Jan 14 17:00:26 CET 2018
make: Entering directory '/usr/src/linux-headers-4.14.0-3-amd64'
/usr/src/linux-headers-4.14.0-3-common/Makefile:947: *** "Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel".  Stop.
Makefile:146: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/usr/src/linux-headers-4.14.0-3-amd64'
mc36 at acer:~$ sudo apt-get install libelf-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  libelf-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 71.5 kB of archives.
After this operation, 372 kB of additional disk space will be used.
Get:1 http://ftp.at.debian.org/debian sid/main amd64 libelf-dev amd64 0.170-0.2 [71.5 kB]
Fetched 71.5 kB in 0s (167 kB/s)    
Selecting previously unselected package libelf-dev:amd64.
(Reading database ... 398125 files and directories currently installed.)
Preparing to unpack .../libelf-dev_0.170-0.2_amd64.deb ...
Unpacking libelf-dev:amd64 (0.170-0.2) ...
Setting up libelf-dev:amd64 (0.170-0.2) ...
mc36 at acer:~$ sudo apt-get install virtualbox-dkms              
Reading package lists... Done
Building dependency tree       
Reading state information... Done
virtualbox-dkms is already the newest version (5.2.4-dfsg-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
mc36 at acer:~$ sudo apt-get remove virtualbox-dkms                
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  dkms
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
  virtualbox-dkms
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 5,391 kB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 398135 files and directories currently installed.)
Removing virtualbox-dkms (5.2.4-dfsg-2) ...

------------------------------
Deleting module version: 5.2.4
completely from the DKMS tree.
------------------------------
Done.
mc36 at acer:~$ sudo apt-get install virtualbox-dkms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  virtualbox-dkms
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/680 kB of archives.
After this operation, 5,391 kB of additional disk space will be used.
Selecting previously unselected package virtualbox-dkms.
(Reading database ... 397844 files and directories currently installed.)
Preparing to unpack .../virtualbox-dkms_5.2.4-dfsg-2_all.deb ...
Unpacking virtualbox-dkms (5.2.4-dfsg-2) ...
Setting up virtualbox-dkms (5.2.4-dfsg-2) ...
Loading new virtualbox-5.2.4 DKMS files...
Building for 4.14.0-3-amd64
Building initial module for 4.14.0-3-amd64
Done.

vboxdrv:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.14.0-3-amd64/updates/dkms/

vboxnetadp.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.14.0-3-amd64/updates/dkms/

vboxnetflt.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.14.0-3-amd64/updates/dkms/

vboxpci.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.14.0-3-amd64/updates/dkms/

depmod...

DKMS: install completed.
mc36 at acer:~$ 




*** End of the template - remove these template lines ***


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

Kernel: Linux 4.14.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1), LANGUAGE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages virtualbox-dkms depends on:
ii  dkms  2.3-3

Versions of packages virtualbox-dkms recommends:
ii  virtualbox  5.2.4-dfsg-2

virtualbox-dkms suggests no packages.

-- no debconf information



More information about the Pkg-virtualbox-devel mailing list