Hi -- Please find attached an ebuild for the latest version of graphviz, the graph drawing software. http://www.research.att.com/sw/tools/graphviz/ Key features of this ebuild: * Version 1.9 of graphviz * No more libpng-1.0 dependency Regards, Tom
Created attachment 8490 [details] graphviz-1.9.ebuild
George: assuming you meant this bug in bug #10726, graphviz-1.9 works great here (without libpng-1.0.x), I compiled kdelibs-apidocs successfully with it.
Hi guys. Tom: I have processed and committed the ebuild. Thanks for a submission! Hannes: yes, I meant this bug :), sorry for confusion, and thanks for testing! George
sorry doesn't build with gcc 2.9x
source='parse.c' object='parse.o' libtool=no \ depfile='.deps/parse.Po' tmpdepfile='.deps/parse.TPo' \ depmode=gcc /bin/sh ../../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../tools/expr -I../../tools/vmalloc -I../../tools/sfio -I../../tools/ast -I../../tools/src -I../../agraph -I../../cdt -march=i686 -O3 -pipe -fomit-frame-pointer -Wall -Wno-unknown-pragmas -c `test -f parse.c || echo './'`parse.c compile.c: At top level: ../expr/exop.h:1: warning: `exop' defined but not used source='queue.c' object='queue.o' libtool=no \ depfile='.deps/queue.Po' tmpdepfile='.deps/queue.TPo' \ depmode=gcc /bin/sh ../../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../tools/expr -I../../tools/vmalloc -I../../tools/sfio -I../../tools/ast -I../../tools/src -I../../agraph -I../../cdt -march=i686 -O3 -pipe -fomit-frame-pointer -Wall -Wno-unknown-pragmas -c `test -f queue.c || echo './'`queue.c queue.c: In function `makef': queue.c:13: warning: implicit declaration of function `malloc' queue.c: In function `freef': queue.c:21: warning: implicit declaration of function `free' parse.c: In function `parseCase': parse.c:315: warning: enumeration value `Error' not handled in switch parse.c: In function `parseProg': parse.c:434: warning: enumeration value `Error' not handled in switch /bin/sh ../../libtool --mode=link gcc -march=i686 -O3 -pipe -fomit-frame-pointer -Wall -Wno-unknown-pragmas -o gpr actions.o compile.o gpr.o gprstate.o parse.o queue.o ../../tools/expr/libexpr.la ../../tools/ast/libast.la ../../tools/vmalloc/libvmalloc.la ../../tools/sfio/libsfio.la ../../tools/src/libingraphs.la ../../agraph/libagraph.la ../../cdt/libcdt.la -lm gcc -march=i686 -O3 -pipe -fomit-frame-pointer -Wall -Wno-unknown-pragmas -o .libs/gpr actions.o compile.o gpr.o gprstate.o parse.o queue.o ../../tools/expr/.libs/libexpr.so ../../tools/ast/.libs/libast.al ../../tools/vmalloc/.libs/libvmalloc.al ../../tools/sfio/.libs/libsfio.al ../../tools/src/.libs/libingraphs.al ../../agraph/.libs/libagraph.so ../../cdt/.libs/libcdt.so -lm -Wl,--rpath -Wl,/usr/lib/graphviz ../../tools/sfio/.libs/libsfio.al(sftable.lo)(.text+0xc5c): In function `sffmtpos': : undefined reference to `va_copy' ../../tools/sfio/.libs/libsfio.al(sftable.lo)(.text+0xca7): In function `sffmtpos': : undefined reference to `va_copy' ../../tools/sfio/.libs/libsfio.al(sfvprintf.lo)(.text+0x136): In function `sfvprintf': : undefined reference to `va_copy' ../../tools/sfio/.libs/libsfio.al(sfvprintf.lo)(.text+0x801): In function `sfvprintf': : undefined reference to `va_copy' ../../tools/sfio/.libs/libsfio.al(sfvprintf.lo)(.text+0xc05): In function `sfvprintf': : undefined reference to `va_copy' ../../tools/sfio/.libs/libsfio.al(sfvprintf.lo)(.text+0xf95): more undefined references to `va_copy' follow collect2: ld returned 1 exit status make[3]: *** [gpr] Error 1 make[3]: Leaving directory `/var/tmp/portage/graphviz-1.9/work/graphviz-1.9/tools/gpr' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/graphviz-1.9/work/graphviz-1.9/tools' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/graphviz-1.9/work/graphviz-1.9' make: *** [all] Error 2 !!! ERROR: media-gfx/graphviz-1.9 failed. !!! Function src_compile, Line -189, Exitcode 2 !!! (no error message)
Can we just flag it 'gcc 3 only' somehow? I don't know anything about the internals of graphviz and would rather not mess with it if at all possible. Cheers, Tom
Hi guys. First, could you please reopen the bug marked TEST-REQUEST if you are reporting a problem ;). I tested graphviz-1.9 on gcc-2.95.3 and can reproduce the problem. Reducing C[XX]FLAGS does not help and it looks like failure happens when ld tries to create the grp library, probably due to the changed ABI. Thus this does not look like it is easily ficable. Well, we had that libpng issue sorted out with 1.8.x, so I will disable graphviz-1.9 and higher in gcc-2 based profiles... George
Ok, added >=sys-devel/gcc-3.2* to DEPEND, also <media-gfx/graphviz-1.9 to all gcc-2 based profiles. Should fix this issue... Please Test. George
Well, no replies, I will have to presume that everything is working ;). Moved 1.9 to stable in x86. Closing the bug. George
db-issue
db-fix