AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20070920131829.3f400e74@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<larry.scheer@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E056C90EF@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Thu, 20 Sep 2007 13:18:38 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Larry Scheer" <larry.scheer@onstor.com>
Subject: Re: log from bsd build on ripper
Message-ID: <20070920131838.456267a0@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E056C90EF@onstor-exch02.onstor.net>
References: <20070920121717.7b0f816d@ripper.onstor.net>
	<BB375AF679D4A34E9CA8DFA650E2B04E056C90EF@onstor-exch02.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

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?

Cheers,

a

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

> 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 
> 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.
> > 
> > -----Original Message-----
> > From: Andy Sharp 
> > 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
> > ==== //depot/dev/openbsd/src/include/Makefile#1 -
> > /home/andy/src/dev/openbsd/src/include/Makefile ====
> > 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=netiso/xebec
> > --exclude=dev/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 -) \
