AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20070819171511.7b48f9f5@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<larry.scheer@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E042EFF80@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Sun, 19 Aug 2007 17:16:51 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Larry Scheer" <larry.scheer@onstor.com>
Subject: Re: Adding extra gcc packages gives debootstrap --second-stage gass
Message-ID: <20070819171651.72bc0fd4@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E042EFF80@onstor-exch02.onstor.net>
References: <BB375AF679D4A34E9CA8DFA650E2B04E02215990@onstor-exch02.onstor.net>
	<20070817233613.1b7383c7@ripper.onstor.net>
	<BB375AF679D4A34E9CA8DFA650E2B04E042EFF80@onstor-exch02.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Sat, 18 Aug 2007 14:45:04 -0700 "Larry Scheer"
<larry.scheer@onstor.com> wrote:

> Andy,
>    I guess I misunderstood your direction. I thought you wanted my
> work checked in before I went on vacation so I checked in what I have
> knowing full well more work was needed. Thats why I haven't sent a
> message to dl-cougar saying the root filesystem is fully automated.
> 
> I didn't think I was cutting corners. I am staging my work in phases.

Poor choice of words on my part.  I didn't mean to imply you were doing
anything wrong. Just that is the normal mode of development compared to
how things are done once they are all completely captured in the
makefiles and so forth, and I realize that going from the first step
to the second step is sometimes as much work as the first step.

> I thought I was doing it methodically in the manner you and I
> dicussed how to proceed. Right now the root filesystem does not have

Yes, that's correct, you were.  No problems there.

> any of the Onstor packages, including libc, incorporated into it. I
> want to see that the "pure debian" packages can all get installed
> properly using the method of rcS calling debootstrap --second-stage.
> Which works without the gcc packages. This next stage is getting
> everything to work with the extra packages.

OK, got it.

> Just some facts about this error. 
> tzdata_2007b-1_all.deb is downloaded by debootstrap as part of the
> base system No Onstor packages are included in this build
> This new error comes from adding the gcc packages which I did at your
> request. Adding those packages radically changed the behavior of
> debootstrap --second-stage The seg fault message is suspicious -- not
> sure why that would happen. I don't know if the error is repeatable I
> only had time to test it once.

No biggy.

> The C library RPATH, LPATH, issue is a different issue that does
> involve our code and changes to libc and is only related to the
> bring-up of the root filesystem because ld.so-cache was not created
> by debootstrap --second-stage. But it is something I am investigating
> entirely separate from this error.

OK.  I thought that you were saying they were the same or related.

> Larry
> 
> -----Original Message-----
> From: Andy Sharp
> Sent: Fri 8/17/2007 11:36 PM
> To: Larry Scheer
> Subject: Re: Adding extra gcc packages gives debootstrap
> --second-stage gass 
> This is why I said specifically to test it before checking it in,
> Larry.  Because it would be so likely that you got everything to work
> with some hacked of version of various things, did other things by
> hand, had various packages installing from cache, and so on.
> 
> You cut a lot of corners while you're developing.  Then you have to
> un-cut those corners and get everything arranged right to check it all
> in, but you don't quite have everything arranged right, obviously.
> The error message says you don't have tzdata installed.  That's got
> to mean something.  Like maybe you don't have tzdata installed from
> the glibc you're building.  The tzdata package can be installed from
> the stock package, we don't modify that one at all.
> 
> It also sounds like you have some problems with the C library you are
> building, possibly some issues with RPATH and LPATH.
> 
> 
> On Fri, 17 Aug 2007 18:37:47 -0700 "Larry Scheer"
> <larry.scheer@onstor.com> wrote:
> 
> > Andy,
> >    I went ahead and submitted the rootfs and source scripts just to
> > have the latest updates to these files in the depot.
> > 
> > However, debootstrap took a crap when I was testing the additional
> > changes for VARAINT = dbg:
> > 
> > INIT: version 2.86 booting
> > I: Validating Packages
> > I: Resolving dependencies of required packages...
> > I: Resolving dependencies of base packages...
> > I: Installing core packages...
> > W: Failure trying to run: chroot / dpkg --force-depends --install
> > var/cache/apt/archives/libc6_2.3.6.ds1-13etch2_mipsel.deb
> > 
> > From the log:
> > 
> > Selecting previously deselected package libc6.
> > (Reading database ... 304 files and directories currently
> > installed.) Unpacking libc6
> > (from .../libc6_2.3.6.ds1-13etch2_mipsel.deb) ... dpkg: libc6:
> > dependency problems, but configuring anyway as you request: libc6
> > depends on tzdata; however: Package tzdata is not installed.
> > Setting up libc6 (2.3.6.ds1-13etch2) ...
> > dpkg: error processing libc6 (--install):
> >  subprocess post-installation script killed by signal (Segmentation
> > fault)
> > Errors were encountered while processing:
> >  libc6
> > 
> > Not sure if this is an order thing or just weirdness. The seg-fault
> > is unexpected.
> 
