Subject: 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/07/2004 17:01:12
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.

	rvdp