Subject: Re: pkg/28596
To: None <darwin-pkg-people@netbsd.org, gnats-admin@netbsd.org,>
From: Mark E. Perkins <perkinsm@bway.net>
List: pkgsrc-bugs
Date: 03/25/2005 13:33:02
The following reply was made to PR pkg/28596; it has been noted by GNATS.

From: "Mark E. Perkins" <perkinsm@bway.net>
To: gnats-bugs@netbsd.org
Cc: adrianp@netbsd.org, seb@netbsd.org
Subject: Re: pkg/28596
Date: Fri, 25 Mar 2005 08:32:51 -0500

 Please re-open this PR. Recent update to the package only moves the problem 
 (see below).
 
 As I noted on 19 Feb, I can successfully build graphviz 2.2 (with pkgsrc) 
 under MacOSX if I apply none of the pkgsrc patches. OTOH, as shown below, 
 something breaks MacOSX build when I use up-to-date (19 March) versions of 
 pkgsrc/graphics/graphviz files and pkgsrc tree updated approx 2hrs ago. I 
 will try to track down which patch is causing the problem, but may not get 
 to it for several days..... If either of you have any hints to offer, I'll 
 give them a try.
 
 As an additional note, I can build successfully on Solaris 9, so this 
 appears to be a MacOSX-specific issue.
 
 
 Making all in tkspline
 Making all in demo
 cd ../.. && /usr/pkg/bin/bmake  am--refresh
 cd .. && /usr/pkg/bin/bmake  am--refresh
 if /bin/sh ../libtool --tag=CC --mode=compile gcc -pipe -DHAVE_CONFIG_H 
 -I. -I. -I..  -I/Volumes/NetBSD/pkgsrc/x11/tk/work/tk8.4.7/generic 
 -I/Volumes/NetBSD/pkgsrc/lang/tcl/work/tcl8.4.7/generic 
 -I/Volumes/NetBSD/pkg/include -I/Volumes/NetBSD/pkg/include/tcl/generic 
 -I/Volumes/NetBSD/pkg/include -I/Volumes/NetBSD/pkg/include/tk/generic 
 -no-cpp-precomp -I/Volumes/NetBSD/pkg/include 
 -I/Volumes/NetBSD/pkg/include/freetype2 -I/usr/include 
 -I/Volumes/NetBSD/pkg/include  -I/usr/X11R6/include  -DUSE_TCL_STUBS 
 -DUSE_TK_STUBS  -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_THREADS=1 
 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 
 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -DMAC_OSX_TCL=1 
 -DHAVE_CFBUNDLE=1 -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\"utf-8\" 
 -DTCL_WIDE_INT_TYPE=long\ long -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 
 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1   -UPACKAGE_NAME -UPACKAGE_STRING 
 -UPACKAGE_TARNAME -UPACKAGE_VERSION -O2 -I/Volumes/NetBSD/pkg/include 
 -I/Volumes/NetBSD/pkg/include/freetype2 -I/usr/include -fno-common -Wall 
 -DNDEBUG -MT tkspline.lo -MD -MP -MF ".deps/tkspline.Tpo" -c -o tkspline.lo 
 tkspline.c;  then mv -f ".deps/tkspline.Tpo" ".deps/tkspline.Plo"; else rm 
 -f ".deps/tkspline.Tpo"; exit 1; fi
 mkdir .libs
   gcc -pipe -DHAVE_CONFIG_H -I. -I.. 
 -I/Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.buildlink/include 
 -I/Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.buildlink/include/tcl/generic 
 -I/Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.buildlink/include/tk/generic 
 -no-cpp-precomp 
 -I/Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.buildlink/include/freetype2 
 -I/Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.x11-buildlink/include 
 -DUSE_TCL_STUBS -DUSE_TK_STUBS -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 
 -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 
 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1 -DMAC_OSX_TCL=1 
 -DHAVE_CFBUNDLE=1 -DUSE_VFORK=1 -DTCL_DEFAULT_ENCODING=\"utf-8\" 
 "-DTCL_WIDE_INT_TYPE=long long" -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 
 -DTIME_WITH_SYS_TIME=1 -DHAVE_PW_GECOS=1 -UPACKAGE_NAME -UPACKAGE_STRING 
 -UPACKAGE_TARNAME -UPACKAGE_VERSION -O2 -fno-common -Wall -DNDEBUG -MT 
 tkspline.lo -MD -MP -MF .deps/tkspline.Tpo -c tkspline.c  -fno-common -DPIC 
 -o .libs/tkspline.o
 In file included from /usr/include/sys/event.h:154,
                   from /usr/include/sys/select.h:71,
                   from 
 /Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.buildlink/include/tk/unix/tkUnixPort.h:56,
                   from 
 /Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.buildlink/include/tk/generic/tkPort.h:34,
                   from 
 /Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.buildlink/include/tk/generic/tkInt.h:27,
                   from tkspline.c:22:
 /usr/include/mach/mach.h:79: error: parse error before '->' token
 *** Error code 1
 
 Stop.
 bmake: stopped in 
 /Volumes/NetBSD/pkgsrc/graphics/graphviz/work/graphviz-2.2/tkspline
 *** Error code 1
 
 Stop.
 bmake: stopped in 
 /Volumes/NetBSD/pkgsrc/graphics/graphviz/work/graphviz-2.2/tkspline
 *** Error code 1
 
 Stop.
 bmake: stopped in /Volumes/NetBSD/pkgsrc/graphics/graphviz/work/graphviz-2.2
 *** Error code 1
 
 Stop.
 bmake: stopped in /Volumes/NetBSD/pkgsrc/graphics/graphviz/work/graphviz-2.2
 *** Error code 1
 
 Stop.
 bmake: stopped in /usr/pkgsrc/graphics/graphviz
 ===>
 ===> There was an error during the ``build'' phase.
 ===> Please investigate the following for more information:
 ===>      * log of the build
 ===>      * /Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.work.log
 ===>
 *** Error code 1
 
 Stop.
 bmake: stopped in /usr/pkgsrc/graphics/graphviz