Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166376 - emerge graphviz-2.8-r2 failed beause: multiple definition of `entities'
Summary: emerge graphviz-2.8-r2 failed beause: multiple definition of `entities'
Status: RESOLVED DUPLICATE of bug 165460
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-11 17:56 UTC by Attila Balint
Modified: 2007-02-12 08:01 UTC (History)
1 user (show)

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


Attachments
Build log (build.log,215.56 KB, text/plain)
2007-02-11 17:58 UTC, Attila Balint
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Balint 2007-02-11 17:56:36 UTC
Hello all you happy gentoo people :)

When I try to emerge graphviz with the following use flags I get the error below:
media-gfx/graphviz-2.8-r2  USE="X java perl python -cairo -guile -lua -ocaml -php -ruby -static -tcl -tk"


See error message below:
i686-pc-linux-gnu-gcc -shared  .libs/gvrender.o .libs/gvlayout.o .libs/gvtextlayout.o .libs/gvdevice.o .libs/gvcontext.o .libs/gvjobs.o .libs/gvevent.o .libs/gvplugin.o .libs/gvconfig.o .libs/gvusershape.o .libs/gvc.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/media-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/graphviz-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 /usr/lib/libpng12.so -lm /usr/lib/libexpat.so -lz /usr/lib/libltdl.so  -march=i686 -Wl,-soname -Wl,libgvc_builtins.so.2 -o .libs/libgvc_builtins.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]: *** Waiting for unfinished jobs....
../../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_builtins.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
make[2]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.8-r2/work/graphviz-2.8/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.8-r2/work/graphviz-2.8'
make: *** [all] Error 2

!!! ERROR: media-gfx/graphviz-2.8-r2 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3405:   Called src_compile
  graphviz-2.8-r2.ebuild, line 84:   Called die

!!! Compile Failed!
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-gfx/graphviz-2.8-r2/temp/build.log'.


Emerge --info:
Portage 2.1.2-r9 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r6-laptopX i686)
=================================================================
System uname: 2.6.18-gentoo-r6-laptopX i686 Intel(R) Core(TM)2 CPU         T5600  @ 1.83GHz
Gentoo Base System version 1.12.6
Timestamp of tree: Sun, 11 Feb 2007 16:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.roedu.net/pub/mirrors/gentoo.org/ ftp://ftp.roedu.net/pub/mirrors/gentoo.org/ http://mirrors.evolva.ro/gentoo/ ftp://mirrors.evolva.ro/gentoo/ ftp://ftp.lug.ro/gentoo http://ftp.lug.ro/gentoo/ ftp://ftp.romnet.org/gentoo/ http://ftp.romnet.org/gentoo/ "
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acpi alsa arts audiofile bash-completion berkdb bitmap-fonts bluetooth bzip2 cdr cli cracklib crypt cscope cups dbus dga dlloader dri dts dv dvd dvdr dvdread encode exif fbcon ffmpeg fortran gdbm gif gphoto2 gphoto3 gpm hal iconv imagemagick imlib ipv6 isdnlog jabber java javascript jbig jpeg jpeg2k kde libg++ lm_sensors mad midi mmx mp3 mpeg mplayer musepack ncurses nls nptl nptlonly nsplugin ogg openal opengl oss pam pcmcia pcre pda pdf perl png ppds pppd python qt3 qt4 quicktime rdesktop readline reflection samba sdl session sndfile speex spell spl sse sse2 ssl svg tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs wmf x86 xine xinerama xinetd xml xorg xprint xv xvid yahoo zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard synaptics mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810 vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS


Hope this helps to explain the problem. If you need any additional info don't hesitate to contact me.

Regards,
   Attila
Comment 1 Attila Balint 2007-02-11 17:58:29 UTC
Created attachment 109866 [details]
Build log
Comment 2 Attila Tóth 2007-02-11 18:00:58 UTC
(In reply to comment #1)
> Created an attachment (id=109866) [edit]
> Build log
> 

As it was previously noted at id=165460, building with media-libs/gd-2.0.33 works flawlessly. However gd-2.0.34 fails again.

Regards,
Dw.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-02-11 18:12:06 UTC
(In reply to comment #2)
> As it was previously noted at id=165460, building with media-libs/gd-2.0.33
> works flawlessly. However gd-2.0.34 fails again.

So why are you filing a duplicate? :/

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