[Pkg-virtualbox-devel] Bug#554385: Bug#554385: virtualbox-ose-source does not compile for kernel 2.6.31-1

Benjamin Mesing bensmail at gmx.net
Wed Nov 4 19:32:16 UTC 2009


severity 554385 normal
retitle 554385 virtualbox-ose-source does not compile using m-a
thanks

Hi

It seems there was indeed some stale source lying around
in /usr/src/modules/virtualbox-ose (though I do not know how it got
there, I can remember doing something manually). After your post, I
realised that when running "m-a a-i vboxdrv" I got the following error
messages before the build dialog appeared:

        Getting source for kernel version: 2.6.31-1-amd64                                                         
        Kernel headers available in /lib/modules/2.6.31-1-amd64/build                                             
        apt-get install build-essential                                                                           
        Reading package lists... Done                                                                             
        Building dependency tree                                                                                  
        Reading state information... Done                                                                         
        build-essential is already the newest version.                                                            
         upgraded.                                         
        
        Done!
        unpack 
        The source tarball could not be found!
        Package virtualbox-ose-source not installed?
        Running "m-a -f get virtualbox-ose-source" may help.
        "/usr/share/modass/packages/default.sh" build KVERS=2.6.31-1-amd64 KSRC=/lib/modules/2.6.31-1-amd64/build KDREV=2.6.31-1 kdist_image                                                                                
        
As suggested I then ran "m-a -f get virtualbox-ose-source" and it did
build the virtualbox modules automatically and successfully.
I tried to run "m-a a-i virtualbox-ose-source" again and got the same
error as before. I then removed the /usr/src/modules/virtualbox-ose
directory manually and it didn't reappear (neither by running aptitude
install virtualbox-ose-source nor "m-a -f get virtualbox-ose-source").
So it seems the source required for m-a is not available any more? With
the directory removed "m-a a-i" produces the following error 
        Updated infos about 1 packages                                                                         
        Getting source for kernel version: 2.6.31-1-amd64                                                      
        Kernel headers available in /lib/modules/2.6.31-1-amd64/build                                          
        apt-get install build-essential                                                                        
        Reading package lists... Done                                                                          
        Building dependency tree                                                                               
        Reading state information... Done                                                                      
        build-essential is already the newest version.                                                         
        
        
        Done!
        unpack 
        The source tarball could not be found!
        Package virtualbox-ose-source not installed?
        Running "m-a -f get virtualbox-ose-source" may help.
        "/usr/share/modass/packages/default.sh" build KVERS=2.6.31-1-amd64 KSRC=/lib/modules/2.6.31-1-amd64/build KDREV=2.6.31-1 kdist_image                                                                          
        find: `/usr/src/modules/virtualbox*': No such file or directory       

Best regards

Ben







More information about the Pkg-virtualbox-devel mailing list