Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16018 - graphviz-1.9.ebuild (updated from 1.8.10)
Summary: graphviz-1.9.ebuild (updated from 1.8.10)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-19 12:57 UTC by Tom Payne (RETIRED)
Modified: 2003-09-22 11:27 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
graphviz-1.9.ebuild (graphviz-1.9.ebuild,1.03 KB, text/plain)
2003-02-19 12:58 UTC, Tom Payne (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Payne (RETIRED) gentoo-dev 2003-02-19 12:57:42 UTC
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
Comment 1 Tom Payne (RETIRED) gentoo-dev 2003-02-19 12:58:15 UTC
Created attachment 8490 [details]
graphviz-1.9.ebuild
Comment 2 Hannes Mehnert (RETIRED) gentoo-dev 2003-02-22 17:15:08 UTC
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. 
Comment 3 George Shapovalov (RETIRED) gentoo-dev 2003-02-22 17:31:45 UTC
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
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-03-01 19:18:54 UTC
sorry doesn't build with gcc 2.9x
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-03-01 19:19:23 UTC
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)
Comment 6 Tom Payne (RETIRED) gentoo-dev 2003-03-19 09:53:52 UTC
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
Comment 7 George Shapovalov (RETIRED) gentoo-dev 2003-03-19 14:02:06 UTC
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
Comment 8 George Shapovalov (RETIRED) gentoo-dev 2003-03-20 07:08:01 UTC
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
Comment 9 George Shapovalov (RETIRED) gentoo-dev 2003-04-06 03:29:19 UTC
Well, no replies, I will have to presume that everything is working ;).
Moved 1.9 to stable in x86. Closing the bug.

George
Comment 10 Martin Holzer (RETIRED) gentoo-dev 2003-09-22 11:27:47 UTC
db-issue
Comment 11 Martin Holzer (RETIRED) gentoo-dev 2003-09-22 11:27:58 UTC
db-fix