Subject: bootstrap failing on macos X.4.7
To: None <pkgsrc-users@netbsd.org>
From: Jeff Rizzo <riz@tastylime.net>
List: pkgsrc-users
Date: 08/10/2006 11:22:51
I wanted to bring pkgsrc on my powerbook up to something more recent
than > 1yr old, but bootstrap seems to fail for me:

<...>
config.status: nbcompat/config.h is unchanged
gcc  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c bits.c
gcc -I. -I.  -g -O2  -o bits bits.o
=2E/bits nbcompat/nbtypes.h
awk -f nbcompat.awk nbcompat/config.h > nbcompat/nbconfig.h
gcc  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c glob.c
In file included from ./nbcompat.h:67,
                 from __glob13.c:35,
                 from glob.c:12:
=2E/nbcompat/statvfs.h:70: error: conflicting types for 'fsblkcnt_t'
/usr/include/sys/types.h:341: error: previous declaration of
'fsblkcnt_t' was here
=2E/nbcompat/statvfs.h:71: error: conflicting types for 'fsfilcnt_t'
/usr/include/sys/types.h:346: error: previous declaration of
'fsfilcnt_t' was here
make: *** [glob.o] Error 1
=3D=3D=3D> exited with status 2
aborted.
host113:riz  /usr/pkgsrc/bootstrap> uname -a
Darwin host113.boogers.sf.ca.us 8.7.0 Darwin Kernel Version 8.7.0: Fri
May 26 15:20:53 PDT 2006; root:xnu-792.6.76.obj~1/RELEASE_PPC Power
Macintosh powerpc
host113:riz  /usr/pkgsrc/bootstrap>

Anyone have any thoughts where I should look?  I updated pkgsrc about
16h ago, so it's pretty recent.

+j