Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jun 2007 07:50:27 GMT
From:      David Southwell<david@vizion2000.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/113473: graphics/graphviz compile error with portupgrade
Message-ID:  <200706080750.l587oQui042212@www.freebsd.org>
Resent-Message-ID: <200706080800.l58809Ia064516@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         113473
>Category:       ports
>Synopsis:       graphics/graphviz compile error with portupgrade
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 08 08:00:09 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     David Southwell
>Release:        Freebsd 6.1
>Organization:
Vizion Communications
>Environment:
FreeBSD dns1.vizion2000.net 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 04:15:57 UTC 2006     root@bloom.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  amd64
>Description:
        then mv -f ".deps/gv_lua.Tpo" ".deps/gv_lua.Plo"; else 
rm -f ".deps/gv_lua.Tpo"; exit 1; fi
 
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../lib/gvc -I../../lib/common -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan -I/usr/local/lib/perl5/5.8.8/mach/CORE -I/usr/local/include/python2.4 -I/usr/local/lib/ruby/1.8/amd64-freebsd6 -I/usr/local/include/tcl8.4 -I/usr/local/include/tcl8.4/generic -I/usr/local/include -I/usr/local/include -I/usr/local/include/tcl8.4 -I/usr/local/include/tk8.4 -I/usr/local/include/php/Zend -I/usr/local/include/lua51 -I/usr/local/include -O2 -fno-strict-aliasing -pipe -MT 
gv_lua.lo -MD -MP -MF .deps/gv_lua.Tpo -c 
gv_lua.cpp  -fPIC -DPIC -o .libs/gv_lua.o
In file included from gv_lua.cpp:711:
/usr/include/malloc.h:3:2: #error "<malloc.h> has been replaced by <stdlib.h>"
gmake[3]: *** [gv_lua.lo] Error 1
gmake[3]: Leaving directory 
`/usr/ports/graphics/graphviz/work/graphviz-2.12/tclpkg/gv'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/ports/graphics/graphviz/work/graphviz-2.12/tclpkg'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.12'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/graphics/graphviz.
*** Error code 1

Stop in /usr/ports/graphics/graphviz.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.89319.49 
env UPGRADE_TOOL=portupgrade UPGRADE_PORT=graphviz-2.12_1 
UPGRADE_PORT_VER=2.12_1 make
** Fix the problem and try again.

********************************

Is the file "gv_lua.cpp:711" being created on the fly by swig?????

>How-To-Repeat:
With graphviz-2.12_1 installed and an up to date ports run
# portupgrade -a 
>Fix:
Not known..but it looks as though the file causing the problem might be created on the fly by swig

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706080750.l587oQui042212>