X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C80B9B.09988D1B@onstor-exch02.onstor.net>; Wed, 10 Oct 2007 16:09:48 -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:09:48 -0800
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E056C9136@onstor-exch02.onstor.net>
In-Reply-To: <20071010164331.10177def@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: log from bsd build on ripper
Thread-Index: AcgLl15QBwN8dU7uQLe/J85zRaHxzQAABXAw
From: "Larry Scheer" <larry.scheer@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>

I see DESTDIR is passed in as an environment variable and is constructed
with $PWD.=20

Is PWD set in your shell environment?=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

Yeah, that's the one, and DESTDIR is blank for some reason.

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

> 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 -) \
