Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166562 - media-gfx/graphviz-2.8-r2 fails to build in work/graphviz-2.8/lib/gvc: multiple definition of `entities'
Summary: media-gfx/graphviz-2.8-r2 fails to build in work/graphviz-2.8/lib/gvc: multip...
Status: RESOLVED DUPLICATE of bug 165460
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-12 20:16 UTC by Vassilii Khachaturov
Modified: 2007-02-12 20:54 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vassilii Khachaturov 2007-02-12 20:16:25 UTC
emerge of graphviz broken as follows:
...
/bin/sh ../../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc  -O3 -march=pentium3 -mtune=pentium3 -pipe -
mmmx -mfpmath=sse,387 -fomit-frame-pointer -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffas
t-math -version-info 2:0:0 -no-undefined  -o libgvc.la -rpath /usr/lib/graphviz gvrender.lo gvlayout.lo gvtextl
ayout.lo gvdevice.lo gvcontext.lo gvjobs.lo gvevent.lo gvplugin.lo gvconfig.lo gvusershape.lo gvc.lo no_builtin
s.lo ../../lib/cdt/libcdt.la ../../lib/common/libcommon.la ../../lib/graph/libgraph.la ../../lib/pathplan/libpa
thplan.la -L/usr/lib -lgd -ljpeg -lfreetype -lpng12 -lz -lm /usr/lib/libexpat.la -lexpat  -lz  -lltdl 
i686-pc-linux-gnu-gcc -shared  .libs/gvrender.o .libs/gvlayout.o .libs/gvtextlayout.o .libs/gvdevice.o .libs/gv
context.o .libs/gvjobs.o .libs/gvevent.o .libs/gvplugin.o .libs/gvconfig.o .libs/gvusershape.o .libs/gvc.o .lib
s/no_builtins.o -Wl,--whole-archive ../../lib/common/.libs/libcommon.a -Wl,--no-whole-archive  -Wl,--rpath -Wl,
/var/tmp/portage/media-gfx/graphviz-2.8-r2/work/graphviz-2.8/lib/cdt/.libs -Wl,--rpath -Wl,/var/tmp/portage/med
ia-gfx/graphviz-2.8-r2/work/graphviz-2.8/lib/graph/.libs -Wl,--rpath -Wl,/var/tmp/portage/media-gfx/graphviz-2.
8-r2/work/graphviz-2.8/lib/pathplan/.libs -Wl,--rpath -Wl,/usr/lib/graphviz -L/var/tmp/portage/media-gfx/graphv
iz-2.8-r2/work/graphviz-2.8/lib/cdt/.libs ../../lib/cdt/.libs/libcdt.so ../../lib/graph/.libs/libgraph.so ../..
/lib/pathplan/.libs/libpathplan.so -L/usr/lib /usr/lib/libgd.so /usr/lib/libjpeg.so /usr/lib/libfreetype.so /us
r/lib/libpng12.so -lm /usr/lib/libexpat.so -lz /usr/lib/libltdl.so  -march=pentium3 -mtune=pentium3 -mmmx -mfpm
ath=sse,387 -Wl,-soname -Wl,libgvc.so.2 -o .libs/libgvc.so.2.0.0
../../lib/common/.libs/libcommon.a(utils.o):(.data.rel.local+0x0): multiple definition of `entities'
../../lib/common/.libs/libcommon.a(htmllex.o):(.data.rel.local+0x0): first defined here
collect2: ld returned 1 exit status
make[3]: *** [libgvc.la] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.8-r2/work/graphviz-2.8/lib/gvc'
make[2]: *** [all-recursive] Error 1
...

Reproducible: Always

Steps to Reproduce:
1. emerge -uDN world

Actual Results:  
build failed as explained in the summary

Expected Results:  
should have successfully built the package

Tried to emerge -C graphviz, but it didn't help. Current state:

# emerge -pv graphviz

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] media-gfx/graphviz-2.8-r2  USE="perl python -X -cairo -guile -java -lua -ocaml -php -ruby -static -tcl -tk" 0 kB 

Total: 1 package (1 new), Size of downloads: 0 kB
# eix graphviz
...
* media-gfx/graphviz 
     Available versions:  1.10 1.12 1.12-r1 1.16 1.16-r1 ~2.2 ~2.2.1 ~2.2.1-r1 ~2.4 ~2.6 ~2.6-r1 2.8 2.8-r1 2.8-r2
     Homepage:            http://www.graphviz.org/
     Description:         Open Source Graph Visualization Software
Comment 1 Krzysztof Pawlik (RETIRED) gentoo-dev 2007-02-12 20:54:40 UTC

*** This bug has been marked as a duplicate of bug 165460 ***