Subject: Re: bootstrap on MacOSX 10.3.3 does noet work
To: None <tech-pkg@NetBSD.org>
From: Ronald van der Pol <Ronald.vanderPol@rvdp.org>
List: tech-pkg
Date: 05/13/2004 15:33:56
On Fri, May 07, 2004 at 17:01:12 +0200, Ronald van der Pol wrote:

> Running /usr/pkgsrc/bootstrap/bootstrap on MacOSX 10.3.3 gives this
> error:
> ---------------------------------------------------------------------------
> [...]
> gcc -DHAVE_CONFIG_H -DDEF_LOG_DIR=\"/var/db/pkg\" -DTAR_CMD=\"/usr/pkg/bin/tar\" -DFTP_CMD=\"/usr/pkg/bin/ftp\" -I../libnbcompat -I../../libnbcompat -I. -I. -g -O2 -c file.c
> gcc -DHAVE_CONFIG_H -DDEF_LOG_DIR=\"/var/db/pkg\" -DTAR_CMD=\"/usr/pkg/bin/tar\" -DFTP_CMD=\"/usr/pkg/bin/ftp\" -I../libnbcompat -I../../libnbcompat -I. -I. -g -O2 -c ftpio.c
> In file included from /usr/include/sys/poll.h:5,
>                  from ftpio.c:87:
> /usr/include/poll.h:84: error: redefinition of `struct pollfd'
> /usr/include/poll.h:96: error: conflicting types for `poll'
> ../../libnbcompat/nbcompat/poll.h:69: error: previous declaration of `poll'
> *** Error code 1
> 
> Stop.
> bmake: stopped in /Volumes/misc/pkgsrc/bootstrap/work/pkg_install/lib
> *** Error code 1
> 
> Stop.
> bmake: stopped in /Volumes/misc/pkgsrc/bootstrap/work/pkg_install
> ===> exited with status 1
> aborted.
> ---------------------------------------------------------------------------
> 
> I notice some recent changes with this comment:
> 
> "handle Darwin 7 having a poll() compatibility function."
> 
> Is the error above already known and being worked on? It looks like
> HAVE_POLL[_H] are not being set properly.

This has been fixed. Bootstrapping on MacOSX 10.3.3 runs without
errors now. Thanks Grant.

	rvdp