pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Bootstrap of pkgsrc fails on OS X 10.5, xcode 3.1 (gcc 4.2)



Searching back, I can find similar errors, but no solutions that seem applicable
.  I have pkgsrc-current, on a case-sensitive filesystem, on an Intel Mac.  Belo
w are the errors received.

Thanks for any help!

ajacocks@wraith[bootstrap]$ sudo ./bootstrap 
Password:
===> bootstrap command: ./bootstrap 
===> bootstrap started: Wed Sep 10 21:39:16 EDT 2008
Working directory is: /usr/pkgsrc/bootstrap/work
===> running: /usr/bin/sed -e 's|@DEFAULT_INSTALL_MODE@|'0755'|' /usr/pkgsrc/sys
utils/install-sh/files/install-sh.in > /usr/pkgsrc/bootstrap/work/bin/install-sh

===> running: /bin/chmod +x /usr/pkgsrc/bootstrap/work/bin/install-sh
===> Building libnbcompat
===> running: /bin/sh /usr/pkgsrc/bootstrap/work/bin/install-sh -d -o root -g wh
eel /usr/pkgsrc/bootstrap/work/libnbcompat
===> running: (cd /usr/pkgsrc/bootstrap/work/libnbcompat; /bin/sh ./configure  -
C --prefix=/usr/pkg --mandir=/usr/pkg/man --sysconfdir=/usr/pkg/etc && make )
configure: creating cache config.cache
checking build system type... i386-apple-darwin9.4.0
checking host system type... i386-apple-darwin9.4.0
checking whether make sets $(MAKE)... yes
checking for gcc... gcc -isystem /usr/include
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -isystem /usr/include accepts -g... yes
checking for gcc -isystem /usr/include option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking for ar... ar
checking for fparseln in -lutil... yes
checking how to run the C preprocessor... gcc -isystem /usr/include -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for inttypes.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/bitypes.h usability... no
checking sys/bitypes.h presence... no
checking for sys/bitypes.h... no
checking bind/bitypes.h usability... no
checking bind/bitypes.h presence... no
checking for bind/bitypes.h... no
checking netinet/in6_machtypes.h usability... no
checking netinet/in6_machtypes.h presence... no
checking for netinet/in6_machtypes.h... no
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking err.h usability... yes
checking err.h presence... yes
checking for err.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking fts.h usability... yes
checking fts.h presence... yes
checking for fts.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking machine/endian.h usability... yes
checking machine/endian.h presence... yes
checking for machine/endian.h... yes
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/byteorder.h usability... no
checking sys/byteorder.h presence... no
checking for sys/byteorder.h... no
checking sys/cdefs.h usability... yes
checking sys/cdefs.h presence... yes
checking for sys/cdefs.h... yes
checking sys/dir.h usability... yes
checking sys/dir.h presence... yes
checking for sys/dir.h... yes
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/ndir.h usability... no
checking sys/ndir.h presence... no
checking for sys/ndir.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/stat.h... (cached) yes
checking sys/statfs.h usability... no
checking sys/statfs.h presence... no
checking for sys/statfs.h... no
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/ttycom.h usability... yes
checking sys/ttycom.h presence... yes
checking for sys/ttycom.h... yes
checking for sys/types.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/vfs.h usability... no
checking sys/vfs.h presence... no
checking for sys/vfs.h... no
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking tzfile.h usability... yes
checking tzfile.h presence... yes
checking for tzfile.h... yes
checking for unistd.h... (cached) yes
checking util.h usability... yes
checking util.h presence... yes
checking for util.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for sys/mount.h... yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking sys/queue.h usability... yes
checking sys/queue.h presence... yes
checking for sys/queue.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for regexec... yes
checking md5.h usability... no
checking md5.h presence... no
checking for md5.h... no
checking for md5.h... (cached) no
checking rmd160.h usability... no
checking rmd160.h presence... no
checking for rmd160.h... no
checking sha1.h usability... no
checking sha1.h presence... no
checking for sha1.h... no
checking sha2.h usability... no
checking sha2.h presence... no
checking for sha2.h... no
checking for MD5File... no
checking for RMD160File... no
checking for SHA1File... no
checking for SHA512_File... no
checking whether optind is declared... yes
checking whether optreset is declared... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for struct option... yes
checking vis.h usability... yes
checking vis.h presence... yes
checking for vis.h... yes
checking for VIS_WHITE in vis.h... yes
checking for strunvis... yes
checking for strvis... yes
checking for strsvis... no
checking for svis... no
checking for unvis... yes
checking for vis... yes
checking for strunvis... (cached) yes
checking for strvis... (cached) yes
checking for strsvis... (cached) no
checking for __attribute__... yes
checking for size_t... yes
checking for uintptr_t... yes
checking for long long... yes
checking for long double... yes
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for u_int64_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for fsid_t... yes
checking whether byte ordering is bigendian... universal
checking size of off_t... 8
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for vprintf... yes
checking for _doprnt... no
checking whether snprintf is declared... yes
checking whether vasprintf is declared... yes
checking for asprintf... yes
checking for err... yes
checking for fgetln... yes
checking for fnmatch... yes
checking for fparseln... yes
checking for getenv... yes
checking for isblank... yes
checking for lchflags... yes
checking for lchmod... yes
checking for lchown... yes
checking for lutimes... yes
checking for mkdtemp... yes
checking for mkstemp... yes
checking for setenv... yes
checking for setgroupent... yes
checking for setpassent... yes
checking for setprogname... yes
checking for snprintf... yes
checking for statvfs... yes
checking for strdup... yes
checking for strerror... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for strmode... yes
checking for strsep... yes
checking for strtoll... yes
checking for unsetenv... yes
checking for usleep... yes
checking for utimes... yes
checking for warn... yes
checking for getenv... (cached) yes
checking for setenv... (cached) yes
checking for unsetenv... (cached) yes
checking for mkdtemp... (cached) yes
checking for mkstemp... (cached) yes
checking for bcopy... yes
checking for bzero... yes
checking for memset... yes
checking for memcpy... yes
checking for setlocale... yes
checking for getmode... yes
checking for setmode... yes
checking for getmode... (cached) yes
checking for setmode... (cached) yes
checking whether endgrent is declared... no
checking whether endpwent is declared... no
checking for gid_from_group... no
checking for fts_open... yes
checking for timegm... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking for poll.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for poll... yes
checking if poll() is implemented natively... yes
checking for getpassphrase... no
checking for getpgrp... yes
checking for memmove... yes
checking for select... yes
checking for getpgrp... (cached) yes
checking whether getpgrp requires zero arguments... yes
checking for struct statfs.f_flags... no
checking for struct statfs.f_fsize... no
checking for struct statfs.f_iosize... no
checking for struct dirent.d_namlen... yes
checking for DIR.dd_fd... no
checking for dirfd... yes
checking *printf() support for %lld... yes
checking for strtoll... (cached) yes
checking if vsnprintf is standards compliant... yes
configure: updating cache config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating nbcompat/config.h
gcc -isystem /usr/include  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c bits.c
gcc -isystem /usr/include -I. -I.  -g -O2  -o bits bits.o
./bits nbcompat/nbtypes.h
awk -f nbcompat.awk nbcompat/config.h > nbcompat/nbconfig.h
gcc -isystem /usr/include  -I. -I.  -g -O2 -DHAVE_CONFIG_H -c glob.c
In file included from ./nbcompat.h:55,
                 from __glob13.c:35,
                 from glob.c:12:
./nbcompat/grp.h:48: error: conflicting types for ‘group_from_gid’
/usr/include/grp.h:110: error: previous declaration of ‘group_from_gid’ was here

In file included from ./nbcompat.h:57,
                 from __glob13.c:35,
                 from glob.c:12:
./nbcompat/pwd.h:48: error: conflicting types for ‘user_from_uid’
/usr/include/pwd.h:142: error: previous declaration of ‘user_from_uid’ was here
make: *** [glob.o] Error 1
===> exited with status 2
aborted.


Home | Main Index | Thread Index | Old Index