<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <font face="Verdana">This works well if you use a different top
      level folder than /trunk</font><br>
    <br>
    *** rules    2011-06-26 18:48:44.900727018 -0500<br>
    --- rules    2011-06-26 17:49:06.000000000 -0500<br>
    ***************<br>
    *** 58,66 ****<br>
      NOWEBSVC ?= $(ose)<br>
      NOWINE   := $(if $(NODOCS),$(if $(STAGEDISO),1,),)<br>
      <br>
    - <br>
    - <br>
    - <br>
      ifneq ($(wildcard $(verfile)),)<br>
      include $(verfile)<br>
      ver      := $(VBOX_VERSION_STRING)<br>
    --- 58,63 ----<br>
    ***************<br>
    *** 383,388 ****<br>
    --- 380,387 ----<br>
            -Vpulse=$(if $(HEADLESS),,libpulse0) \<br>
            -Vsdlttf=$(if $(HEADLESS),,libsdl-ttf2.0-0) \<br>
            -Vdkms=$(if $(filter _Debian_lenny,$(debrel)),,dkms)<br>
    +     sed -i 's/_OSE/-OSE/g'
$(vboxroot)/src/VBox/Installer/linux/debian/virtualbox-4.0/DEBIAN/control<br>
    +     sed -i 's/_OSE/-OSE/g'
$(vboxroot)/src/VBox/Installer/linux/debian/virtualbox-4.0-dbg/DEBIAN/control<br>
          dh_md5sums<br>
          dh_builddeb --destdir $(pkgdir)<br>
      endif<br>
    <br>
    <br>
    <br>
    On 06/26/2011 01:31 PM, Perry Halbert wrote:
    <blockquote cite="mid:4E077AE9.5070102@cox.net" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <font face="Verdana">Sorry I diff'ed the wrong file.  This one is
        the right one. <br>
        <br>
        <br>
        *** rules    2011-06-26 12:56:42.004791009 -0500<br>
        --- rules2    2011-06-26 13:28:44.744790998 -0500<br>
        ***************<br>
        *** 383,388 ****<br>
        --- 383,390 ----<br>
                -Vpulse=$(if $(HEADLESS),,libpulse0) \<br>
                -Vsdlttf=$(if $(HEADLESS),,libsdl-ttf2.0-0) \<br>
                -Vdkms=$(if $(filter _Debian_lenny,$(debrel)),,dkms)<br>
        +     sed -i 's/_OSE/-OSE/g'
        /trunk/src/VBox/Installer/linux/debian/virtualbox-4.0/DEBIAN/control<br>
        +     sed -i 's/_OSE/-OSE/g'
        /trunk/src/VBox/Installer/linux/debian/virtualbox-4.0-dbg/DEBIAN/control<br>
              dh_md5sums<br>
              dh_builddeb --destdir $(pkgdir)<br>
          endif</font><br>
      <br>
      <br>
      <br>
      On 06/26/2011 01:17 PM, Perry Halbert wrote:
      <blockquote cite="mid:4E0777C9.7050303@cox.net" type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        <font face="Verdana">Hack to allow debian build until this gets
          fixed. Tested on Ubuntu 10.10 <br>
          <br>
          <br>
          *** rules    2011-06-26 12:56:42.004791009 -0500<br>
          --- rules-new    2011-06-26 13:07:41.964790999 -0500<br>
          ***************<br>
          *** 384,389 ****<br>
          --- 384,391 ----<br>
                  -Vsdlttf=$(if $(HEADLESS),,libsdl-ttf2.0-0) \<br>
                  -Vdkms=$(if $(filter _Debian_lenny,$(debrel)),,dkms)<br>
                dh_md5sums<br>
          +     sed -i 's/_OSE/-OSE/g'
          /trunk/src/VBox/Installer/linux/debian/virtualbox-4.0/DEBIAN/control
          <br>
          +     sed -i 's/_OSE/-OSE/g'
          /trunk/src/VBox/Installer/linux/debian/virtualbox-4.0-dbg/DEBIAN/control<br>
                dh_builddeb --destdir $(pkgdir)<br>
            endif<br>
        </font><br>
        On 06/25/2011 09:10 PM, Perry Halbert wrote:
        <blockquote cite="mid:4E0694F8.2080401@cox.net" type="cite">
          <meta content="text/html; charset=ISO-8859-1"
            http-equiv="Content-Type">
          <title></title>
          <font face="Verdana">Seems like a find replace and removing
            the _ (underscore) from _OSE does the trick.</font> 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.<br>
          <br>
          <br>
          <br>
          <br>
          On 06/24/2011 05:17 PM, Perry Halbert wrote:
          <blockquote cite="mid:4E050CDF.1040606@cox.net" type="cite">
            <meta content="text/html; charset=ISO-8859-1"
              http-equiv="Content-Type">
            <font face="Verdana">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.<br>
              <br>
              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.<br>
              <br>
              <br>
            </font><br>
            On 06/24/2011 01:45 PM, Martin Simmons wrote:
            <blockquote
              cite="mid:201106241845.p5OIjH8q032402@higson.cam.lispworks.com"
              type="cite">
              <blockquote type="cite">
                <blockquote type="cite">
                  <blockquote type="cite">
                    <blockquote type="cite">
                      <blockquote type="cite">
                        <pre wrap="">On Thu, 23 Jun 2011 15:36:58 -0500, Perry Halbert said:
</pre>
                      </blockquote>
                    </blockquote>
                  </blockquote>
                </blockquote>
                <pre wrap="">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
</pre>
              </blockquote>
              <pre wrap="">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:

<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://vbox.innotek.de/pipermail/vbox-dev/2011-June/004251.html">http://vbox.innotek.de/pipermail/vbox-dev/2011-June/004251.html</a>

__Martin

_______________________________________________
vbox-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://vbox.innotek.de/mailman/listinfo/vbox-dev">http://vbox.innotek.de/mailman/listinfo/vbox-dev</a>

</pre>
            </blockquote>
            <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
vbox-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://vbox.innotek.de/mailman/listinfo/vbox-dev">http://vbox.innotek.de/mailman/listinfo/vbox-dev</a>
</pre>
          </blockquote>
          <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
vbox-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://vbox.innotek.de/mailman/listinfo/vbox-dev">http://vbox.innotek.de/mailman/listinfo/vbox-dev</a>
</pre>
        </blockquote>
        <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
vbox-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://vbox.innotek.de/mailman/listinfo/vbox-dev">http://vbox.innotek.de/mailman/listinfo/vbox-dev</a>
</pre>
      </blockquote>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
vbox-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</a>
<a class="moz-txt-link-freetext" href="http://vbox.innotek.de/mailman/listinfo/vbox-dev">http://vbox.innotek.de/mailman/listinfo/vbox-dev</a>
</pre>
    </blockquote>
  </body>
</html>