Subject: pkg/28596: graphviz fails to build on Darwin with pkgsrc -current
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <adrianp@stindustries.net>
List: pkgsrc-bugs
Date: 12/09/2004 21:57:01
>Number: 28596
>Category: pkg
>Synopsis: graphviz fails to build on Darwin with pkgsrc -current
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Dec 09 21:57:00 +0000 2004
>Originator: Adrian Portelli
>Release: n/a
>Organization:
STIndustries
>Environment:
Darwin monty.local 7.6.0 Darwin Kernel Version 7.6.0: Sun Oct 10 12:05:27 PDT 2004; root:xnu/xnu-517.9.4.obj~1/RELEASE_PPC Power Macintosh powerpc
>Description:
graphviz does not build on Darwin with -current pkgsrc.
gcc -pipe -DHAVE_CONFIG_H -I. -I../../.. -I../../../lefty -no-cpp-precomp -I/Vo
lumes/NetBSD/pkgsrc/graphics/graphviz/work/.buildlink/include -I/Volumes/NetBSD/
pkgsrc/graphics/graphviz/work/.buildlink/include/freetype2 -I/Volumes/NetBSD/pkg
src/graphics/graphviz/work/.x11-buildlink/include -O2 -fno-common -Wall -DNDEBUG
-MT garray.lo -MD -MP -MF .deps/garray.Tpo -c garray.c -fno-common -DPIC -o .l
ibs/garray.o
In file included from /usr/include/sys/select.h:71,
from ../../../lefty/common.h:66,
from garray.c:3:
/usr/include/sys/event.h:68: error: parse error before "u_short"
/usr/include/sys/event.h:72: error: parse error before '}' token
In file included from ../../../lefty/common.h:66,
from garray.c:3:
/usr/include/sys/select.h:88: error: parse error before "u_int"
In file included from garray.c:3:
../../../lefty/common.h:132: error: conflicting types for `panic'
/usr/include/mach/mach.h:79: error: previous declaration of `panic'
*** Error code 1
Stop.
bmake: stopped in /Volumes/NetBSD/pkgsrc/graphics/graphviz/work/graphviz-1.16/le
fty/ws/x11
>How-To-Repeat:
build graphics/graphviz on Darwin wih pkgsrc -current
>Fix: