Subject: pkg/30129: audio/arts wants non-existent on MacOS X 10.2.8
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <jdbaker@mylinuxisp.com>
List: pkgsrc-bugs
Date: 05/04/2005 01:54:00
>Number:         30129
>Category:       pkg
>Synopsis:       audio/arts wants non-existent <sys/poll.h> on MacOS X 10.2.8
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 04 01:54:00 +0000 2005
>Originator:     John D. Baker
>Release:        MacOS X 10.2.8
>Organization:
>Environment:
Darwin pm8500.technoskunk.fur 6.8 Darwin Kernel Version 6.8: Wed Sep 10 15:20:55 PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC  Power Macintosh powerpc

>Description:
Building audio/arts on Mac OS X 10.2.8 fails as follows:

[...]
if /bin/sh ../../libtool --silent --mode=compile --tag=CC gcc -pipe -DHAVE_CONFIG_H -I. -I. -I../.. -I../../mcop -I../../artsc -I../../flow -I../../flow -I../../mcop -I../../mcop -I../.. -I/usr/pkg/include -I/usr/pkg/qt3/include -I/usr/X11R6/include  -I/usr/pkg/include -I/usr/X11R6/include -I../../libltdl  -DQT_THREAD_SUPPORT -no-cpp-precomp -I/usr/pkg/include -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -I/usr/include -D_REENTRANT -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include   -DNDEBUG -O2 -O2 -I/usr/pkg/include -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -I/usr/include -D_REENTRANT -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -DNDEBUG -O2  -O2 -I/usr/pkg/include -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -I/usr/include -D_REENTRANT -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include   -MT gslcommon.lo -MD -MP -MF ".deps/gslcommon.Tpo" -c -
 o gslcommon.lo gslcommon.c; \
then mv -f ".deps/gslcommon.Tpo" ".deps/gslcommon.Plo"; else rm -f ".deps/gslcommon.Tpo"; exit 1; fi
gslcommon.c:27:22: sys/poll.h: No such file or directory
gslcommon.c: In function `gsl_thread_sleep':
gslcommon.c:775: error: storage size of `pfd' isn't known
gnumake[3]: *** [gslcommon.lo] Error 1
gnumake[2]: *** [all-recursive] Error 1
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/audio/arts

[...]

The file <sys/poll.h> does not exist on MacOS X 10.2.8.

It's not clear whether the expected 'poll.h' contents are to found in
some other header found in MacOS X.
>How-To-Repeat:
On MacOS X 10.2.8 with pkgsrc installed and bootstrapped.

Apply workaround in pkg/30127

bmake
>Fix: