X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C7FBBC.56229BBF@onstor-exch02.onstor.net>; Thu, 20 Sep 2007 11:27:52 -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: Thu, 20 Sep 2007 11:27:52 -0800
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E056C90EF@onstor-exch02.onstor.net>
In-Reply-To: <20070920121717.7b0f816d@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: log from bsd build on ripper
Thread-Index: Acf7utvNZ5RiAVeYTKOkXZlr0nXxwQAAQjVg
From: "Larry Scheer" <larry.scheer@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>

I see the Red Hat Desktops have pax installed as part of their base OS.

[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

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

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.

On Thu, 20 Sep 2007 12:12:37 -0700 "Larry Scheer"
<larry.scheer@onstor.com> wrote:

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