[gobolinux-users] BootStrap problem

Lucas C. Villa Real lucasvr at gobolinux.org
Mon Sep 24 08:47:05 NZST 2007


On 9/23/07, Aitor Pérez Iturri <aitor.iturri at bluebottle.com> wrote:
> More BootStrap questions.
> I'm having some problems whith ChrootCompile, the problem is the next:
>
> My cross_arch is epia-c3.
> My cross_prefix_dir is /Depot/System/Epia/C3.
> I'm using bootstrap from
> directory /Depot/Users/eof/Proyectos/Epia/Bootstrap.
>
> I'm compiling a package that requies some dependecies (Zlib).
> ChrootCompile should install the epia-c3 version for that package (yet
> compiled). It calls to MiniInstallPackage with this syntax:
>
> MiniInstallPackage --verbose
> Unpacked/epia-c3/ZLib/1.2.3 /Depot/Users/eof/Proyectos/Epia/Bootstrap/chroot/Area-FreeType-2.1.10-r1 /Depot/System/Epia/C3

This cmdline seems ok..


> It seems to copy files nice and then it calls MiniSymlinkProgram in
> this way;
>
> MiniSymlinkProgram
> --verbose /Programs/ZLib/1.2.3 /Depot/Users/eof/Proyectos/Epia/Bootstrap/chroot/Area-FreeType-2.1.10-r1//Depot/System/Epia/C3 /Depot/System/Epia/C3

...but this doesn't. It's concatenating $cross_prefix_dir with $root
when calling MiniSymlinkProgram, and that wouldn't work. Can you
please try this patch?


--- 20070923-CVS/bin/MiniInstallPackage 2007-09-23 14:33:41.000000000 -0700
+++ 20070922-CVS/bin/MiniInstallPackage 2007-09-23 14:32:54.000000000 -0700
@@ -63,11 +63,11 @@ then
 fi

 crossprefixdir="$3"
-root="$2/$crossprefixdir"
+root="$2"

 [ "$verbose" ] && echo "MiniInstallPackage: Installing $name version
$version..."

-pushd "$root/$goboPrograms" &> /dev/null
+pushd "$root/$crossprefixdir/$goboPrograms" &> /dev/null
 if [ "$realcopy" ]
 then
    mkdir -p "$name"


> P.S. Lucas, i have a working patch for ChrootCompile and InvokeCompile
> to solve the problem of the cross_blacklisted and the problem of the
> --rbind option when umounting.
> When i solved this other question i will send the patches to the
> mailing-list.

Ok, thanks.

> P.S.2 i sent this msg to this mailing list to continue the thread and
> maybe someone could have similar problems.
>
> Greets, Aitor.


-- 
Lucas
powered by /dev/dsp


More information about the gobolinux-users mailing list