Emerge of version 2.8, 2.8-r1 or 2.8-r2 of graphviz throws up this multiple-definition error. This is from 2.8-r2: # emerge graphviz [...] x86_64-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,/tmp/portage/media-gfx/graphviz-2.8-r2/work/graphviz-2.8/lib/cdt/.libs -Wl,--rpath -Wl,/tmp/portage/media-gfx/graphviz-2.8-r2/work/graphviz-2.8/lib/graph/.libs -Wl,--rpath -Wl,/tmp/portage/media-gfx/graphviz-2.8-r2/work/graphviz-2.8/lib/pathplan/.libs -Wl,--rpath -Wl,/usr/lib64/graphviz -L/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/lib64 /usr/lib64/libgd.so /usr/lib64/libjpeg.so /usr/lib64/libfreetype.so /usr/lib64/libpng12.so -lm /usr/lib64/libexpat.so -lz /usr/lib64/libltdl.so -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_builtins.la] Error 1 make[3]: *** Waiting for unfinished jobs.... I get the same if I say 'MAKEOPTS="-j1" emerge graphviz' instead. Reproducible: Always # emerge --info Portage 2.1.2-r7 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 x86_64) ================================================================= System uname: 2.6.19-gentoo-r5 x86_64 AMD Opteron(tm) Processor 246 Gentoo Base System release 1.12.9 Timestamp of tree: Mon, 05 Feb 2007 05:50:01 +0000 ccache version 2.4 [enabled] dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 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.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.19.2-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-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/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk http://ftp.easynet.nl/mirror/gentoo http://trumpetti.atm.tut.fi/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://distfiles.gentoo.org" LANG="en_GB.UTF-8" LC_ALL="en_GB.UTF-8" LINGUAS="en_GB" MAKEOPTS="-j5" 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="/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://gate.prhnet/gentoo-portage" USE="X aalib acpi alsa amd64 arts bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr fam firefox fortran gdbm gif gimp gpm graphviz gs iconv ipv6 ithreads javascript jpeg jpeg2k kde kdeenablefinal lcms libg++ lm_sensors logitech-mouse logrotate midi mng mp3 mpeg ncurses nls nptl nptlonly nvidia ogg opengl pam pcre pdf perl png ppds pppd python qt3 qt4 readline reflection samba sample scanner sdl session smp spell spl ssl svg tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis wmf xcomposite xml xml2 xorg zlib" ALSA_CARDS="via82xx" 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" CAMERAS="fuji" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
same here emerge --info Portage 2.1.2-r8 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-beyond3 i686) ================================================================= System uname: 2.6.19-beyond3 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System release 1.12.9 Timestamp of tree: Tue, 06 Feb 2007 11:50:01 +0000 dev-java/java-config: 1.3.7, 2.0.31-r3 dev-lang/python: 2.5-r1 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 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.17.50.0.9 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.20 ACCEPT_KEYWORDS="~x86" ARCH="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CCACHE_DIR="/var/ccache" CFLAGS="-march=pentium4 -Os -pipe -fomit-frame-pointer -funit-at-a-time -freorder-blocks -freorder-blocks-and-partition -fno-ident" CG_COMPILER_EXE="/usr/bin/cgc" 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 /etc/texmf/web2c" CXXFLAGS="-march=pentium4 -Os -pipe -fomit-frame-pointer -funit-at-a-time -freorder-blocks -freorder-blocks-and-partition -fno-ident" ELIBC="glibc" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ " LDFLAGS="-Wl,-O1 -Wl,--sort-common -s" LINGUAS="pl de en_GB en" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aalib acpi alsa amarok audiofile avahi bash-completion berkdb bitmap-fonts bzip2 cairo caps cdr cdrw cli cracklib crypt cups curl dbus dga directfb dlloader dri dvd dvdr dvdread eds emboss encode exif extraicons extramodules fam fbcon firefox flac fortran gdbm ggi gif glitz glut gnutls gpm gtk gtk+ hal iconv ieee1394 imlib insecure-savers ipv6 isdnlog java jbig john jpeg jpeg2k jython kde kdehiddenvisibility kscreensaver libcaca libg++ lua lzo mad mbox midi mikmod mmap mmx modplug motif mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg openexr opengl oss pam pcmcia pcre pdf perl pertty png ppds pppd python qt qt3 quicktime readline real reflection rhino ruby sasl sdl session slang smime spell spl sqlite sse sse2 ssl svg sysfs tcpd tetex threads tiff tk truetype truetype-fonts type1-fonts udev unicode urandom usb vorbis win32codecs x264 x86 xcb xcomposite xft xine xinerama xinetd xml xorg xscreensaver xv zlib" ALSA_CARDS="intel8x0 intel8x0m" VIDEO_CARDS="nv nvidia fbdev nouveau"
Me 2. Portage 2.1.2-r7 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r4 x86_64) ================================================================= System uname: 2.6.19-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Gentoo Base System release 1.12.9 Timestamp of tree: Sun, 04 Feb 2007 21:50:01 +0000 dev-lang/python: 2.4.4 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.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.19.2-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-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/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en_GB" 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" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X alsa amd64 berkdb bitmap-fonts cairo cdinstall cdparanoia cdr cdrom cli cracklib crypt cvs dbus deprecated divx dlloader dvd dvdr dvdread eds emboss encode fam firefox fortran gdbm gif gmedia gphoto2 gpm graphviz gtk gtk2 hal history iconv imlib jpeg kde libg++ libsamplerate live lm_sensors mad midi mikmod mp3 mpeg ncurses nls nptl nptlonly nvidia ofx ogg openal opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime quotes readline realmedia reflection sdl session smp spell spl sql ssl subversion svg tcpd theora truetype truetype-fonts type1-fonts udev unicode usb vorbis wmp xcomposite xml xorg xscreensaver xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 mouse joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
I get the same issue on ~amd64... emerge --info: Portage 2.1.2-r8 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r1 x86_64) ================================================================= System uname: 2.6.18-gentoo-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ Gentoo Base System version 1.12.9 Timestamp of tree: Wed, 07 Feb 2007 16:30:01 +0000 dev-java/java-config: 1.3.7, 2.0.31-r3 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 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.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.20 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -funroll-loops -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=athlon64 -O2 -pipe -funroll-loops -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="en en_US" 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="16bit-indices 3ds 64bit 7zip X Xaw3d a52 aac aalib accessibility acct acl acpi ada addbookmarks aiglx aio akode alias allegro alsa altenburgcards amarok amd64 amr animgif ansi ao aoss apache2 arj artworkextra asf async auctex audiofile automount autoreplace avahi avalon-framework avalon-logkit badval bash-completion battery bcmath bcp beagle berkdb bidi binfilter bitmap-fonts bittorrent bjam blas bookmarks boost branding bzip2 c3p0 cairo cal3d calendar caps cdaudio cddb cdparanoia cdr cegui cg chipcard chm chroot cjk clearcase cli clisp connectionstatus contactnotes cpudetection cpufreq cracklib crypt cscope css ctype cups curl curlwrappers custom-cflags cvs dbus demo deprecated devhelp device-mapper devil dga directfb discouraged diskio divx djvu dlloader dmi doc dom4j double-precision dri dtaus dts dv dvb dvd dvdr dvdread dvi editor eds elf elisp enca encode epydoc evo examples exif expat extraengine extrafilters fam fame fastbuild fat fbcon ffmpeg fftw fidonet firefox fits flac flatfile fmod fontconfig foomaticdb fortran fpx freetds frontendonly ftp fuse gadu galago gcj gcl gd gdbm gdl gedit geldkarte geoip geos ggi gif gimp ginac glade glib glitz glut glw gmath gmedia gml gmp gnokii gnome gnutls gphoto2 gpm gps graphviz groupwise gs gsm gstreamer gtk gtk2 gtkhtml gtp guile hacking hal hardware-carrier hash haskell hbci hdf hdf5 hfs highlight history hlapi hpn html ical iconv idl idn ieee1394 ifp ilbc imagemagick imap imlib inherit-graph inifile insecure-savers ipod ipv6 irc irda isdnlog ithreads itrax jack java java5 javamail javascript jbig jce jfs jikes jingle jms jmx jni jpeg jpeg2k jython kcal kde kdecards kdeenablefinal kdehiddenvisibility kerberos keyring kig-scripting lame largefile latex lcms ldap ldb lesstif lha libburn libcaca libedit libg++ libnotify libsexy libwww lirc live lm_sensors log4j logitech-mouse logrotate lua lzo mad matroska mdb memlimit metalink mgetty mhash midi mikmod mime ming mixer mjpeg mmap mng modplug module mono mopac7 motif mozbranding mozdevelop moznopango mp3 mp3rtp mpeg mpi mplayer mpm-threadpool mpqc mssql mt940 mtp muine musepack music musicbrainz mysql nas ncurses net netboot netcdf netjack netmeeting network networking new-clx new-login nfs nis njb nls nntp nowlistening nptl nptlonly nsplugin ntfs ntp numeric oav objc objc++ objc-gc ocaml oci8 odbc ode odk offensive ofx ogdi ogg ole openal openbabel openexr opengl oracle oss pam pam_chroot pam_console pam_timestamp pascal pcmcia pcntl pcre pda pdf pdo perforce perl php physfs pike plotutils plugins png portaudio posix postgres povray ppds pppd preview-latex proteus pwdb pysolcards pyste python qdbm qhull qt3 qt3support qt4 quicktime quotas quotes rar rdesktop readline real realmedia recode reflection regex reiser4 reiserfs remix rhino rle rpm rt2500pci rtc ruby samba sametime sasl savedconfig sbcl scanner scenarios script sdl sensord serial serpentine server servletapi session sftp sharedext sharedmem simplexml skey slang slp smp sms sndfile snmp soap sockets socks5 sound sounds source sourceview sox speex spell spl sql sqlite sqlite3 srt ssl startup-notification staticsocket statistics streamripper subversion svg swat sysfs syslog sysvipc szip t1lib tcl tcltk tcpd tetex texteffect tga theora threads thunar-vfs tidy tiff timidity tk tntc tokenizer toolbar tordns totem translator transmitter truetype truetype-fonts type1-fonts udev unicode urandom usb utempter v4l v4l2 valgrind vcd vim vim-pager vim-syntax vim-with-x visualization voice vorbis wavpack webdav webpresence wifi winbind winpopup wireshark wlan wmf wmp workbench wxgtk1 wxwindows x264 xanim xbase xcb xcomposite xerces-c xforms xfs xine xinerama xml xmldoclet xmlreader xmlrpc xmlwriter xorg xpm xprint xscreensaver xskatcards xsl xtended xv xvid xvmc yahoo yaz yv12 zeroconf zip zippy zlib zrtp" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="synaptics evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" LIRC_DEVICES="serial" USERLAND="GNU" VIDEO_CARDS="nvidia nv" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS (And yes, I know - Holy USE flag overkill, Batman!) -James
Created attachment 109562 [details] emerge --info me too (please hurry, this is blocking installation of my base system; I need fix or at least workaround ASAP for my fresh install)
echo " =media-gfx/graphviz-2.8-r2 =media-gfx/graphviz-2.8-r1 =media-gfx/graphviz-2.8 ">> /etc/portage/package.mask worked for me.
downloading media media-libs/gd to stable version (2.0.33) soved problem for me
also upgrading to graphviz 2.12 fixes the issue and some other too, the ebuild can be found at Bug #161302
I have this bug too. How is it possible media-gfx/graphviz-2.8-r2 came in the stable tree last night and so mutch bugs are still opened ?
(In reply to comment #8) > media-gfx/graphviz-2.8-r2 came in the stable tree last night sorry, false, not new in the tree but ebuild changed, and graphviz doesn't compile anymore.
(In reply to comment #6) > downloading media media-libs/gd to stable version (2.0.33) soved problem for me > graphviz-2.8-r2 merges correctly with media-libs/gd-2.0.33. But the latest stable is media-libs/gd-2.0.34 now, and the intial symptoms of this bugs showed up again. Port those changes of media-libs/gd made graphviz to compile with 2.0.33 to gd-2.0.34 also, please. Regards, Dw.
*** Bug 166376 has been marked as a duplicate of this bug. ***
(In reply to comment #5) > echo " > =media-gfx/graphviz-2.8-r2 > =media-gfx/graphviz-2.8-r1 > =media-gfx/graphviz-2.8 > ">> /etc/portage/package.mask > > worked for me. > Yes but: 1. I don't want to downgrade permanently. I need graphviz, so I'll do what I have to, but the bug(s) should get fixed. 2. As someone posted, there's a bug to get 2.12 in the tree, Bug #161302. That should happen too.
*** Bug 166416 has been marked as a duplicate of this bug. ***
*** Bug 166377 has been marked as a duplicate of this bug. ***
Same problem... emerge --info Portage 2.1.2-r9 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.5-r0, 2.6.18-gentoo-r6 i686) ================================================================= System uname: 2.6.18-gentoo-r6 i686 AMD Athlon(tm) XP 2100+ Gentoo Base System version 1.12.6 Timestamp of tree: Mon, 12 Feb 2007 06:20:02 +0000 ccache version 2.4 [enabled] dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 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="-O3 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/ http://trumpetti.atm.tut.fi/gentoo/ " LINGUAS="en ru" MAKEOPTS="-j2" 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/src/MYEBILDS" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="alsa apache2 apm arts async berkdb bitmap-fonts bzip2 cli cracklib crypt daemon dlloader dri eds emboss encode esd extensions foomaticdb fortran gdbm gif gnome gstreamer gtk2 iconv imlib ipv6 isdnlog jpeg kde l7filter libg++ libwww lm_sensors logrotate mad midi mikmod mmap motif mp3 mpeg mysql ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png pppd python qt3 qt4 quicktime readline reflection search session snmp sockets spl ssl tcpd tools truetype truetype-fonts type1-fonts udev unicode vorbis x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Problem occurs, because static array entities is declared & defined inside lib/gd/entities.h, what in turn is included in lib/common/{htmllex,utils}.c. Quick hack (idea): Since lib/gd/entities.h is created from lib/gd/entities.tcl using lib/gd/entities.html, I modified lib/gd/entities.tcl and one of the *.c files: lib/gd/entities.tcl creates lib/gd/entities.h with inclusion of lib/gd/entities_ext.h and the definition of the array and lib/gd/entities_ext.h with only the declaration - so only one *.c file shall include lib/gd/entities.h and so have the array defined, while all others use the ..._ext.h. Didn't work, since graphviz uses /usr/include/entities.h, what in turn is created from media-libs/gd
*** Bug 166493 has been marked as a duplicate of this bug. ***
(In reply to comment #12) > 1. I don't want to downgrade permanently. I need graphviz, so I'll do what I > have to, but the bug(s) should get fixed. I only downed to media-gfx/graphviz-2.6-r1 (the one before 2.8 in my tree). Exacte version matching will let portage try 2.8-r3 when it comes out ... I just said what worked for me in order to solve deps, and continue installing my system (new installation on new disk; this was blocking hardly things I needed). > 2. As someone posted, there's a bug to get 2.12 in the tree, Bug #161302. That > should happen too. Strange: I esynced 2 days ago, and I cant see any 2.12 in /usr/portage/media-gfx/graphviz/ was it a typo vs 1.12 ?
This bug seems to have been introduced with opfer's move from IUSE=tcltk to IUSE="tcl tk" (on all current graphviz ebuilds, without a revision bump). Emerging with USE="-tcl -tk" works for me, it seems. CC'ing opfer for his view on the matter.
I changed the ebuilds on 10 Feb, this bug was reported on 5 Feb...so I don't have anything to do with it. As reported in comment #6, media-libs/gd is responsible.
(In reply to comment #19) > This bug seems to have been introduced with opfer's move from IUSE=tcltk to > IUSE="tcl tk" (on all current graphviz ebuilds, without a revision bump). > Emerging with USE="-tcl -tk" works for me, it seems. CC'ing opfer for his view > on the matter. I think this is not the issue here, since I have: [ebuild R ] media-gfx/graphviz-2.8-r2 USE="X cairo -guile java -lua -ocaml perl -php python -ruby -static -tcl% (-tcltk%) -tk%" 4,144 kB and the compilation fails on this linking problem: ../../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] Błąd 1 make[2]: *** [all-recursive] Błąd 1 make[1]: *** [all-recursive] Błąd 1 make: *** [all] Błąd 2
I say same as #21: [ebuild U ] media-gfx/graphviz-2.8-r2 [2.6-r1] USE="X perl%* python%* -cairo -guile% -java% -lua% -ocaml% -php% -ruby% -static -tcl -tk" 0 kB => ../../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
(In reply to comment #20) > I changed the ebuilds on 10 Feb, this bug was reported on 5 Feb...so I don't > have anything to do with it. As reported in comment #6, media-libs/gd is > responsible. OK, I wasn't laying the blame on you. I just guessed changing IUSE on a stable ebuild would trigger a rebuild for everyone doing an emerge --update --newuse world. And somehow, your tests didn't find this issue.
the entities.h header is the same between gd-2.0.33 and gd-2.0.34
quick fix: cd /usr/portage/media-gfx/graphviz edit graphviz-2.8-r2.ebuild and put on the line before "emake" on line 84: (cd "${S}/lib/gd"; entities.tcl) run "ebuild graphviz-2.8-r2.ebuild digest" && emerge graphviz background: entities.tcl is the script that generated entities.h (according to the comments), but it isn't run every time a build is made, and the included entities.h is wrong.
(In reply to comment #25) > quick fix: > cd /usr/portage/media-gfx/graphviz > edit graphviz-2.8-r2.ebuild and put on the line before "emake" on line 84: > (cd "${S}/lib/gd"; entities.tcl) > > run "ebuild graphviz-2.8-r2.ebuild digest" && emerge graphviz This did not work for me - I still get the same build error.
(In reply to comment #25) > quick fix: > cd /usr/portage/media-gfx/graphviz > edit graphviz-2.8-r2.ebuild and put on the line before "emake" on line 84: > (cd "${S}/lib/gd"; entities.tcl) > run "ebuild graphviz-2.8-r2.ebuild digest" && emerge graphviz > background: > entities.tcl is the script that generated entities.h (according to the > comments), but it isn't run every time a build is made, and the included > entities.h is wrong. It's not work for me too...
(In reply to comment #26) > (In reply to comment #25) > > quick fix: > > cd /usr/portage/media-gfx/graphviz > > edit graphviz-2.8-r2.ebuild and put on the line before "emake" on line 84: > > (cd "${S}/lib/gd"; entities.tcl) > > > > run "ebuild graphviz-2.8-r2.ebuild digest" && emerge graphviz > > This did not work for me - I still get the same build error. > So do I, the newly generated file is the same as original. I tried to redownload entities.html from W3C, but it's the same too.
*** Bug 166562 has been marked as a duplicate of this bug. ***
I copied entities.h from Graphviz to GD and now both compile. The important difference is probably "static" keyword in declaration of array "entities", so the symbol is not exported and does not collide with Graphviz. But it may break some else package.
Version 2.12 which fixes this issue is now in the tree. Graphics Team: I think it makes sense to keep this bug open until 2.12 goes stable.
(In reply to comment #25) > quick fix: > cd /usr/portage/media-gfx/graphviz > edit graphviz-2.8-r2.ebuild and put on the line before "emake" on line 84: > (cd "${S}/lib/gd"; entities.tcl) > > run "ebuild graphviz-2.8-r2.ebuild digest" && emerge graphviz > > background: > entities.tcl is the script that generated entities.h (according to the > comments), but it isn't run every time a build is made, and the included > entities.h is wrong. At least for me, entities.h from /usr/include (the one installed from gd) is used - .../lib/gd is never -I'ed at compile time.
Same problem here with media-gfx/graphviz-2.8-r2: ../../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]: *** Se espera a que terminen otras tareas.... ../../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]: se sale del directorio `/var/tmp/portage/media-gfx/graphviz-2.8-r2/work/graphviz-2.8/lib/gvc' make[2]: *** [all-recursive] Error 1 make[2]: se sale del directorio `/var/tmp/portage/media-gfx/graphviz-2.8-r2/work/graphviz-2.8/lib' make[1]: *** [all-recursive] Error 1 make[1]: se sale del directorio `/var/tmp/portage/media-gfx/graphviz-2.8-r2/work/graphviz-2.8' make: *** [all] Error 2 My emerge --info: Portage 2.1.2-r9 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo i686) ================================================================= System uname: 2.6.20-gentoo i686 Genuine Intel(R) CPU T2300 @ 1.66GHz Gentoo Base System release 1.12.9 Timestamp of tree: Tue, 13 Feb 2007 20:20:01 +0000 ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 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=pentium-m -pipe -fomit-frame-pointer -mfpmath=sse -msse3" 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/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -mfpmath=sse -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ " LC_ALL="es_ES.UTF-8" LINGUAS="es en_US" 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/portage/local/layman/armagetron /usr/portage/local/layman/sunrise /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi aim alsa ansi arts asf audiofile avi bash-completion bcmath beagle bidi bitmap-fonts bonobo bzip2 bzlib cairo caps cdb cddb cdparanoia cdr cdrparanoia cli cpdflib cracklib cross crypt cscope css ctype cups curl curlwrappers dbus dga dio directfb divx4linux dlloader dri dts dv dvb dvd dvdr dvdread encode escreen esd evo exif fam fbcon ffmpeg fftw firefox flac foomaticdb fortran ftp gb gcj gd ggi gif gimp gimpprint glitz glut glx gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl iconv imagemagick imlib ipv6 isdnlog jabber jack java jikes jpeg kde kdeenablefinal kdehiddenvisibility latex lcms ldap lesstif libg++ libnotify logrotate mad mbox midi mikmod mime ming mmap mmx mmxext mng mono motif mp3 mpeg mpi mplayer musepack musicbrainz nas ncurses nethack nls nocd nptl nptlonly nsplugin ntfs nvidia ogg oggvorbis openal opengl opnegl oss pam pcmcia pcre pdf pdflib perl pic png pnp posix ppds pppd python qt qt3 qt4 quicktime readline real reflection reiserfs rpm rtc ruby scanner sdl seamonkey session slang slp smp sndfile sockets socks5 speex spell spl sse sse2 sse3 ssl svg syslog tcltk tcpd tetex tga theora threads tiff timidity tk truetype truetype-fonts trusted type1-fonts unicode usb userlocales v4l v4l2 vcd videos vim vorbis wifi win32codecs wma wmf wmp wxwindows x86 xcomposite xft xine xml xml2 xorg xpm xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" DVB_CARDS="usb-dib0700" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
*** Bug 166823 has been marked as a duplicate of this bug. ***
Fixed in graphviz-2.12
*** Bug 166954 has been marked as a duplicate of this bug. ***
Works for me, asking for CLOSED or FIXED
No, it would be fixed if gd-2.0.34 wasn't stable. But it had to be stabled wrt security, so now stable tree is broken until a fixed graphviz (that's 2.12 unless somebody fixes 2.8 in some revbump) is stable too (possible skipping the 30 days wait).
*** Bug 167030 has been marked as a duplicate of this bug. ***
I fixed the depend on gd-2.0.33 so that the stable version at least compiles (though the old gd is likely to get package.masked soon). Arch teams: Recommend stabilising graphviz-2.12 immediately due to #141577, it's the current stable release upstream and works for me.
x86 stable
Stop stabilization immediately. It still needs some serious rework·
*** Bug 167064 has been marked as a duplicate of this bug. ***
(In reply to comment #42) > Stop stabilization immediately. It still needs some serious rework· x86: You might want to re-evaluate your stable-marking :)
(In reply to comment #44) > (In reply to comment #42) > > Stop stabilization immediately. It still needs some serious rework· > > x86: You might want to re-evaluate your stable-marking :) I rebuilt three times now with differing USE flag combinations (including all enabled) and it succeeded. As we have a non-compiling state in 2.8, I choose non-compiling for some with 2.12. But thanks for the note.
What exactly is wrong with 2.12? There are no open bugs. It works for me, the users in #161302, and a couple of users on this bug. And it's obviously better than having the stable tree broken.
@Chris: There are no open bugs because I just added it a couple of days ago. And to answer your question about what's wrong: tk USE-flag is wrong (that option doesn't exist anymore and someone should take a look how to patch tk-dependendency out), it failed on my machine with guile USE-flag set. gnomeui is probably needed in DEPEND if pango-support is enabled. Someone should check whether "dot -c" is still needed in pkg_postinst and if it is, write one line documentation about the why. And then someone should do some cleanup of the ebuild (for example the "touch"-line, check the notcl-patch, drop pdf-docs generation, find a clean-way to not install the docs). If you want to replace a broken package with a half-broken one instead of fixing the stuff above before (or giving me time to fix it), go ahead.
Most (all?) of the possible bugs you mention apply identically to 2.8 and yet it was stabilised without issue. I'm not suggesting that there's never any room for enhancement, just that things don't have to be perfect, only better than the alternatives they replace. Having said that, I looked into the bug list: tk USE flag is wrong: configure doesn't support --enable-tk. The only bug is minor; tk users can't opt not to install the graphviz tk stuff by setting -tk as a local USE flag because configure will detect it anyway. fails with guile USE flag : compiles, installs ok for me gnomeui probably needed in DEPEND if pango USE flag set: apparently not. compiles, installs ok for me dot-c: dot --help describes why it's there, to "Configure plugins in $prefix/lib/graphviz/config". touch line: possibly not needed if you can guarantee upstream always puts a more recent modification date on that file than the headers. But given that you can't guarantee that it does no harm to be certain. notcl-patch: only inserts 5 lines to build man pages.. could be inlined in ebuild but whatever. rm'ing docs: yeah, you could not build them in the first place, it's a minor enhancement bug.
(In reply to comment #48) > fails with guile USE flag : compiles, installs ok for me See #167045
(In reply to comment #48) > dot-c: dot --help describes why it's there, to "Configure plugins in > $prefix/lib/graphviz/config". If doesn't work at all, and has been broken for ages, maybe someone should finally remove it... See Bug 130418.
(In reply to comment #6) > downloading media media-libs/gd to stable version (2.0.33) soved problem for me > I've had this problem on x86_64. I masked media-libs/gd-2.0.34 and downgraded to media-libs/gd-2.0.33. This allowed graphviz--2.8-r2 to compile. Don't know how stable things are yet...
another reason to make it stable as soon as possible might be !!! Multiple versions within a single package slot have been !!! pulled into the dependency graph: ('ebuild', '/', 'media-libs/gd-2.0.32', 'merge') pulled in by ('ebuild', '/', 'media-gfx/graphviz-2.8-r2', 'merge') ('ebuild', '/', 'media-libs/gd-2.0.34', 'merge') pulled in by ('ebuild', '/', 'media-libs/libwmf-0.2.8.4', 'nomerge') Both graphviz and libwmf are of major importance concerning what in turn depends upon them.
(In reply to comment #52) > another reason to make it stable as soon as possible might be > > > !!! Multiple versions within a single package slot have been > !!! pulled into the dependency graph: > > ('ebuild', '/', 'media-libs/gd-2.0.32', 'merge') pulled in by > ('ebuild', '/', 'media-gfx/graphviz-2.8-r2', 'merge') > > ('ebuild', '/', 'media-libs/gd-2.0.34', 'merge') pulled in by > ('ebuild', '/', 'media-libs/libwmf-0.2.8.4', 'nomerge') > > > Both graphviz and libwmf are of major importance concerning what in turn > depends upon them. > Same problem here, I have installed 2.12 for "fixing" this.
if you're going to screw users with circular depends, at least minimize things RDEPEND="media-libs/gd" DEPEND="<media-libs/gd-2.0.34" newer gd causes build failure, not runtime failure
(In reply to comment #54) > if you're going to screw users with circular depends, at least minimize things > > RDEPEND="media-libs/gd" > DEPEND="<media-libs/gd-2.0.34" > > newer gd causes build failure, not runtime failure > this seems to be allready in merged to the tree but isn't this rather a wrong slotted gd? gd-2.0.34 && gd-2.0.33 && gd-2.0.32 they all use SLOT="2" as ebuild variable following worked for me: changed SLOT in gd-2.0.32.ebuild to 1 changed SLOT in gd-2.0.33.ebuild to 2 changed SLOT in gd-2.0.34.ebuild to 3 graphiz pulled gd-2.0.33 & gd-2.0.34 regarding the R/DEPEND and built correctly.
(In reply to comment #55) > but isn't this rather a wrong slotted gd? > gd-2.0.34 && gd-2.0.33 && gd-2.0.32 > they all use SLOT="2" as ebuild variable > > following worked for me: > changed SLOT in gd-2.0.32.ebuild to 1 > changed SLOT in gd-2.0.33.ebuild to 2 > changed SLOT in gd-2.0.34.ebuild to 3 Ouch! Don't do this nor advise doing this to anyone.
(In reply to comment #56) > > Ouch! Don't do this nor advise doing this to anyone. > Ouch. :/
Dear arch-team members. Please test and mark this package stable on your arch since it fixes a build-bug in the stable-tree. I removed all the bindings except for tcl. Comments for the reasons are in the ebuild itself. To sum it up: java/php bindings never build, ruby, python and probably others are being installed to the wrong directories and scheme-bindings randomly fail. We (lu_zero & I) agreed that this is for now the safest approach.
(In reply to comment #58) > [...] To sum it up: java/php bindings never build, ruby, python and > probably others are being installed to the wrong directories and > scheme-bindings randomly fail. I'd just like to say that java bindings build fine here (~x86) and on my laptop (~amd64 machine)...
interesting. I get this: [...] checking for java... java checking jni.h usability... no checking jni.h presence... no checking for jni.h... no configure: WARNING: Unable to find header jni.h. The JAVA packages will not be built [...] without patching.
(In reply to comment #60) > interesting. I get this: > [...] > checking for java... java > checking jni.h usability... no > checking jni.h presence... no > checking for jni.h... no > configure: WARNING: Unable to find header jni.h. The JAVA packages will not be > built > [...] > without patching. > Yes, sorry, you're perfectly right. I get exactly the same output. I misunderstood what you said about java bindings that never build... I thought you meant that graphviz doesn't compile with USE="java". Please forget my comment and forgive my ignorance... ;)
*** Bug 167978 has been marked as a duplicate of this bug. ***
(In reply to comment #54) > if you're going to screw users with circular depends, at least minimize things > > RDEPEND="media-libs/gd" > DEPEND="<media-libs/gd-2.0.34" > > newer gd causes build failure, not runtime failure looks like this is a half baked solution as well because i assumed portage would sanely handle things ... it doesnt graphviz-2.8-r2 now tweaks the gd header file on the fly which drops the forced gd downgrade in both DEPEND and RDEPEND
I just tried 2.8-r2 and got this: /usr/portage/media-gfx/graphviz/graphviz-2.8-r2.ebuild: line 60: tc-getCPP: command not found /usr/portage/media-gfx/graphviz/graphviz-2.8-r2.ebuild: line 60: -P: command not found the hack in unpack looks difficult to understand for me, and grep -r tc-getCPP /usr/portage/media-gfx/graphviz /usr/portage/media-gfx/graphviz/graphviz-2.8-r2.ebuild: echo '#include <entities.h>' | $(tc-getCPP) -P -dD > entities.h sgala@marlow ~ $ grep -r tc-getCPP /usr/portage/eclass /usr/portage/eclass/toolchain-funcs.eclass:tc-getCPP() { tc-getPROG CPP cpp "$@"; } so it looks like toolchain needs to be inherited
I meant toolchain-funcs. Once I solved it, I fell again into: (...) make[3]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.8-r2/work/graphviz-2.8/lib/sfio' Making all in vmalloc make[3]: Entering directory `/var/tmp/portage/media-gfx/graphviz-2.8-r2/work/graphviz-2.8/lib/vmalloc' mkdir -p ../../FEATURE sh ../../iffe - set cc x86_64-pc-linux-gnu-gcc : run ../../lib/vmalloc/features/vmalloc > ../../FEATURE/vmalloc /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -I../../lib/sfio -march=nocona -O2 -pipe -ftree-vectorize -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -c -o malloc.lo malloc.c mkdir .libs x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -I../../lib/sfio -march=nocona -O2 -pipe -ftree-vectorize -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -c malloc.c -fPIC -DPIC -o .libs/malloc.o malloc.c:408: error: return type is an incomplete type malloc.c: In function 'mstats': malloc.c:410: error: storage size of 'ms' isn't known malloc.c:421: warning: 'return' with a value, in function returning void malloc.c:410: warning: unused variable 'ms' make[3]: *** [malloc.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.8-r2/work/graphviz-2.8/lib/vmalloc' 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 3539: 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'. am I the only one seeing this? the only one with amd64/glibc-25 or gcc-4.1.2 around? Not sure why this error it there, in fact it looks like the test for mstats is completely broken.
Please, try with media-gfx/graphviz-2.12 Good luck!
exactly the same error: make[3]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12/lib/sfio' Making all in vmalloc make[3]: Entering directory `/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12/lib/vmalloc' mkdir -p ../../FEATURE ../../iffe - set cc x86_64-pc-linux-gnu-gcc : run ../../lib/vmalloc/features/vmalloc > ../../FEATURE/vmalloc /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -I../../lib/sfio -march=nocona -O2 -pipe -ftree-vectorize -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT malloc.lo -MD -MP -MF .deps/malloc.Tpo -c -o malloc.lo malloc.c mkdir .libs x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/ast -I../../lib/sfio -march=nocona -O2 -pipe -ftree-vectorize -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT malloc.lo -MD -MP -MF .deps/malloc.Tpo -c malloc.c -fPIC -DPIC -o .libs/malloc.o malloc.c:408: error: return type is an incomplete type malloc.c: In function 'mstats': malloc.c:410: error: storage size of 'ms' isn't known malloc.c:421: warning: 'return' with a value, in function returning void malloc.c:410: warning: unused variable 'ms' make[3]: *** [malloc.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12/lib/vmalloc' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12' make: *** [all] Error 2 !!! ERROR: media-gfx/graphviz-2.12 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3666: Called src_compile graphviz-2.12.ebuild, line 157: Called die !!! emake 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.12/temp/build.log'. Due to some strange reason, graphviz here is trying to compile this mstats thing, which looks either archaic or not linux related at all. I have 2.8-r2 compiled here, so it started failing recently, due to portage, toolchain or auto* changes. How can I help debugging it?
if I edit <workdir>/FEATURES/vmalloc, and change #define _lib_mstats 0 /* mstats() in default lib(s) */ (it was a 1), a new compile gives a different error: /bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -march=nocona -O2 -pipe -ftree-vectorize -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -o gvpr actions.o compile.o gvpr.o gprstate.o parse.o queue.o ../../lib/vmalloc/libvmalloc_C.la ../../lib/sfio/libsfio_C.la ../../lib/ingraphs/libingraphs_C.la ../../lib/expr/libexpr.la ../../lib/agraph/libagraph.la -lm x86_64-pc-linux-gnu-gcc -march=nocona -O2 -pipe -ftree-vectorize -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -o .libs/gvpr actions.o compile.o gvpr.o gprstate.o parse.o queue.o ../../lib/vmalloc/.libs/libvmalloc_C.a ../../lib/sfio/.libs/libsfio_C.a ../../lib/ingraphs/.libs/libingraphs_C.a ../../lib/expr/.libs/libexpr.so ../../lib/agraph/.libs/libagraph.so /var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12/lib/cdt/.libs/libcdt.so -lm ../../lib/expr/.libs/libexpr.so: undefined reference to `qldexp' ../../lib/expr/.libs/libexpr.so: undefined reference to `qfrexp' collect2: ld returned 1 exit status make[3]: *** [gvpr] Error 1 make[3]: se sale del directorio `/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12/cmd/gvpr' make[2]: *** [all-recursive] Error 1 make[2]: se sale del directorio `/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12/cmd' make[1]: *** [all-recursive] Error 1 make[1]: se sale del directorio `/var/tmp/portage/media-gfx/graphviz-2.12/work/graphviz-2.12' make: *** [all] Error 2 !!! ERROR: media-gfx/graphviz-2.12 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3682: Called src_compile graphviz-2.12.ebuild, line 157: Called die !!! emake 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.12/temp/build.log'.
blah, copy & pasting from testing ebuild to cvs ebuild lost the toolchain-funcs inherit ... fixed in cvs
Stable for HPPA.
ppc64 stable
sparc stable.
Stable on ppc
amd64 stable
arm/ia64/s390 done
alpha stable. All done, closing per dev-zero's request :)