virtualbox-ose-guest-source (for dkms) does not build on amd64, missing files

Bug #278466 reported by Plareplane
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
virtualbox-ose (Ubuntu)
Fix Released
High
Unassigned
Intrepid
Won't Fix
High
Unassigned

Bug Description

Binary package hint: virtualbox-ose-guest-source

virtualbox-ose-guest-source 2.0.2-dfsg-0ubuntu3 (on amd64 on intrepid beta) does not build since it is missing some files:

make[2]: *** No rule to make target `/var/lib/dkms/virtualbox-ose-guest/2.0.2/build/vboxadd/alloc/heapsimple.o', needed by `/var/lib/dkms/virtualbox-ose-guest/2.0.2/build/vboxadd/vboxadd.o'. Stop.
make[1]: *** [/var/lib/dkms/virtualbox-ose-guest/2.0.2/build/vboxadd] Error 2
make: *** [_module_/var/lib/dkms/virtualbox-ose-guest/2.0.2/build] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.27-4-generic'

I copied alloc/heapsimple.c from the host and it now builds.

Revision history for this message
Plareplane (plareplane) wrote :
description: updated
Revision history for this message
Tessa (unit3) wrote :

I'm also seeing this problem in Intrepid, with virtualbox-ose-guest-source-2.0.4-dfsg-0ubuntu1.

Copying alloc/heapsimple.c from the virtualbox-ose-source package also worked for me to get it built, but then on loading the modules, vboxvfs complains about the missing symbol RTSpinlockCreate.

Revision history for this message
clemens (clemens-endorphin) wrote :

I can confirm this bug too. Copying alloc/heapsimple.c from upstream solves the problem for me. So basically, there is just a file missing in packaging.

Revision history for this message
Rockwalrus (rockwalrus) wrote :

I have a package with the extra file added available at my ppa: https://launchpad.net/%7Erockwalrus/+archive/+files/virtualbox-ose-source_2.0.4-dfsg-0ubuntu2ppa4_all.deb

I've attached a debdiff.

Revision history for this message
Rockwalrus (rockwalrus) wrote :
Revision history for this message
Daniel Hahler (blueyed) wrote : Re: virtualbox-ose-guest-source does not build on amd64, missing files

Marking Triaged and giving High priority, since it renders the DKMS part of virtualbox-ose useless, if I understand correctly.

Changed in virtualbox-ose:
importance: Undecided → High
status: New → Triaged
Revision history for this message
Daniel Hahler (blueyed) wrote :

Thanks for the debdiff/patch, Nathan.

I've cleaned it up a bit and fixed the issue with the "clean" target, which did not remove the generated files.

Unfortunately, it now fails to build in my Jaunty pbuilder (i386).

I'm attaching the new debdiff and the build log.

Revision history for this message
Rockwalrus (rockwalrus) wrote :

Could you attach the build log, too?

Revision history for this message
Daniel Hahler (blueyed) wrote :

Sorry, forgot about it. Here it is..

Daniel Hahler (blueyed)
Changed in virtualbox-ose:
milestone: none → intrepid-updates
Revision history for this message
Rockwalrus (rockwalrus) wrote :

Looks like the hack starting on line 49 of DrvHostDVD.cpp doesn't work anymore with the kernel headers in Jaunty. Fixing it might be as easy as adding

# define _LINUX_BYTEORDER_SWABB_H

under

# define _LINUX_BYTEORDER_SWAB_H

but I don't have a Jaunty i386 VM handy to try it right now.

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

This bug was fixed in the package virtualbox-ose - 2.0.4-dfsg-0ubuntu3

---------------
virtualbox-ose (2.0.4-dfsg-0ubuntu3) jaunty; urgency=low

  [ Nathan Summers ]
  * Add alloc/heapsimple.c to fix build on amd64. (LP: #278466)
    - virtualbox-ose-guest-source.install.in
  * Add link to alloc/ so that dkms can find it.
    - virtualbox-ose-guest-source.links.in

  [ Daniel Hahler ]
  * debian/rules: expand bash-style shell expansion in "clean"
    target, so the generated files get removed actually.
  * Add debian/patches/15-fix-byteorder-hack-jaunty.dpatch to
    fix FTBFS on Jaunty (patch from Nathan, LP: #278446)

 -- Daniel Hahler <email address hidden> Sat, 06 Dec 2008 02:39:14 +0100

Changed in virtualbox-ose:
status: Triaged → Fix Released
Daniel Hahler (blueyed)
Changed in virtualbox-ose:
importance: Undecided → High
milestone: none → intrepid-updates
milestone: intrepid-updates → none
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

Thank you for reporting this bug to Ubuntu. Intrepid Ibex 8.10 reached EOL on 30 March 2010.
Please see this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

Please feel free to report any other bugs you may find.
Thank you.

Changed in virtualbox-ose (Ubuntu Intrepid):
status: New → Won't Fix
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

I've just realized I made a mistake, Intrepid Ibex 8.10 "will reach" EOL on 30 "APRIL" 2010.

Sorry for this.

Anyway, I think that one month doesn't make any difference now.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.