virtualbox-guest-dkms 4.1.2-dfsg-1ubuntu1: virtualbox-guest kernel module failed to build (make: Makefile: No such file or directory)

Bug #854995 reported by Julien Lavergne
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
virtualbox (Ubuntu)
Undecided
Unassigned

Bug Description

Jockey fail to install virtualbox addon, after fresh install of Lubuntu

ProblemType: Package
DistroRelease: Ubuntu 11.10
Package: virtualbox-guest-dkms 4.1.2-dfsg-1ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
DKMSKernelVersion: 3.0.0-11-generic
Date: Tue Sep 20 21:21:59 2011
DuplicateSignature:
 DKMS make.log for virtualbox-guest-4.1.2 for kernel 3.0.0-11-generic (x86_64)
 make: Entering directory `/usr/src/linux-headers-3.0.0-11-generic'
 make: Makefile: No such file or directory
 make: *** No rule to make target `Makefile'. Stop.
 make: Leaving directory `/usr/src/linux-headers-3.0.0-11-generic'
InstallationMedia: Lubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110920)
PackageArchitecture: all
PackageVersion: 4.1.2-dfsg-1ubuntu1
SourcePackage: virtualbox
Title: virtualbox-guest-dkms 4.1.2-dfsg-1ubuntu1: virtualbox-guest kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Julien Lavergne (gilir) wrote :
Revision history for this message
Julien Lavergne (gilir) wrote :
Revision history for this message
Julien Lavergne (gilir) wrote :
tags: added: iso-testing
tags: removed: need-duplicate-check
Revision history for this message
Felix Geyer (debfx) wrote :

Which linux-headers-* packages are installed on the system?

Julien Lavergne (gilir)
description: updated
Revision history for this message
Julien Lavergne (gilir) wrote :

linux-headers-3.0.0-11 (3.0.0-11.18)
linux-headers-3.0.0-11-generic (3.0.0-11.18)
linux-headers-generic (3.0.0-11.12)

After a reboot, still enable to activate the driver with jockey (error message from jockey)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in virtualbox (Ubuntu):
status: New → Confirmed
Revision history for this message
Mario Limonciello (superm1) wrote :

I've reversed the duplicates around because this is a much more recent bug and easier to debug with fresh versions.

I've just done a fresh install using a standard ubuntu image from today and had no problems installing the virtualbox DKMS modules package myself.

Since you have all of the required packages installed i'm wondering if for some reason some of the files were not installed properly during the install time from ubiquity's file copy. Can you please check to see if you actually have a valid
/usr/src/linux-headers-3.0.0-11-generic/Makefile symlink that points to /usr/src/linux-headers-3.0.0.11/Makefile?

If not, then please repeat your install with ubiquity debug mode (debug-ubiquity on the kernel command line) and check whether that Makefile is present. If it's not present, please file a ubiquity bug (ubuntu-bug ubiquity) and mark this as a duplicate of that.

Changed in virtualbox (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Julien Lavergne (gilir) wrote :

I checked and the symlink is correct.
However, purging all linux header, and re-installing them, then installing by synaptic the guest additions is working. I'll check again with a fresh install if I can reproduce the problem.

Revision history for this message
Unit 193 (unit193) wrote :

I have been having jockey crash every time as well, but after re-installing headers jockey still crashed while synaptic was able to install them just find and the driver is in use now.

uname -a: Linux unit193-VBox 3.0.0-11-generic #18-Ubuntu SMP Tue Sep 13 23:29:47 UTC 2011 i686 athlon i386 GNU/Linux

summary: virtualbox-guest-dkms 4.1.2-dfsg-1ubuntu1: virtualbox-guest kernel
- module failed to build
+ module failed to build (make: Makefile: No such file or directory)
Revision history for this message
Marián Kadaňka (marian.kadanka) wrote :

Problem still exists on fresh install of Lubuntu 11.10 beta2 with updated packages.
"/usr/src/linux-headers-3.0.0-11-generic/Makefile" simlink exists and points to "/usr/src/linux-headers-3.0.0.11/Makefile", but the target file doesn't exists. Actually, entire "/usr/src/linux-headers-3.0.0.11/" directory structure exists but there are no files in it.

Revision history for this message
Ioan Oprea (ioan.op) wrote :
Revision history for this message
Marián Kadaňka (marian.kadanka) wrote :

What I did to make it work:
1) "sudo aptitude purge linux-headers-3.0.0-11 linux-headers-3.0.0-11-generic linux-headers-generic"
2) "sudo aptitude install linux-headers-3.0.0-11 linux-headers-3.0.0-11-generic linux-headers-generic" - header files are now correctly installed
3) "sudo aptitude purge virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11"
4) install guest additions using jockey-gtk

Revision history for this message
Ioan Oprea (ioan.op) wrote :

it works! thank you!
so apparently the kernel headers are not installed correctly.

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

Other bug subscribers