X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C80BA1.F1AEE43C@onstor-exch02.onstor.net>; Wed, 10 Oct 2007 16:59:15 -0800
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-class: urn:content-classes:message
Subject: RE: log from bsd build on ripper
Date: Wed, 10 Oct 2007 16:59:15 -0800
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E056C9138@onstor-exch02.onstor.net>
In-Reply-To: <20071010175014.039c2952@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: log from bsd build on ripper
Thread-Index: AcgLoLEr7RgIt81jSxaFQ2InoftALwAATExA
From: "Larry Scheer" <larry.scheer@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>

Well shoot. Back to the drawing board.


-----Original Message-----
From: Andy Sharp=20
Sent: Wednesday, October 10, 2007 5:50 PM
To: Larry Scheer
Subject: Re: log from bsd build on ripper

Nope.  Wasn't building in /homes/andys/src/dev

Was building in /home/andy/src/dev

no 's's; local dir on ripper.

You can't get anywhere near as far as I got w/o the link.  I just
noticed the logs are there too.

Cheers,

a


On Wed, 10 Oct 2007 17:46:50 -0700 "Larry Scheer"
<larry.scheer@onstor.com> wrote:

> Okay, I see what's wrong.
> You are missing the following link:
>=20
> openbsd.new -> openbsd/
>=20
> The Makefile sets: export DESTDIR=3D${PWD}/openbsd.new;
> But $PWD which is /homes/andys/src/dev is missing openbsd.new=20
> Openbsd.new should be a link to openbsd.
>=20
> Yes, I know, the sins of the father are visited upon the children.
>=20
> -----Original Message-----
> From: Andy Sharp=20
> Sent: Wednesday, October 10, 2007 5:18 PM
> To: Larry Scheer
> Subject: Re: log from bsd build on ripper
>=20
> Of course.
>=20
> On Wed, 10 Oct 2007 17:09:48 -0700 "Larry Scheer"
> <larry.scheer@onstor.com> wrote:
>=20
> > I see DESTDIR is passed in as an environment variable and is
> > constructed with $PWD.=20
> >=20
> > Is PWD set in your shell environment?=20
> >=20
> > -----Original Message-----
> > From: Andy Sharp=20
> > Sent: Wednesday, October 10, 2007 4:44 PM
> > To: Larry Scheer
> > Subject: Re: log from bsd build on ripper
> >=20
> > Yeah, that's the one, and DESTDIR is blank for some reason.
> >=20
> > On Wed, 10 Oct 2007 14:46:43 -0700 "Larry Scheer"
> > <larry.scheer@onstor.com> wrote:
> >=20
> > > Is this the build variable issue you were referring to?
> > > I forgot all about this.... Sorry.
> > >=20
> > > -----Original Message-----
> > > From: Andy Sharp=20
> > > Sent: Thursday, September 20, 2007 1:19 PM
> > > To: Larry Scheer
> > > Subject: Re: log from bsd build on ripper
> > >=20
> > > Don't get hung up on pax v. tar; the real problem seems to be the
> > > variable not being set.  What did I do wrong to achieve that?
> > >=20
> > > Cheers,
> > >=20
> > > a
> > >=20
> > > On Thu, 20 Sep 2007 12:27:52 -0700 "Larry Scheer"
> > > <larry.scheer@onstor.com> wrote:
> > >=20
> > > > I see the Red Hat Desktops have pax installed as part of their
> > > > base OS.
> > > >=20
> > > > [lscheer@larrys wget-1.10.2]$ which pax
> > > > /usr/bin/pax
> > > > [lscheer@larrys wget-1.10.2]$ rpm -q -f /usr/bin/pax
> > > > pax-3.0-9
> > > >=20
> > > > -----Original Message-----
> > > > From: Andy Sharp=20
> > > > Sent: Thursday, September 20, 2007 12:17 PM
> > > > To: Larry Scheer
> > > > Subject: Re: log from bsd build on ripper
> > > >=20
> > > > Because they aren't the same on Linux, gnutar doesn't support
> > > > pax command syntax, and so we would have to install pax on every
> > > > workstation, which I would like to not do.  We don't
> > > >  build on bsd, so
> > > > what pax is on bsd is not really apropos.
> > > >=20
> > > > On Thu, 20 Sep 2007 12:12:37 -0700 "Larry Scheer"
> > > > <larry.scheer@onstor.com> wrote:
> > > >=20
> > > > > I haven't looked at the log closely but in OpenBSD pax is tar.
> > > > > They are the same program. Tar is a hard-link to pax. Not sure
> > > > > why you thought it was important to change that.
> > > > >=20
> > > > > -----Original Message-----
> > > > > From: Andy Sharp=20
> > > > > Sent: Thursday, September 20, 2007 12:01 PM
> > > > > To: Larry Scheer
> > > > > Subject: log from bsd build on ripper
> > > > >=20
> > > > > Larry, attached is the log from trying to build bsd on ripper.
> > > > > One of the important changes I made was to replace pax with
> > > > > tar in openbsd/src/include/Makefile, however, ${DESTDIR} does
> > > > > not seem to be set to anything when that makefile runs, so it
> > > > > installs a bunch of shiite in /usr/cross instead of a relative
> > > > > directory.
> > > > >=20
> > > > > Any ideas?
> > > > >=20
> > > > > $ p4 diff openbsd/src/include/Makefile
> > > > > =3D=3D=3D=3D //depot/dev/openbsd/src/include/Makefile#1 -
> > > > > /home/andy/src/dev/openbsd/src/include/Makefile =3D=3D=3D=3D
> > > > > 131a132,136
> > > > > > #     cd ../sys; \
> > > > > > #     pax -rw -pa -L \
> > > > > > #         `find ${LDIRS} -follow -type f -name '*.h' '!'
> > > > > > -path \ #         'netiso/xebec/*' '!' -path
> > > > > > 'dev/microcode/*' \ #         -print` ${DESTDIR}/usr/include
> > > > > 133,136c138,139
> > > > > <       pax -rw -pa -L \
> > > > > <           `find ${LDIRS} -follow -type f -name '*.h' '!'
> > > > > -path \ <           'netiso/xebec/*' '!' -path
> > > > > 'dev/microcode/*' \ <           -print` ${DESTDIR}/usr/include
> > > > > ---
> > > > > >               tar chf - ${LDIRS} | (cd
> > > > > > $(DESTDIR)/usr/include && \ tar xvf - --wildcards
> > > > > > --exclude=3Dnetiso/xebec
> > > > > --exclude=3Ddev/microcode \*.h)
> > > > > 140,142c143,147
> > > > > <       pax -rw -pa -s "|\.\./sys/arch/${MACHINE}/include||" \
> > > > > <           ../sys/arch/${MACHINE}/include/*.h \
> > > > > <           ${DESTDIR}/usr/include/${MACHINE}
> > > > > ---
> > > > > > #     pax -rw -pa -s "|\.\./sys/arch/${MACHINE}/include||" \
> > > > > > #         ../sys/arch/${MACHINE}/include/*.h \
> > > > > > #         ${DESTDIR}/usr/include/${MACHINE}
> > > > > >       (cd ../sys/arch/${MACHINE}/include && tar cf - *.h) |
> > > > > > \ (cd ${DESTDIR}/usr/include/${MACHINE} && tar xvf
> > > > > > -)
> > > > > 147,149c152,153
> > > > > <               pax -rw -pa -s
> > > > > "|\.\./sys/arch/${MACHINE_ARCH}/include||" \
> > > > > <                   ../sys/arch/${MACHINE_ARCH}/include/*.h \
> > > > > <                   ${DESTDIR}/usr/include/${MACHINE_ARCH}; \
> > > > > ---
> > > > > >               (cd ../sys/arch/${MACHINE_ARCH}/include && tar
> > > > > > cf
> > > > > > - *.h)
> > > > > | \
> > > > > >                       (cd
> > > > > > ${DESTDIR}/usr/include/${MACHINE_ARCH} &&
> > > > > tar xvf -) \
