gcc -DHAVE_CONFIG_H -I. -I. -I.. -O3 -march=pentium3 -pipe -Wall -Wno-unknown-pragmas -c tkStubImg.c -MT tkStubImg.lo -MD -MP -MF .deps/tkStubImg.TPlo -fPIC -DPIC -o tkStubImg.lo tkStubLib.c:2:16: tk.h: No such file or directory tkStubLib.c: In function `tkstubs_dummy': tkStubLib.c:5: warning: implicit declaration of function `Tk_InitStubs' distcc[17023] ERROR: compile tkStubLib.c on localhost failed make[2]: *** [tkStubLib.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/graphviz-1.12/work/graphviz-1.12/tkstubs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/graphviz-1.12/work/graphviz-1.12' make: *** [all] Error 2 !!! ERROR: media-gfx/graphviz-1.12 failed. !!! Function src_compile, Line 44, Exitcode 2 !!! (no error message) Looks like a missing depend to me. $ emerge info Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.6.5) ================================================================= System uname: 2.6.5 i686 Pentium III (Katmai) Gentoo Base System version 1.5.1 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox userpriv usersandbox" GENTOO_MIRRORS="http://ftp.freenet.de/pub/ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://ftp.ibiblio.org/pub/Linux/distributions/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync5.de.gentoo.org/gentoo-portage" USE="acpi apache2 apm berkdb crypt cscope curl encode exiscan-acl fbcon gd gdbm gif gpm gtk gtk2 idea imap imlib imlib2 jabber java jpeg kde libg++ libwww mad maildir mbox mikmod mng motif moznocompose moznoirc moznomail mpeg mpeg4 mpi msn mysql ncurses nls oggvorbis openssh oscar pam parse-clocks pcap pdflib pear-db perl php plotutils png python readline skey slang spell sse ssl svga tcpd tiff truetype type1 vanilla vim-with-x x86 xchatnogtk xchattext xml2 yahoo zlib" Tk is not installed, but I guess if I install it now and re-try, graphviz will build fine.
looks like this a known bug: http://www.research.att.com/~erg/graphviz/bugs/b435.html
Created attachment 36044 [details] part 1/3 to get graphviz-1.12 to install without Tk installed patch based on CVS commit on graphviz CVS
Created attachment 36045 [details] part 2/3 to get graphviz-1.12 to install without Tk installed
Created attachment 36046 [details] part 3/3 to get graphviz-1.12 to install without Tk installed and finally... the ebuild for all this
emerges fine with this ebuild and the patch for me... I know my ebuild is stupid and I left some debug "echo"s in there... but I hope this ebuild and the patches will help someone with more experience to make something nice out of it really quick so this blocker get's fixed
The patch/ebuild submitted by Olaf works for me.
testing the patch now. I'm not in the herd, but I actively use graphviz for work/school.
in cvs now, after a few tweaks and changes.