Subject: Re: CVS commit: othersrc/bootstrap-pkgsrc/pax
To: None <tech-pkg@netbsd.org>
From: Alistair Crooks <agc@wasabisystems.com>
List: tech-pkg
Date: 10/31/2002 17:06:18
On Fri, Nov 01, 2002 at 01:37:37AM +1100, Charlie Allom wrote:
> On Thu, Oct 31, 2002 at 02:17:02PM +0200, Alistair G. Crooks wrote:
> > 
> > Module Name:	othersrc
> > Committed By:	agc
> > Date:		Thu Oct 31 12:17:02 UTC 2002
> > 
> > Update of /cvsroot/othersrc/bootstrap-pkgsrc/pax
> > In directory minbar.netbsd.org:/tmp/cvs-serv27682
> > 
> > Log Message:
> > Import an autoconf-ed version of NetBSD's pax(1) utility so that the
> > bootstrap-pkgsrc process can use the right version of tar.
> > 
> > The NetBSD pax sources were autoconf-ed by Jonathan Perkin, with slight
> > changes by myself to use the password and group caching mechanisms on
> > all operating systems, and to find more functionality via autoconf.
> 
> Does this work for you?
> 
> /bin/sh ./mkinstalldirs /usr/pkg/bin
> ./install-sh -c digest /usr/pkg/bin/digest
> checking build system type... sparc-sun-solaris2.8
> checking host system type... sparc-sun-solaris2.8
> config.status: creating Makefile
> config.status: creating config.h
> config.status: config.h is unchanged
> gcc -DHAVE_CONFIG_H -I. -I. -I../digest -I../mtree  -g -O2 -c
> ../lukemftp/libukem/strlcpy.c -o ../lukemftp/libukem/strlcpy.o
> ../lukemftp/libukem/strlcpy.c:32: lukemftp.h: No such file or
> directory
> *** Error code 1
> make: Fatal error: Command failed for target
> `../lukemftp/libukem/strlcpy.o'
> installation of pax failed.
> 38 root@tao:/home/yeled/bootstrap-pkgsrc
> [14:28]
> 
> SunOS tao 5.8 sparc
> 
> gcc-2.95.3 & make-3.80 from sunfreeware :)

Yeah.

config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
gcc -DHAVE_CONFIG_H -I. -I. -I../digest -I../mtree  -g -O2 -c ar_io.c -o ar_io.o
gcc -DHAVE_CONFIG_H -I. -I. -I../digest -I../mtree  -g -O2 -c ar_subs.c -o ar_subs.o
gcc -DHAVE_CONFIG_H -I. -I. -I../digest -I../mtree  -g -O2 -c buf_subs.c -o buf_subs.o
gcc -DHAVE_CONFIG_H -I. -I. -I../digest -I../mtree  -g -O2 -c cpio.c -o cpio.o
gcc -DHAVE_CONFIG_H -I. -I. -I../digest -I../mtree  -g -O2 -c err.c -o err.o
gcc -DHAVE_CONFIG_H -I. -I. -I../digest -I../mtree  -g -O2 -c file_subs.c -o file_subs.o
gcc -DHAVE_CONFIG_H -I. -I. -I../digest -I../mtree  -g -O2 -c ftree.c -o ftree.o
In file included from ../mtree/mtree.h:41,
                 from ftree.c:104:
../digest/digest-types.h:12: warning: redefinition of `uint32_t'
/usr/include/sys/int_types.h:80: warning: `uint32_t' previously declared here
gcc -DHAVE_CONFIG_H -I. -I. -I../digest -I../mtree  -g -O2 -c gen_subs.c -o gen_subs.o
gcc -DHAVE_CONFIG_H -I. -I. -I../digest -I../mtree  -g -O2 -c getoldopt.c -o getoldopt.o
gcc -DHAVE_CONFIG_H -I. -I. -I../digest -I../mtree  -g -O2 -c getopt_long.c -o getopt_long.o
gcc -DHAVE_CONFIG_H -I. -I. -I../digest -I../mtree  -g -O2 -c options.c -o options.o
In file included from ../mtree/mtree.h:41,
                 from options.c:79:
../digest/digest-types.h:12: warning: redefinition of `uint32_t'
/usr/include/sys/int_types.h:80: warning: `uint32_t' previously declared here
options.c: In function `getline':
options.c:1897: warning: assignment makes pointer from integer without a cast
gcc -DHAVE_CONFIG_H -I. -I. -I../digest -I../mtree  -g -O2 -c pat_rep.c -o pat_rep.o
gcc -DHAVE_CONFIG_H -I. -I. -I../digest -I../mtree  -g -O2 -c pax.c -o pax.o
gcc -DHAVE_CONFIG_H -I. -I. -I../digest -I../mtree  -g -O2 -c pwcache.c -o pwcache.o
pwcache.c:123: warning: initialization from incompatible pointer type
pwcache.c:134: warning: initialization from incompatible pointer type
gcc -DHAVE_CONFIG_H -I. -I. -I../digest -I../mtree  -g -O2 -c sel_subs.c -o sel_subs.o
gcc -DHAVE_CONFIG_H -I. -I. -I../digest -I../mtree  -g -O2 -c setprogname.c -o setprogname.o
gcc -DHAVE_CONFIG_H -I. -I. -I../digest -I../mtree  -g -O2 -c strmode.c -o strmode.o
gcc -DHAVE_CONFIG_H -I. -I. -I../digest -I../mtree  -g -O2 -c tables.c -o tables.o
gcc -DHAVE_CONFIG_H -I. -I. -I../digest -I../mtree  -g -O2 -c tar.c -o tar.o
tar.c: In function `tar_gnutar_X_compat':
gcc -DHAVE_CONFIG_H -I. -I. -I../digest -I../mtree  -g -O2 -c tty_subs.c -o tty_subs.o
gcc -DHAVE_CONFIG_H -I. -I. -I../digest -I../mtree  -g -O2 -c __fts13.c -o __fts13.o
gcc -DHAVE_CONFIG_H -I. -I. -I../digest -I../mtree  -g -O2 -c vis.c -o vis.o
gcc -g -O2  -o pax ar_io.o ar_subs.o buf_subs.o cpio.o err.o file_subs.o ftree.o  gen_subs.o getoldopt.o getopt_long.o options.o pat_rep.o pax.o  pwcache.o sel_subs.o setprogname.o strmode.o tables.o tar.o  tty_subs.o __fts13.o vis.o  ../lukemftp/libukem/strlcpy.o  ../mtree/fgetln.o ../mtree/getid.o ../mtree/misc.o  ../mtree/pack_dev.o ../mtree/setmode.o ../mtree/spec.o  ../mtree/stat_flags.o ../mtree/unvis.o
./install-sh -c pax /export/home/agc/stage/bin
ln /export/home/agc/stage/bin/pax /export/home/agc/stage/bin/tar
ln /export/home/agc/stage/bin/pax /export/home/agc/stage/bin/cpio

Using Solaris/x86 version 2.7 /usr/ccs/bin/make

Take care,
Alistair