[gobolinux-devel] Re: [gobolinux-commits] tools/ChrootCompile SetupChrootEnv

André Detsch detsch at gmail.com
Sat Sep 2 23:18:24 UTC 2006


On 9/2/06, Jonas Karlsson <jonka750 at student.liu.se> wrote:
> I got this part after having runned the script for some recipes :)
> But that was after I asked the question...
Ok :)

> I found this out as well. But couldn't the installed packages from
> SetupChrootEnv be used? First time ChrootCompile is called it installs all
> programs that SetupChrootEnv stated it installed. Where did SetupChrootEnv
> install its apps otherwice?

It does not install apps. It only donwloads a set of packages,
checkouts some CVS tools and performs some small operations, like
symbolic links creation.

> Anyhow, now ChrootCompile dies for me, trying to Compile Fontconfig:
>
> [...]
> Installing "Expat"...
> Installing "FreeType"...
> Unpacking Clean/i686/FreeType--2.2.1--i686.tar.bz2...
> ChrootCompile: Error unpacking Clean/i686/FreeType--2.2.1--i686.tar.bz2
> basename: too few arguments
> Try `basename --help' for more information.
> dirname: too few arguments
> Try `dirname --help' for more information.
> ls: : No such file or directory
> sudo: no passwd entry for root!
> sudo: no passwd entry for root!
> ChrootCompile: Will run Compile...
> [...]
>
> why does it go from installing to unpacking? I just Compiled FreeType
> using ChrootCompile and it's present in "Clean".

It's probably because FreeType--2.2.1--i686.tar.bz2 was not correctly
packed. I've just commited a small change, that forces
'chrootcompileMode=gobo', which works better when packing packages.
Anyway, the error above should lead to a program exit (fix needed).

Another tip:
By default, SetupChrootEnv fetches only a basic set of packages. In
order to get a more complete set of packages, you can call
'SetupChrootEnv --complete' (or '-c'). This fetches all packages
currently being used at 013 (~560MB).


-- 
Andre Detsch


More information about the gobolinux-devel mailing list