On Wed, Jul 15, 2009 at 6:23 PM, Rehan<[email protected]> wrote:
> Hi,
Hi there,
> I’ve been playing around with the Bootstrap v1.1 and come across some
> issues, some of which I have ‘fixed’ and some not.
>
> I am initially trying to get it to do a native build just to get a feel for
> it. I’ll run through the issues as I remember them.
Ok. Bootstrap development happens mainly in Subversion. The release
version isn't really indicated if you intend to generate a native
build; it's been used almost exclusively for cross compiling packages
to different architectures.
> 1) The cross-native.conf config file was missing from the svn Compile
> version I am running. I found a copy of this file by taking pot shots at
> older svn versions so that seems to be fixed (but may be wrong)
That file was removed from Compile because we don't really need it. It
was more of a hack to rollback from Cross mode into Native mode again,
but no applications should depend on it nowadays.
> 2) Next was the function Get_System_Paths function in
> /Programs/Scripts/Functions/GoboLinux. BootStrap was error-ing on this but
> continuing on. This was fixed by re-writing the function, as suggested by
> detsch on irc, to :
>
> Function Get_System_Paths () {
> Parameters “$1” programpath
> find "${programpath}" -mindepth 2 | while read path
> do
> Programs_To_System_Path "${path}"
> done
>
> I’m not sure if this has implications for other scripts?
At which point you noticed the Get_System_Paths error? Starting a new
FS with the Subversion snapshot seems to be ok.
> 3) Bootstrap throws out a bunch of signedness warnings while it is compiling
> the menu but the menu works ok. It might be an idea to have menuconfig
> respond to esc esc to go back similar to the kernel menuconfig.
Ah, that's true. The menu interface of Bootstrap was taken from
uClibc's buildroot project and slightly modified to print Bootstrap
messages. I would look into which progress was made on that project's
menu interface and then merge that into Bootstrap, but feel free if
you want to add that feature to it. The source code for the menu
interface is under scripts/ .
> 4) There were a couple of errors in the package config.in files (IIRC the BC
> config.in and one other, I forget now) which was fixed by adding the
> required first two lines deduced from looking at other packages config.in’s.
Could you please provide patches for that against the SVN snapshot?
> This got me to the point where there were no errors from bootstrap and it
> was doing things consistently the same way on each invocation. I am at the
> point where it now downloads the chroot environment (this was failing I
> guess due to 2 above) and attempts to chrootcompile the first package. It
> seems that this gets stuck somehow and then goes into an endless loop of
> trying and re-trying the chrootcompile. There aren’t any useful error
> messages that I can see, in fact chrootcompile seems to think it is doing ok
> and carries on.
>
> Anyone have any suggestions on how can I proceed from here?
I'd like to suggest you to try the SVN version. Bootstrap was created
with cross compiling in mind and only later I started to add support
for a Native build. I created only one Native port (for a Mac PPC),
bootstrapped from Ubuntu for that same hardware, so it's really likely
that you will step on some eventual bugs.
I can launch a script to build a minimal Native system to see what
happens, too. I'll do that and will keep an eye open to see how far it
goes.
Thanks,
--
Lucas
"If you're looking for a reason I've a reason to give: pleasure,
little treasure"
_______________________________________________
gobolinux-devel mailing list
[email protected]
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel