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????? Fix: Not known..but it looks as though the file causing the problem might be created on the fly by swig How-To-Repeat: With graphviz-2.12_1 installed and an up to date ports run # portupgrade -a
Class Changed From-To: maintainer-update->change-request Fix category (submitter is not maintainer)
Responsible Changed From-To: freebsd-ports-bugs->dinoex Over to maintainer
State Changed From-To: open->feedback I can't reporduce the problem: Plase check that your Swig installation is up to date. What Options do you use? Compare the output of make configure with this log: http://pointyhat.freebsd.org/errorlogs/amd64-6-latest-logs/graphviz-2.12_2.log
The log file seems to be in a different format. I have attached the file from: /usr/ports/graphics/graphviz/work/graphviz-2.12/config.log I hope this will help trace the problem. david PS my version is given as graphviz-2.12 NOT graphviz-2.12_2
State Changed From-To: feedback->patched please update your port so you can build 2.12_1 or 2.12_2
I belatedly realised you were referring to the file which is now attached. Sorry about that david
I hoped I might have slipped up and missed an update but no such luck... Actually it was 2.12_1 (I read the version number without the freebsd _* po= rt=20 identifyer) and I have =A0just attempted a recompile after upgrading gcc bu= t it=20 makes no difference. Here are the concluding lines of the failure ( I thoug= ht=20 I would check my ports tree- you can see no difference: ua.Tpo -c gv_lua.cpp =A0-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=20 `/usr/ports/graphics/graphviz/work/graphviz-2.12/tclpkg/gv' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory=20 `/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.1= 2' 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.26382= =2E0=20 env UPGRADE_TOOL=3Dportupgrade UPGRADE_PORT=3Dgraphviz-2.12_1=20 UPGRADE_PORT_VER=3D2.12_1 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) =A0 =A0 =A0 =A0 ! graphics/graphviz (graphviz-2.12_1) =A0 (reference to mal= loc.h) =2D--> =A0Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed [root@dns1 /usr/ports/graphics/graphviz]# ls -l total 36 =2Drw-r--r-- =A01 root =A0wheel =A0 8224 Jun =A04 14:24 Makefile =2Drw-r--r-- =A01 root =A0wheel =A0 =A0197 Mar =A04 00:20 distinfo drwxr-xr-x =A02 root =A0wheel =A0 =A0512 Mar =A09 03:38 files =2Drw-r--r-- =A01 root =A0wheel =A0 =A0576 Aug 17 =A02006 pkg-descr =2Drw-r--r-- =A01 root =A0wheel =A016685 Mar =A08 23:28 pkg-plist drwxr-xr-x =A03 root =A0wheel =A0 =A0512 Jun =A08 08:11 work [root@dns1 /usr/ports/graphics/graphviz]# cvsup /var/cvsupconfig/ports-supf= ile Connected to cvsup8.FreeBSD.org Updating collection ports-all/cvs =A0Edit ports/news/nntp/Makefile =A0Checkout ports/news/nntp/files/patch-acttimes.c =A0Edit ports/print/cups-base/Makefile =A0Edit ports/print/cups-base/pkg-install =A0Edit ports/print/cups-base/pkg-plist =A0Edit ports/security/p5-PGP-Sign/Makefile =A0Edit ports/security/p5-PGP-Sign/distinfo =46inished successfully [root@dns1 /usr/ports/graphics/graphviz]# =A0 I have been trolling the net and found some other reports on other systems = of=20 a similar problem. Google for graphviz malloc.h error -- this seems to be a= =20 bug which has had to be resolved for other platforms=20 David
State Changed From-To: patched->feedback what is you version of swig? and libtool?
Thanks for keeping onto this swig-1.3.31 libtool-1.5.22_4 David
State Changed From-To: feedback->analyzed That problem is fixed in: http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/swig13/Makefile Please update and try again.
Great FIXED That compiled with todays cvsup and portupgrade -a. Scots commit of swig enabled the graphviz upgrade to compile. Thank you everyone david
State Changed From-To: analyzed->closed problem solved