Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 241622 - Failed to emerge media-gfx/graphviz-2.20.3
Summary: Failed to emerge media-gfx/graphviz-2.20.3
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal with 1 vote (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-12 17:12 UTC by Ivan
Modified: 2012-03-01 10:50 UTC (History)
3 users (show)

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


Attachments
graphviz emerge log (graphviz-2.20.3.log,43.30 KB, text/plain)
2008-10-12 17:13 UTC, Ivan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan 2008-10-12 17:12:07 UTC
When trying to emerge media-gfx/graphviz the build phase fails with the following error:

/bin/sh ../../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math  -Wl,-O1 -o libgraph_C.la  attribs.lo agxbuf.lo edge.lo graph.lo graphio.lo lexer.lo node.lo parser.lo refstr.lo trie.lo  
libtool: link: unsupported hardcode properties
libtool: link: See the libtool documentation for more information.
libtool: link: Fatal configuration error.

Reproducible: Always

Steps to Reproduce:
emerge -1 media-gfx/graphviz
Actual Results:  
Full output log is attached.
Here's the actual error message:
...
/bin/sh ../../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc  -march=athlo
n64 -O2 -pipe -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ff
ast-math  -Wl,-O1 -o libgraph_C.la  attribs.lo agxbuf.lo edge.lo graph.lo graphi
o.lo lexer.lo node.lo parser.lo refstr.lo trie.lo  
libtool: link: unsupported hardcode properties
libtool: link: See the libtool documentation for more information.
libtool: link: Fatal configuration error.
make[3]: *** [libgraph.la] Ошибка 1
make[3]: *** Ожидание завершения заданий...
libtool: link: i686-pc-linux-gnu-ar cru .libs/libgraph_C. .libs/attribs.o .libs/
agxbuf.o .libs/edge.o .libs/graph.o .libs/graphio.o .libs/lexer.o .libs/node.o .
libs/parser.o .libs/refstr.o .libs/trie.o 
libtool: link: i686-pc-linux-gnu-ranlib .libs/libgraph_C.
libtool: link: ( cd ".libs" && rm -f "libgraph_C.la" && ln -s "../libgraph_C.la"
 "libgraph_C.la" )
make[3]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.20.3/work/grap
hviz-2.20.3/lib/graph'
make[2]: *** [all-recursive] Ошибка 1
make[2]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.20.3/work/grap
hviz-2.20.3/lib'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.20.3/work/grap
hviz-2.20.3'
make: *** [all] Ошибка 2
 * 
 * ERROR: media-gfx/graphviz-2.20.3 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2804:  Called die
 * The specific snippet of code:
 * emake || die "emake failed"
 * The die message:
 * emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if rele
vant.
 * A complete build log is located at '/var/tmp/portage/media-gfx/graphviz-2.20.
3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/graphvi
z-2.20.3/temp/environment'.
 * 

>>> Failed to emerge media-gfx/graphviz-2.20.3, Log file:
...


The bug also appeared when emerging media-gfx/graphviz older than 2.20.3, but I can't tell surely from which version it's started.

Here's 'emerge --info' output:

Portage 2.2_rc12 (default/linux/x86/2008.0/desktop, gcc-4.2.4, glibc-2.8_p200806
02-r0, 2.6.25-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r4-i686-AMD_Athlon-tm-_64_Processor_3200+-with
-glibc2.0
Timestamp of tree: Sat, 11 Oct 2008 12:45:04 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r10, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
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.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shu
tdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/
fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminf
o /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms s
trict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/
distributions/gentoo"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclu
de=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://spreader.yandex.net/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi alsa audiofile avi bash-completion 
berkdb bidi bitmap-fonts bluetooth branding bzip2 cairo cdr cli cracklib crypt c
scope dbus dga directfb dlloader dri dvd dvdr dvdread emboss encode evo exif fam
 fbcon ffmpeg firefox flac fortran gdbm gif gpm gstreamer gtk gtk2 hal iconv isd
nlog jpeg jpeg2k kerberos libg++ libnotify lirc lm_sensors mad matroska midi mik
mod mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly nvidia nvidia-drivers 
ogg opengl openmp oss pam pcre pdf pdflib perl png ppds pppd python qt3 qt3suppo
rt qt4 quicktime readline reflection samba sasl sdl session slang sockets spell 
spl sqlite sqlite3 sse sse2 ssl startup-notification svg svga sysfs tcpd theora 
threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4
l v4l2 vorbis win32codecs x264 x86 xml xorg xpm xv xvid xvmc zlib" ALSA_CARDS="h
da-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplu
g file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null
 plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic au
thn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default 
authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav
_lock deflate dir disk_cache env expires ext_filter file_cache filter headers in
clude info log_config logio mem_cache mime mime_magic negotiation rewrite setenv
if speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_D
EVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz63
3 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" LIRC_DEVICES="d
evinput" USERLAND="GNU" VIDEO_CARDS="vesa nvidia fbdev v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_CO
MPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Ivan 2008-10-12 17:13:43 UTC
Created attachment 168194 [details]
graphviz emerge log
Comment 2 Jan Günter 2009-04-19 13:52:38 UTC
I had the same problem with media-gfx/graphviz-2.22.2-r1

I solved the problem for me by adding USE flags "tcl" and "tk".

Hope this will do the trick for you too. 
Comment 3 Tim Harder gentoo-dev 2012-03-01 10:50:16 UTC
Closing as obsolete. Please reopen if it still occurs with versions currently in the tree.