[vbox-dev] build dep package

Perry Halbert phalbert at cox.net
Sun Jun 26 02:10:00 GMT 2011

Seems like a find replace and removing the _ (underscore) from _OSE does 
the trick. Not pretty but it does prove the fact that the newer dpkg 
just does not like the _ (underscore) in the version name VBOX_OSE.  It 
might work with a - (hyphen) but it does not like a ~(tilde) at all.  
Complains a lot about blank space in macro.

On 06/24/2011 05:17 PM, Perry Halbert wrote:
> I knew what the issue was I am looking for a way to get around it.  So 
> far I know it has to do with the illegal character and the fact that 
> almost everything Linux says that the _ (underscore) is invalid these 
> days.  My dpkg config foo is not that good but I did manage to fake it 
> out once.  Then I had to repair my system. Not to mention that _OSE is 
> in like 10,000 places in the code.
> So the easiest way to fix this is to somehow generate a different 
> Version string that does not have the _ in the name.  That's my next 
> endeavor anyway.
> On 06/24/2011 01:45 PM, Martin Simmons wrote:
>>>>>>> On Thu, 23 Jun 2011 15:36:58 -0500, Perry Halbert said:
>>> Ubuntu 10.10 latest VBox from svn.
>>> /trunk/src/VBox/Installer/linux/debian rules binary
>>> Any idea how to get around this issue? Debian lenny will complete with
>>> the error but does bark about it.
>>> Looks like the issue is being generated by VBox as the control file has
>>> the exact information that dpkg-deb: is complaining about.
>>> dh_md5sums: Compatibility levels before 5 are deprecated.
>>> dh_builddeb --destdir /
>>> dh_builddeb: Compatibility levels before 5 are deprecated.
>>> dpkg-deb: parse error, in file 'debian/virtualbox-4.0/DEBIAN/control'
>>> near line 2 package 'virtualbox-4.0':
>>>    error in Version string '4.0.51_OSE-37581~Ubuntu~maverick': invalid
>>> character in version number
>>> dh_builddeb: dpkg-deb --build debian/virtualbox-4.0 / returned exit code 2
>>> make[1]: *** [binary] Error 9
>>> make[1]: Leaving directory `/trunk/src/VBox/Installer/linux'
>>> make: *** [binary] Error 2
>> I think the invalid character is the underscore in "_OSE", which is from the
>> version number generated by VBox.
>> Somehow Oracle build their packages without OSE, but the source code they
>> release builds with OSE.  There is a thread from a few days ago here, but it
>> hasn't been resolved yet:
>> http://vbox.innotek.de/pipermail/vbox-dev/2011-June/004251.html
>> __Martin
>> _______________________________________________
>> vbox-dev mailing list
>> vbox-dev at virtualbox.org
>> http://vbox.innotek.de/mailman/listinfo/vbox-dev
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20110625/0f9bc90b/attachment.html>

More information about the vbox-dev mailing list