[haiku-bugs] Re: [Haiku] #5685: Troubles relocating in VirtualBox Haiku Guest

  • From: "mmadia" <trac@xxxxxxxxxxxx>
  • Date: Mon, 12 Apr 2010 21:16:24 -0000

#5685: Troubles relocating in VirtualBox Haiku Guest
-----------------------+----------------------------------------------------
 Reporter:  kallisti5  |       Owner:  mmadia        
     Type:  bug        |      Status:  in-progress   
 Priority:  normal     |   Milestone:  R1            
Component:  - General  |     Version:  R1/Development
 Keywords:             |   Blockedby:                
 Platform:  All        |    Blocking:                
-----------------------+----------------------------------------------------
Changes (by mmadia):

  * owner:  nobody => mmadia
  * status:  new => in-progress


Comment:

 Ah, the 'unary operator' is a parsing error in installoptionalpackage,
 which i'll work on now.

 For the curious, this is partial output of parsing jam into bash, the if
 test for HAIKU_INCLUDE_SOURCES isn't handled correctly.

 tmp/install-optpkg.sh:240
 {{{
 if [ "SomeText" != BeZillaBrowser ] ; then
 if [ ${TARGET_ARCH} != x86 ] ; then
 echo "No optional package BeZillaBrowser available for ${TARGET_ARCH}" ;
 elif [ ${HAIKU_GCC_VERSION[1]} -ge 4 ] ; then
 InstallOptionalHaikuImagePackage
 BeZillaBrowser-2.0.0.22pre-x86-gcc4-2010-03-14.zip :
 ${baseURL}/BeZillaBrowser-2.0.0.22pre-x86-gcc4-2010-03-14.zip : ;
 AddSymlinkToHaikuImage home config be Applications :
 /boot/apps/BeZillaBrowser/BeZillaBrowser ;
 if [ ${HAIKU_INCLUDE_SOURCES} = 1 ] ; then
 InstallSourceArchive BeZillaBrowser-2010-01-21-src.7z
 : http://www.haiku-
 files.org/files/sources/2010/BeZillaBrowser-2010-01-21-src.7z
 fi
 else
 InstallOptionalHaikuImagePackage
 BeZillaBrowser-2.0.0.22pre-x86-gcc2-2010-03-14.zip :
 ${baseURL}/BeZillaBrowser-2.0.0.22pre-x86-gcc2-2010-03-14.zip : ;
 AddSymlinkToHaikuImage home config be Applications :
 /boot/apps/BeZillaBrowser/BeZillaBrowser ;
 if [ ${HAIKU_INCLUDE_SOURCES} = 1 ] ; then
 InstallSourceArchive BeZillaBrowser-2010-01-21-src.7z
 : http://www.haiku-
 files.org/files/sources/2010/BeZillaBrowser-2010-01-21-src.7z
 fi
 fi
 fi
 }}}

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5685#comment:5>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: