I found out what my problem was, thanks to a hint from Matthias. (Thanks
Matthias!)

I was invoking:

sh
/usr/psr.devel/SRPMS.orig/openpkg-20031020-20031020.src.sh --prefix=/usr/psr
.oit/solaris8 --musr=psr --mgrp=psr --susr=psr --sgrp=psr --rusr=psr --rgrp=
psr --nusr=psr --ngrp=psr

from a csh shell script, which re-invoked .cshrc, which in turn is designed
to set an absolute path for the build environment. Since /cw is only a part
of the build environment when bootstrapping, I was adding it to the path
dynamically by typing in "opa /cw". But when my csh script was invoked, the
"/cw" part of the path was lost and the wrong tools got picked up.

In case it helps anyone else, the error below apparently came from using the
GNU strip on files created with the native cc compiler on Solaris 9.

So I have added an "opa /cw" to my csh script and all is fine now. What I
can't figure out is why it worked just the day before yesterday!! (same
.cshrc, same csh shell script)

Thanks,
       Dennis

> -----Original Message-----
> From: Matthias Kurz [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 21, 2003 8:53 PM
> To: Dennis McRitchie
> Subject: Re: Can't build openpkg-20031020 on solaris 9
>
>
> On Tue, Oct 21, 2003 at 05:18:30PM -0400, Dennis McRitchie wrote:
> [...]
> > And the build then aborts. Searching on the web I've found
> several reports
> > that using GNU strip on solaris can cause the first error,
> which presumably
> > is responsible for the second error.
> >
> > Before I executed the openpkg bootstrap script (as above), I
> installed the
> > /cw binary packages for openpkg, make, binutils, and gcc; and
> then I did an
> > "opa /cw". Executing "strip --version" yields:
> >
> > vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
> > > strip --version
> > GNU strip 2.11.90.0.8
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> > Since this build using these /cw tools has worked for me
> before, I'm quite
> > perplexed as to why this is happening now.
>
> Hmmm, strip is part of the binutils. Do you use gcc with binutils ?
> Check with "rpm -q --provices gcc". And check, whether this is really
> the gcc that is used (hint: $HOME/.rpmmacros:%l_cc)
> Does is work, when you rename /cw/bin/strip ?
> My guess is also, that strip cripples tar.
>
>
>    (mk)
>
> --
> Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47
>    >> Im pr�motorischen Cortex kann jeder ein Held sein. (bdw) <<
>

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to