NetBSD Problem Report #28596

From www@netbsd.org  Thu Dec  9 21:56:49 2004
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 0BC90251F66; Thu,  9 Dec 2004 21:56:49 +0000 (UTC)
Message-Id: <20041209215649.0BC90251F66@narn.netbsd.org>
Date: Thu,  9 Dec 2004 21:56:49 +0000 (UTC)
From: adrianp@stindustries.net
Reply-To: adrianp@stindustries.net
To: gnats-bugs@netbsd.org
Subject: graphviz fails to build on Darwin with pkgsrc -current
X-Send-Pr-Version: www-1.0

>Number:         28596
>Category:       pkg
>Synopsis:       graphviz fails to build on Darwin with pkgsrc -current
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    darwin-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 09 21:57:00 +0000 2004
>Closed-Date:    Tue Jun 14 21:28:22 +0000 2005
>Last-Modified:  Tue Jun 14 21:29:10 +0000 2005
>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:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->darwin-pkg-people
Responsible-Changed-By: recht@netbsd.org
Responsible-Changed-When: Sun, 12 Dec 2004 17:12:11 +0000
Responsible-Changed-Why:
over to darwin-pkg-people


From: Adrian Portelli <adrianp@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/28596
Date: Tue, 28 Dec 2004 13:13:09 +0000

 This issue is still open even though graphviz has been updated to 2.0. 
 However, the error has changed:

   gcc -pipe -DHAVE_CONFIG_H -I. -I../../.. -I../../../lefty 
 -no-cpp-precomp -I/Us
 ers/adrianp/pkgsrc/dev/pkgsrc/graphics/graphviz/work/.buildlink/include 
 -I/Users
 /adrianp/pkgsrc/dev/pkgsrc/graphics/graphviz/work/.buildlink/include/freetype2 
 -
 I/Users/adrianp/pkgsrc/dev/pkgsrc/graphics/graphviz/work/.x11-buildlink/include 

 -O2 -fno-common -Wall -DNDEBUG -MT garray.lo -MD -MP -MF 
 .deps/garray.Tpo -c gar
 ray.c  -fno-common -DPIC -o .libs/garray.o
 In file included from garray.c:19:
 ../../../lefty/common.h:139: error: conflicting types for `panic'
 /usr/include/mach/mach.h:79: error: previous declaration of `panic'
 *** Error code 1

 Stop.
 bmake: stopped in 
 /Users/adrianp/pkgsrc/dev/pkgsrc/graphics/graphviz/work/graphviz-2.0/lefty/ws/x11

From: "Mark E. Perkins" <perkinsm@bway.net>
To: gnats-bugs@netbsd.org
Cc: adrianp@netbsd.org, seb@netbsd.org
Subject: Re: pkg/28596
Date: Sat, 19 Feb 2005 10:40:48 -0500

 Poking on graphviz.org, I see that graphviz-2.2 is available. So I 
 downloaded it and it builds "out of the box" on Darwin 10.3.8. IOW, I was 
 able to build with only a version-number change to Makefile, and none of 
 the gaggle of patches that are applied to 2.0. Specific patches listed below.

 I have not sorted out for myself the best way (or even a good way) to 
 regenerate PLIST...

 Cheers,
 Mark



 =============== Makefile patch ===============
 --- Makefile.orig       Fri Jan 14 18:10:35 2005
 +++ Makefile    Fri Feb 18 21:48:42 2005
 @@ -1,7 +1,7 @@
   # $NetBSD: Makefile,v 1.27 2004/12/24 18:26:56 seb Exp $
   #

 -DISTNAME=      graphviz-2.0
 +DISTNAME=      graphviz-2.2
   CATEGORIES=    graphics
   MASTER_SITES=  http://www.graphviz.org/pub/graphviz/ARCHIVE/



 =============== distinfo patch ===============
 --- distinfo.orig       Fri Jan 14 18:10:35 2005
 +++ distinfo    Fri Feb 18 21:59:43 2005
 @@ -1,78 +1,4 @@
   $NetBSD: distinfo,v 1.13 2004/12/24 18:26:56 seb Exp $

 -SHA1 (graphviz-2.0/graphviz-2.0.tar.gz) = 
 f324c9010fedcc97bd65a880d83b645dbe6282ef
 -Size (graphviz-2.0/graphviz-2.0.tar.gz) = 4384874 bytes
 -SHA1 (patch-ab) = c04269613e3e7ecefe9492b075d3303a1f125515
 -SHA1 (patch-ac) = a03e3427863b64735aeff895e0bd8dcb0e6714e1
 -SHA1 (patch-ad) = 93c24f960bf5bfb405ab2d8751efc1e652cd92a0
 -SHA1 (patch-ae) = 9255ba6000a7ebc3483d915ff8468e3a448200f8
 -SHA1 (patch-af) = 37d2492fd95256fb7b4031d5013c068c89a27946
 -SHA1 (patch-ag) = 77e008dfd6f40ae135bbf75aacd73b08cd3e3395
 -SHA1 (patch-ah) = f67540019094bbf3132b453660b2bc3e8cdc9ae9
 -SHA1 (patch-ai) = 6175b487bc1859e2a1a56b17867922f61c25d48d
 -SHA1 (patch-aj) = 605cac0dc649047a5cce2b66f14298b6b5a56e03
 -SHA1 (patch-ak) = ea22a76938ec574f4dd1f400ca935cdbacb7bd64
 -SHA1 (patch-al) = 72dd4e2c82b20d15c29a6d581c1057b02e23ff67
 -SHA1 (patch-am) = bc9b74aca6e76f9faf633c604118c0df07d0f58a
 -SHA1 (patch-an) = 3b2f9afeb799c732c80d57526a82e52da70639f1
 -SHA1 (patch-ao) = e165189a3e9c8e83a0fbb1c614b1e230f9919793
 -SHA1 (patch-ap) = 157a1185fcfcc9376e08ec6392050d67890ade58
 -SHA1 (patch-aq) = 1cb76e7209e080a934da091921061eddb704dd1a
 -SHA1 (patch-ar) = fc3892b5a70f2e22d45f4af6abab40895384be24
 -SHA1 (patch-as) = 5a44b60202f70746efacfc6cf2d6d808f40a0f92
 -SHA1 (patch-at) = 31057001f25260b72da8f8617c24627d721cf413
 -SHA1 (patch-au) = 1b47f17ba332918378ab72750ca6d5a8fb510555
 -SHA1 (patch-av) = b6f3789262b1df0004deba32a960e5aa26373b2d
 -SHA1 (patch-aw) = 19bd5db29bde4fdb90d5f42dd86e1cbffee4350e
 -SHA1 (patch-ax) = b290d89d881904f804d7a426aaa4510fb7e371bf
 -SHA1 (patch-ay) = 7c12461a5429a66c426d868c3115e0f3422f59b9
 -SHA1 (patch-az) = 65cc7e6820fcef2a65280c8f2f0f3ea6dfccab7c
 -SHA1 (patch-ba) = ad09bb3d21a77863f0b79cc9c31730972a5b1ed5
 -SHA1 (patch-bb) = fe43a6bb6c4e1f5a4369587d98aeb8da73a3a921
 -SHA1 (patch-bc) = 625a6fb18cc276ff43d9f4e318d985ef1cca7be1
 -SHA1 (patch-bd) = 13d9bc3eb37214cca072952049d0a5da39a6e131
 -SHA1 (patch-be) = ff4f7137f4cbca830e9551673340657bcdf8c7df
 -SHA1 (patch-bf) = 1bcc0eda8351c373bec2f016f8a4dcb153fbe409
 -SHA1 (patch-bg) = 594cca47fa8cd21f910f417886368f9a46de5434
 -SHA1 (patch-bh) = 8b1b6c6cfee812ab163d6306275799affa627913
 -SHA1 (patch-bi) = 8adb75c2a8aab4312cd075863d929e97c5714164
 -SHA1 (patch-bj) = 8671814fa3539eef980ed1a7e5b05fc26526bd88
 -SHA1 (patch-bk) = ad0b7262473783df3c337cd78f260d19f28d289a
 -SHA1 (patch-bl) = 473744a42c8b3e6a62ad87799b35788a9a3816b8
 -SHA1 (patch-bm) = f2b57453298c09c16f933b03ce3015b1ac0cfde5
 -SHA1 (patch-bn) = a2aafc79a26e7e68f95ef841ace3f31e7ade65ab
 -SHA1 (patch-bo) = 860f450cc0ee6e25d8fec7e758c1918f4c4720e1
 -SHA1 (patch-bp) = 5cd12fec1ccd74964707b6a2da4277cbe4c7f9f5
 -SHA1 (patch-bq) = b07e60b897a2653dc6e357d29c9fbb056e4e7b8e
 -SHA1 (patch-br) = f417a5545b1e019f8c769b22ffcd79091030fb67
 -SHA1 (patch-bs) = f9e0a38cb1113129ccf801bfb3347adb3827686a
 -SHA1 (patch-bt) = 301fec1d5c7b6879f71c7f89663ca313834611ff
 -SHA1 (patch-bu) = af47727c3a1dd592f5d0b4f006ba7452b8f44da8
 -SHA1 (patch-bv) = 7d6dc89a1ee5da5cbefe437cf8ffed62108d276c
 -SHA1 (patch-bw) = 1912e141b9ef60be69099c94f9aa4342bcc18d80
 -SHA1 (patch-bx) = 00d43b4790b9849a2ee89d93456af22784a9b8b5
 -SHA1 (patch-by) = 25306d179e069581ada7ddb6f55607cfb1ab1512
 -SHA1 (patch-bz) = 988f3c93b6eeb2bd0efdf486e18189ec558d3769
 -SHA1 (patch-ca) = 3a15d19801a946330a08ad1ffd2da4e95c0feb11
 -SHA1 (patch-cb) = 50210dc6f6e0676df267af54422aab240feded78
 -SHA1 (patch-cc) = ee35c991c06e09ec21b83fbf3d9ecdb8fdfaaf8f
 -SHA1 (patch-cd) = d1ea0b21b4fc6806c7437becc608644436424306
 -SHA1 (patch-ce) = 9bb280bd0d25ad46ec5acbd6e52affabec70a1d2
 -SHA1 (patch-cf) = 75fac94de9c4a11c51b638f4fcffd3604d711177
 -SHA1 (patch-cg) = 2d8cc460da9b2d5f390d53f4961832d1c9d0d6c4
 -SHA1 (patch-ch) = a4f7bbb9d1f9e270e32b10769f4892274a5012e5
 -SHA1 (patch-ci) = a72094c6e50303ed115de3053704dbb79e6fa08c
 -SHA1 (patch-cj) = 15616acf9865b8efd9f600556ad85bae50072c20
 -SHA1 (patch-ck) = 523fdcf57b0db9dd6b17f9b51b0fd9dcafc57ba0
 -SHA1 (patch-cl) = aefb3fd1c75032b93f1951b219102e083a43dc95
 -SHA1 (patch-cm) = fd1fccfa526d938b138729ef18d332088efcd578
 -SHA1 (patch-cn) = d63d01b0ab7b0c300c95103cfdff5e7c5e25e394
 -SHA1 (patch-co) = 9f7f8aebf0528b8c07563f81cc73a8a4fac2b2a9
 -SHA1 (patch-cp) = 67972caba6d2bc86939ef20c1b2cd293adc1e8a4
 -SHA1 (patch-cq) = f23120ccd807181645ccceda7e3f392702fa92d7
 -SHA1 (patch-cr) = afb30a10dd36c8997f7c59b49870366f955cfba7
 -SHA1 (patch-cs) = 06bed81033cb95f6ecdb86164d44a722b8e6a338
 -SHA1 (patch-ct) = 26aa6e315d073f884ddbc278463e1f5a1e9e7f40
 -SHA1 (patch-cu) = 91ebc8ddace412aed6bd3dcffb168d9e599ad10a
 -SHA1 (patch-cv) = f94b4964ce868687ba4d0bf70ffce2231ac40568
 -SHA1 (patch-cw) = 1d7080efd1420335d8d61877506b4228dd69a27a
 +SHA1 (graphviz-2.2/graphviz-2.2.tar.gz) = 
 2583bdd3ff082bf3a93ad7313b3261bea23a0f90
 +Size (graphviz-2.2/graphviz-2.2.tar.gz) = 4379295 bytes

From: Stoned Elipot <seb@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/28596 CVS commit: pkgsrc/graphics/graphviz
Date: Sat, 19 Mar 2005 09:13:57 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	seb
 Date:		Sat Mar 19 09:13:57 UTC 2005

 Modified Files:
 	pkgsrc/graphics/graphviz: Makefile PLIST distinfo
 	pkgsrc/graphics/graphviz/patches: patch-ac patch-av patch-aw patch-bx
 	    patch-by

 Log Message:
 Update to graphviz version 2.2

 This should take care of PR pkg/28596.

 Changes since last packaged version (2.0)
 January 19 2005
         - release 2.2
         - fix bugs: 86, 345, 517, 579, 580, 597, 600, 601, 604
         - use the original cpl1.0.txt as the license master, instead of CPL.html
         - fix for bug generating in memory bitmaps that was affecting webdot
         - fixes for windows builds
         - documenttion updates


 To generate a diff of this commit:
 cvs rdiff -r1.28 -r1.29 pkgsrc/graphics/graphviz/Makefile
 cvs rdiff -r1.10 -r1.11 pkgsrc/graphics/graphviz/PLIST
 cvs rdiff -r1.14 -r1.15 pkgsrc/graphics/graphviz/distinfo
 cvs rdiff -r1.11 -r1.12 pkgsrc/graphics/graphviz/patches/patch-ac
 cvs rdiff -r1.4 -r1.5 pkgsrc/graphics/graphviz/patches/patch-av
 cvs rdiff -r1.7 -r1.8 pkgsrc/graphics/graphviz/patches/patch-aw
 cvs rdiff -r1.2 -r1.3 pkgsrc/graphics/graphviz/patches/patch-bx \
     pkgsrc/graphics/graphviz/patches/patch-by

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: seb@netbsd.org
State-Changed-When: Sat, 19 Mar 2005 09:16:31 +0000
State-Changed-Why:
I updated the package. Thanks for the submission.


From: Stoned Elipot <seb@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/28596 CVS commit: pkgsrc/doc
Date: Sat, 19 Mar 2005 09:15:35 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	seb
 Date:		Sat Mar 19 09:15:34 UTC 2005

 Modified Files:
 	pkgsrc/doc: CHANGES

 Log Message:
 Note update of graphics/graphviz to version 2.2 [bug fix release, and
 should take care of PR pkg/28596]


 To generate a diff of this commit:
 cvs rdiff -r1.9509 -r1.9510 pkgsrc/doc/CHANGES

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

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

State-Changed-From-To: closed->open
State-Changed-By: wiz@netbsd.org
State-Changed-When: Fri, 25 Mar 2005 14:27:17 +0000
State-Changed-Why:
Problem still there.


From: Adrian Portelli <adrianp@NetBSD.org>
To: 
Cc: gnats-bugs@NetBSD.org
Subject: Re: pkg/28596
Date: Mon, 23 May 2005 12:22:54 +0100

 Just to keep this ticket alive . . . .

 This is pkgsrc -HEAD as of 20050523 @12:00GMT will all packages up to
 date (so including the new libtool) and graphviz-2.2.1:

 gcc -pipe -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress
 -o .libs/libcommon.0.0.0.dylib  .libs/arrows.o .libs/colxlate.o
 .libs/diagen.o .libs/figgen.o .libs/fontmetrics.o .libs/gdgen.o
 .libs/globals.o .libs/hpglgen.o .libs/htmllex.o .libs/htmlparse.o
 .libs/htmltable.o .libs/input.o .libs/mapgen.o .libs/mifgen.o
 .libs/mpgen.o .libs/pointset.o .libs/postproc.o .libs/picgen.o
 .libs/psgen.o .libs/routespl.o .libs/splines.o .libs/svggen.o
 .libs/timing.o .libs/vrmlgen.o .libs/vtxgen.o .libs/labels.o .libs/ns.o
 .libs/cairogen-png.o .libs/cairogen-ps.o .libs/cairogen-win.o
 .libs/shapes.o .libs/utils.o .libs/output.o .libs/emit.o
 -L/Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.buildlink/lib
 -L/Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.x11-buildlink/lib
 /Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.buildlink/lib/libgd.dylib
 /Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.buildlink/lib/libjpeg.dylib
 /Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.buildlink/lib/libfreetype.dylib
 /Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.buildlink/lib/libpng.dylib
 -lpthread /usr/lib/libiconv.dylib
 /Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.buildlink/lib/libexpat.dylib
 /Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.buildlink/lib/libz.dylib
 /Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.buildlink/lib/libintl.dylib
 /usr/lib/libc.dylib  -install_name
 /Volumes/NetBSD/pkg/lib/graphviz/libcommon.0.dylib
 -Wl,-compatibility_version -Wl,1 -Wl,-current_version -Wl,1.0
 ld: multiple definitions of symbol _entities
 .libs/htmllex.o definition of _entities in section (__DATA,__data)
 /Volumes/NetBSD/pkgsrc/graphics/graphviz/work/.buildlink/lib/libgd.dylib(gdft.o)
 definition of _entities
 /usr/bin/libtool: internal link edit command failed
 *** Error code 1

From: Min Sik Kim <minskim@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/28596 CVS commit: pkgsrc/graphics/gd
Date: Mon,  6 Jun 2005 18:38:08 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	minskim
 Date:		Mon Jun  6 18:38:08 UTC 2005

 Modified Files:
 	pkgsrc/graphics/gd: Makefile distinfo
 Added Files:
 	pkgsrc/graphics/gd/patches: patch-aa patch-ab

 Log Message:
 Do not define a variable in a header file; move the definition into .c
 and leave the declraration only.  This fixes the graphviz build
 problem reported by Adrian Portelli in PR pkg/28596.

 Bump PKGREVISION.


 To generate a diff of this commit:
 cvs rdiff -r1.64 -r1.65 pkgsrc/graphics/gd/Makefile
 cvs rdiff -r1.21 -r1.22 pkgsrc/graphics/gd/distinfo
 cvs rdiff -r0 -r1.17 pkgsrc/graphics/gd/patches/patch-aa
 cvs rdiff -r0 -r1.8 pkgsrc/graphics/gd/patches/patch-ab

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback
State-Changed-By: minskim@netbsd.org
State-Changed-When: Mon, 06 Jun 2005 19:16:41 +0000
State-Changed-Why:
After installing gd-2.0.33nb1, graphviz builds on Darwin-8.1.
Could you please update gd and test again?


From: Adrian Portelli <adrianp@NetBSD.org>
To: minskim@NetBSD.org
Cc: darwin-pkg-people@NetBSD.org, pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/28596
Date: Mon, 06 Jun 2005 23:23:38 +0100

 Builds fine now.  Thanks for doing this.  You may want to include the
 following patch.

 regards,

 adrian.

 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/graphics/graphviz/Makefile,v
 retrieving revision 1.35
 diff -u -r1.35 Makefile
 --- Makefile    5 Jun 2005 22:29:07 -0000       1.35
 +++ Makefile    6 Jun 2005 22:12:23 -0000
 @@ -25,6 +25,10 @@

  .include "../../mk/bsd.prefs.mk"

 +.if ${OPSYS} == "Darwin"
 +BUILDLINK_DEPENDS.gd+= gd>=2.0.33nb1
 +.endif
 +
  CONFIGURE_ENV+=                TCLCONFIG=${TCLCONFIG_SH}
  CONFIGURE_ENV+=                TKCONFIG=${TKCONFIG_SH}
  CONFIGURE_ENV+=                X11PREFIX=${X11PREFIX} X11BASE=${X11BASE}

State-Changed-From-To: feedback->closed
State-Changed-By: minskim@netbsd.org
State-Changed-When: Tue, 14 Jun 2005 21:28:22 +0000
State-Changed-Why:
Fixed.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.