Subject: bootstrap on Darwin is missing text.tgz :P
To: None <tech-pkg@netbsd.org>
From: Charlie Allom <charlie@rubberduck.com>
List: tech-pkg
Date: 10/31/2002 02:31:30
Hi,

Just tried to bootstrap pkgsrc on Darwin, and it complains in the same
way that pkgsrc will complain if you don't have text.tgz installed on
your NetBSD box.

gcc -DHAVE_CONFIG_H -I. -I. -I../lib  -g -O2 -c main.c -o main.o
In file included from main.c:48:
/usr/include/sys/resource.h:81: field `ru_utime' has incomplete type
/usr/include/sys/resource.h:82: field `ru_stime' has incomplete type
make[1]: *** [main.o] Error 1
make: *** [adddir] Error 2
===> Cleaning for digest-20010807
===> Extracting for digest-20010807
===> Building for digest-20010807
cc -pipe -g  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual
-Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -Werror
-no-cpp-precomp -I/Volumes/NetBSD/pkgsrc/pkgtools/digest/work
-DVERSION="20010807" -DHAVE_MACHINE_ENDIAN_H_ -c digest.c
cc -pipe -g  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual
-Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -Werror
-no-cpp-precomp -I/Volumes/NetBSD/pkgsrc/pkgtools/digest/work
-DVERSION="20010807" -DHAVE_MACHINE_ENDIAN_H_ -c rmd160.c
cc -pipe -g  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual
-Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -Werror
-no-cpp-precomp -I/Volumes/NetBSD/pkgsrc/pkgtools/digest/work
-DVERSION="20010807" -DHAVE_MACHINE_ENDIAN_H_ -c rmd160hl.c
cc -pipe -g  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual
-Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -Werror
-no-cpp-precomp -I/Volumes/NetBSD/pkgsrc/pkgtools/digest/work
-DVERSION="20010807" -DHAVE_MACHINE_ENDIAN_H_ -c sha1.c
cc -pipe -g  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual
-Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -Werror
-no-cpp-precomp -I/Volumes/NetBSD/pkgsrc/pkgtools/digest/work
-DVERSION="20010807" -DHAVE_MACHINE_ENDIAN_H_ -c sha1hl.c
cc -pipe -g  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual
-Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -Werror
-no-cpp-precomp -I/Volumes/NetBSD/pkgsrc/pkgtools/digest/work
-DVERSION="20010807" -DHAVE_MACHINE_ENDIAN_H_ -c sha2.c
cc -pipe -g  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual
-Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -Werror
-no-cpp-precomp -I/Volumes/NetBSD/pkgsrc/pkgtools/digest/work
-DVERSION="20010807" -DHAVE_MACHINE_ENDIAN_H_ -c sha2hl.c
cc -pipe -g  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual
-Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -Werror
-no-cpp-precomp -I/Volumes/NetBSD/pkgsrc/pkgtools/digest/work
-DVERSION="20010807" -DHAVE_MACHINE_ENDIAN_H_ -c md5c.c
cc -pipe -g  -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual
-Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -Werror
-no-cpp-precomp -I/Volumes/NetBSD/pkgsrc/pkgtools/digest/work
-DVERSION="20010807" -DHAVE_MACHINE_ENDIAN_H_ -c md5hl.c
cc -pipe   -o digest digest.o rmd160.o rmd160hl.o sha1.o sha1hl.o
sha2.o sha2hl.o md5c.o md5hl.o 
bmake: don't know how to make /usr/share/groff/tmac/tmac.andoc. Stop

bmake: stopped in /Volumes/NetBSD/pkgsrc/pkgtools/digest/work
*** Error code 2

Stop.
bmake: stopped in /Volumes/NetBSD/pkgsrc/pkgtools/digest
*** Error code 1

Stop.
bmake: stopped in /Volumes/NetBSD/pkgsrc/pkgtools/digest
Please remember to add /Volumes/NetBSD/pkg/bin to your PATH
environment variable
Please remember to set FETCH_CMD in /etc/mk.conf to
/Volumes/NetBSD/pkg/bin/ftp

Hopefully everything is now complete
983 yeled@peko:~/Documents/dev/bootstrap-pkgsrc uname -a
[2:26]
Darwin peko.adc.rmit.edu.au 6.1 Darwin Kernel Version 6.1: Fri Sep  6
23:24:34 PDT 2002; root:xnu/xnu-344.2.obj~2/RELEASE_PPC  Power
Macintosh powerpc


-- 
 charlie@rubberduck.com
 http://rubberduck.com/yeled/pgp.txt