Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58028 - graphviz 1.12 fails to build
Summary: graphviz 1.12 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High blocker
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-23 01:01 UTC by Tobias Klausmann (RETIRED)
Modified: 2004-07-25 20:07 UTC (History)
2 users (show)

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


Attachments
part 1/3 to get graphviz-1.12 to install without Tk installed (graphviz-1.12-build.patch,2.42 KB, text/plain)
2004-07-23 20:25 UTC, f5d8fd51ed1e804c9e8d0357e8614e0493b06e96
Details
part 2/3 to get graphviz-1.12 to install without Tk installed (graphviz-1.12-configure.ac,28.90 KB, text/plain)
2004-07-23 20:27 UTC, f5d8fd51ed1e804c9e8d0357e8614e0493b06e96
Details
part 3/3 to get graphviz-1.12 to install without Tk installed (graphviz-1.12-r1.ebuild,1.64 KB, text/plain)
2004-07-23 20:27 UTC, f5d8fd51ed1e804c9e8d0357e8614e0493b06e96
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Klausmann (RETIRED) gentoo-dev 2004-07-23 01:01:34 UTC
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.
Comment 1 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2004-07-23 17:20:30 UTC
looks like this a known bug:
http://www.research.att.com/~erg/graphviz/bugs/b435.html
Comment 2 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2004-07-23 20:25:51 UTC
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
Comment 3 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2004-07-23 20:27:07 UTC
Created attachment 36045 [details]
part 2/3 to get graphviz-1.12 to install without Tk installed
Comment 4 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2004-07-23 20:27:53 UTC
Created attachment 36046 [details]
part 3/3 to get graphviz-1.12 to install without Tk installed

and finally... the ebuild for all this
Comment 5 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2004-07-23 20:39:45 UTC
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
Comment 6 Tobias Klausmann (RETIRED) gentoo-dev 2004-07-24 06:10:30 UTC
The patch/ebuild submitted by Olaf works for me.
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-07-25 19:38:26 UTC
testing the patch now.
I'm not in the herd, but I actively use graphviz for work/school.
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-07-25 20:07:26 UTC
in cvs now, after a few tweaks and changes.