Bug 1271

Summary: VirtualBox-OSE-kmod out of sync with with rawhide kernels
Product: Fedora Reporter: PFJ <paul>
Component: VirtualBox-kmodAssignee: Lubomir Rintel <lkundrak>
Status: RESOLVED WONTFIX    
Severity: major CC: lxtnow, pahan, paul, sergio
Priority: P5    
Version: 14   
Hardware: i386   
OS: GNU/Linux   
namespace:
Attachments: Replacement patch for optflags
Updated spec file for VirtualBox-OSE
Updated spec file for VirtualBox-OSE-kmod

Description PFJ 2010-06-13 11:50:07 CEST
The VirtualBox-OSE-kmod kernel modules are out of sync with the fedora rawhide modules so VB-OSE can no longer run.

I've attempted to rebuild from the src rpm, but the build breaks midway through 

rpmbuild --rebuild VirtualBox-OSE-kmod-3.2.0-1.fc14.src.rpm --define
"kernels $(uname- -r)" --target $(uname -m)

it gets so far and then complains...

make: Leaving directory `/usr/src/kernels/2.6.34-18.fc14.i686.PAE'
+ for module in 'vbox{drv,guest,netadp,netflt,vfs,video}'
+ make VBOX_USE_INSERT_PAGE=1 -j2
-C /usr/src/kernels/2.6.34-18.fc14.i686.PAE
SUBDIRS=/root/rpmbuild/BUILD/VirtualBox-OSE-kmod-3.2.0/_kmod_build_2.6.34-18.fc14.i686.PAE/vboxvfs modules
make: Entering directory `/usr/src/kernels/2.6.34-18.fc14.i686.PAE'
scripts/Makefile.build:44: /root/rpmbuild/BUILD/VirtualBox-OSE-kmod-3.2.0/_kmod_build_2.6.34-18.fc14.i686.PAE/vboxvfs/Makefile: No such file or directory
make[1]: *** No rule to make target
`/root/rpmbuild/BUILD/VirtualBox-OSE-kmod-3.2.0/_kmod_build_2.6.34-18.fc14.i686.PAE/vboxvfs/Makefile'.  Stop.
make: ***
[_module_/root/rpmbuild/BUILD/VirtualBox-OSE-kmod-3.2.0/_kmod_build_2.6.34-18.fc14.i686.PAE/vboxvfs] Error 2
make: Leaving directory `/usr/src/kernels/2.6.34-18.fc14.i686.PAE'
error: Bad exit status from /var/tmp/rpm-tmp.Vgi3oZ (%build)
Comment 1 PFJ 2010-06-29 09:10:19 CEST
Created attachment 438 [details]
Replacement patch for optflags
Comment 2 PFJ 2010-06-29 09:10:46 CEST
Created attachment 439 [details]
Updated spec file for VirtualBox-OSE
Comment 3 PFJ 2010-06-29 09:11:11 CEST
Created attachment 440 [details]
Updated spec file for VirtualBox-OSE-kmod
Comment 4 PFJ 2010-06-29 09:14:12 CEST
I've attached replacement spec files & patch for optflags, VBox-OSE and VBox-OSE-kmod so that version 3.2.6 and above should build.

There is a nasty hack in the VBox-OSE spec file as one of the build files tries to tar a directory which doesn't exist and as I can't find which one is trying, I've created an empty directory to circumvent the problem. I don't know if it works under 64 bit systems or other architectures - it does work perfectly under 32 bit versions of Fedora rawhide

Please can you review these patches and spec files and rebuild for rawhide?

Comment 5 Sérgio Basto 2011-10-04 23:17:44 CEST
akmods of VirtualBox are working well in Fedora 15.
In rawhide you may use akomd.

Should we close this bug ? 
Comment 6 Sérgio Basto 2012-03-03 20:38:33 CET
In rawhide you should use akomd. 
kmod now is not built in rawhide by design.
Since rawhide have a new kernel almost everyday.