From nobody@FreeBSD.org  Mon Feb  8 04:56:03 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 17AB4106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  8 Feb 2010 04:56:03 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id E21858FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  8 Feb 2010 04:56:02 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o184u2PD016037
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 8 Feb 2010 04:56:02 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o184u2oi016036;
	Mon, 8 Feb 2010 04:56:02 GMT
	(envelope-from nobody)
Message-Id: <201002080456.o184u2oi016036@www.freebsd.org>
Date: Mon, 8 Feb 2010 04:56:02 GMT
From: Rex Chan <rex@ish.com.au>
To: freebsd-gnats-submit@FreeBSD.org
Subject: graphviz 2.26 compile issue
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         143660
>Category:       ports
>Synopsis:       graphics/graphviz 2.26 compile issue on amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    dinoex
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 08 05:00:10 UTC 2010
>Closed-Date:    Wed Mar 24 14:48:22 CET 2010
>Last-Modified:  Wed Mar 24 14:48:22 CET 2010
>Originator:     Rex Chan
>Release:        8.0 Release
>Organization:
ish group
>Environment:
FreeBSD delish.ish.com.au 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Compilation fails with the following output:

/bin/sh /usr/local/bin/libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H  -I. -I../..  -I../.. -I../../lib/gvc -I../../lib/common -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan -DDEMAND_LOADING=1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -I/usr/local/include -I/usr/local/include/php/Zend -I/usr/local/include  -O2 -pipe -fno-strict-aliasing -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT libgv_php_la-gv_php_init.lo -MD -MP -MF .deps/libgv_php_la-gv_php_init.Tpo -c -o libgv_php_la-gv_php_init.lo `test -f 'gv_php_init.c' || echo './'`gv_php_init.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/gvc -I../../lib/common -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan -DDEMAND_LOADING=1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -I/usr/local/include -I/usr/local/include/php/Zend -I/usr/local/include -O2 -pipe -fno-strict-aliasing -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT libgv_php_la-gv_php_init.lo -MD -MP -MF .deps/libgv_php_la-gv_php_init.Tpo -c gv_php_init.c  -fPIC -DPIC -o .libs/libgv_php_la-gv_php_init.o
In file included from /usr/local/include/php/main/php.h:34,
                 from gv_php_init.c:17:
/usr/local/include/php/Zend/zend.h:691: warning: function declaration isn't a prototype
In file included from /usr/local/include/php/main/php.h:459,
                 from gv_php_init.c:17:
/usr/local/include/php/main/suhosin_patch.h:26: warning: function declaration isn't a prototype
gv_php_init.c: In function 'gv_string_writer':
gv_php_init.c:25: error: 'tsrm_ls' undeclared (first use in this function)
gv_php_init.c:25: error: (Each undeclared identifier is reported only once
gv_php_init.c:25: error: for each function it appears in.)
gv_php_init.c: In function 'gv_channel_writer':
gv_php_init.c:30: error: 'tsrm_ls' undeclared (first use in this function)
gmake[4]: *** [libgv_php_la-gv_php_init.lo] Error 1
gmake[4]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.26.2/tclpkg/gv'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.26.2/tclpkg/gv'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.26.2/tclpkg'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.26.2'
gmake: *** [all] Error 2
*** Error code 1

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-amd64->dinoex 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Feb 8 05:38:11 UTC 2010 
Responsible-Changed-Why:  
Make this a ports PR, fix Synopsis, and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=143660 
State-Changed-From-To: open->feedback 
State-Changed-By: dinoex 
State-Changed-When: Tue Feb 9 14:44:41 CET 2010 
State-Changed-Why:  

I could not reproduce your problem. 
Please try graphviz-2.26.3. 

If it still fails reports your options. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=143660 

From: Rex Chan <rex@ish.com.au>
To: bug-followup@FreeBSD.org, rex@ish.com.au
Cc:  
Subject: Re: ports/143660: graphics/graphviz 2.26 compile issue on amd64
Date: Wed, 10 Feb 2010 11:55:47 +1100

 This was 2.26.3
 
 After some googling and playing around with "make config" - the compile
 error is related to enabling PHP bindings. 
 
 Compiling without it works, but I did want the PHP5 bindings on.
State-Changed-From-To: feedback->open 
State-Changed-By: dinoex 
State-Changed-When: Wed Feb 10 13:11:57 CET 2010 
State-Changed-Why:  

Feedback received: 
Rex Chan wrote: 

This was 2.26.3 

After some googling and playing around with "make config" - the compile 
error is related to enabling PHP bindings. 

Compiling without it works, but I did want the PHP5 bindings on. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=143660 
State-Changed-From-To: open->feedback 
State-Changed-By: dinoex 
State-Changed-When: Thu Feb 11 15:35:39 CET 2010 
State-Changed-Why:  

your log was with the older version: 
gmake[1]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.26.2' 
gmake: *** [all] Error 2 

I have seen no regression with PHP in 2.26.2 and 2.26.3 
builds fine on: 
FreeBSD 8.0-STABLE #0: Sat Dec 26 16:48:15 CET 2009 amd64 

[...] 
/bin/sh /usr/local/bin/libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H  -I. -I../..  -I../.. -I../../lib/gvc -I../../lib/common -I../../lib/graph -I../../li /cdt -I../../lib/pathplan -DDEMAND_LOADING=1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM - /usr/local/include -I/usr/local/include/tk8.5 -I/usr/local/include/tcl8.5 -I/usr/local/include/php/Zend -I/usr/local/include  -O3 -fno-strict-aliasing -pipe -mar h=nocona -I/usr/local/include/lua51 -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT libgv_php_la-gv_builtins.lo -MD -MP -MF .deps/libgv_php_la-gv_built ns.Tpo -c -o libgv_php_la-gv_builtins.lo `test -f 'gv_builtins.c' || echo './'`gv_builtins.c 
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/gvc -I../../lib/common -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan -DDEMAND_LOAD NG=1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -I/usr/local/include -I/usr/local/include tk8.5 -I/usr/local/include/tcl8.5 -I/usr/local/include/php/Zend -I/usr/local/include -O3 -fno-strict-aliasing -pipe -march=nocona -I/usr/local/include/lua51 -Wst ict-prototypes -Wpointer-arith -Wall -ffast-math -MT libgv_php_la-gv_builtins.lo -MD -MP -MF .deps/libgv_php_la-gv_builtins.Tpo -c gv_builtins.c  -fPIC -DPIC -o  libs/libgv_php_la-gv_builtins.o 
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/gvc -I../../lib/common -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan -DDEMAND_LOAD NG=1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -I/usr/local/include -I/usr/local/include/tk8.5 -I/usr/local/include/tcl8.5 -I/usr/local/include/php/Zend -I/usr/local/include -O3 -fno-strict-aliasing -pipe -march=nocona -I/usr/local/include/lua51 -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT libgv_php_la-gv_builtins.lo -MD -MP -MF .deps/libgv_php_la-gv_builtins.Tpo -c gv_builtins.c -o libgv_php_la-gv_builtins.o >/dev/null 2>&1 
mv -f .deps/libgv_php_la-gv_builtins.Tpo .deps/libgv_php_la-gv_builtins.Plo 
/bin/sh /usr/local/bin/libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H  -I. -I../..  -I../.. -I../../lib/gvc -I../../lib/common -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan -DDEMAND_LOADING=1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -I/usr/local/include -I/usr/local/include/tk8.5 -I/usr/local/include/tcl8.5 -I/usr/local/include/php/Zend -I/usr/local/include  -O3 -fno-strict-aliasing -pipe -march=nocona -I/usr/local/include/lua51 -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT libgv_php_la-gv_php_init.lo -MD -MP -MF .deps/libgv_php_la-gv_php_init.Tpo -c -o libgv_php_la-gv_php_init.lo `test -f 'gv_php_init.c' || echo './'`gv_php_init.c 
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/gvc -I../../lib/common -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan -DDEMAND_LOADING=1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -I/usr/local/include -I/usr/local/include/tk8.5 -I/usr/local/include/tcl8.5 -I/usr/local/include/php/Zend -I/usr/local/include -O3 -fno-strict-aliasing -pipe -march=nocona -I/usr/local/include/lua51 -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT libgv_php_la-gv_php_init.lo -MD -MP -MF .deps/libgv_php_la-gv_php_init.Tpo -c gv_php_init.c  -fPIC -DPIC -o .libs/libgv_php_la-gv_php_init.o 
In file included from /usr/local/include/php/main/php.h:34, 
from gv_php_init.c:17: 
/usr/local/include/php/Zend/zend.h:691: warning: function declaration isn't a prototype 
In file included from /usr/local/include/php/main/php.h:459, 
from gv_php_init.c:17: 
/usr/local/include/php/main/suhosin_patch.h:26: warning: function declaration isn't a prototype 
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/gvc -I../../lib/common -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan -DDEMAND_LOADING=1 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -I/usr/local/include -I/usr/local/include/tk8.5 -I/usr/local/include/tcl8.5 -I/usr/local/include/php/Zend -I/usr/local/include -O3 -fno-strict-aliasing -pipe -march=nocona -I/usr/local/include/lua51 -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT libgv_php_la-gv_php_init.lo -MD -MP -MF .deps/libgv_php_la-gv_php_init.Tpo -c gv_php_init.c -o libgv_php_la-gv_php_init.o >/dev/null 2>&1 
mv -f .deps/libgv_php_la-gv_php_init.Tpo .deps/libgv_php_la-gv_php_init.Plo 
[...] 



http://www.freebsd.org/cgi/query-pr.cgi?pr=143660 
State-Changed-From-To: feedback->closed 
State-Changed-By: dinoex 
State-Changed-When: Wed Mar 24 14:48:01 CET 2010 
State-Changed-Why:  
feedback timeout 

http://www.freebsd.org/cgi/query-pr.cgi?pr=143660 
>Unformatted:
