X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C7FBBA.35441CD9@onstor-exch02.onstor.net>; Thu, 20 Sep 2007 11:12:37 -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:12:37 -0800
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E056C90EE@onstor-exch02.onstor.net>
In-Reply-To: <20070920120039.545c28fd@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: log from bsd build on ripper
Thread-Index: Acf7uIkiqs7nmFNrQAiTxO14ic2TzwAAXEAw
From: "Larry Scheer" <larry.scheer@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>

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.

-----Original Message-----
From: Andy Sharp=20
Sent: Thursday, September 20, 2007 12:01 PM
To: Larry Scheer
Subject: log from bsd build on ripper

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.

Any ideas?

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