Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134594 - Cannot emerge media-gfx/graphviz-2.8 (due to missing tcl DEPEND)
Summary: Cannot emerge media-gfx/graphviz-2.8 (due to missing tcl DEPEND)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
: 134656 134663 134876 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-28 00:07 UTC by Sebastian Bergmann (RETIRED)
Modified: 2006-05-30 01:40 UTC (History)
7 users (show)

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


Attachments
patch to not build man pages unless tcl is used (graphviz-2.8-notcl.patch,586 bytes, patch)
2006-05-28 10:22 UTC, Andrei Slavoiu
Details | Diff
This will create empty man pages so that the install will not fail (graphviz-2.8-notcl.patch,597 bytes, patch)
2006-05-28 11:15 UTC, Andrei Slavoiu
Details | Diff
Patch for the ebuild that will apply the notcl patch (graphviz-2.8.ebuild.patch,386 bytes, patch)
2006-05-28 11:19 UTC, Andrei Slavoiu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Bergmann (RETIRED) gentoo-dev 2006-05-28 00:07:32 UTC
tclsh ./gv_doc_writer.tcl
make[3]: tclsh: Command not found
make[3]: *** [gv_perl.man] Error 127
make[3]: Leaving directory `/var/tmp/portage/graphviz-2.8/work/graphviz-2.8/tclpkg/gv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/graphviz-2.8/work/graphviz-2.8/tclpkg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/graphviz-2.8/work/graphviz-2.8'
make: *** [all] Error 2

!!! ERROR: media-gfx/graphviz-2.8 failed.
Call stack:
  ebuild.sh, line 1531:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  graphviz-2.8.ebuild, line 50:   Called die

!!! Compile Failed!
!!! If you need support, post the topmost build error, and the call stack if relevant.

-- 

Portage 2.1_rc3 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r8 i686)
=================================================================
System uname: 2.6.16-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.12.0
ccache version 2.4 [disabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -Os -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium-m -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig cvs digest distlocks fixpackages metadata-transfer sandbox sfperms sign strict"
GENTOO_MIRRORS="http://mirror.gentoo.no/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://trumpetti.atm.tut.fi/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
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/overlay/gentopia"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa asf avi berkdb bitmap-fonts browserplugin bzip2 cairo cdr cli crypt cups dbus divx4linux dri dvd dvdr dvdread eds emboss encode exif fame firefox flac foomaticdb fortran gaim galago gdbm gif glitz gnome gpm graphviz gstreamer gtk gtk2 hal imlib iproute2 ipv6 isdnlog java jpeg libg++ libnotify libsexy libwww lzo mad matroska mikmod mjpeg mmx mng mono moznocompose moznoirc moznomail mozsvg mp3 mpeg ncurses nls nomotif nptl nsplugin nvidia ogg oggvorbis opengl oss pam pam_console pcre pdflib perl png pppd python quicktime readline reflection samba session spell spl sse sse2 ssl startup-notification svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs wmf xml xml2 xorg xv xvid zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux userland_GNU video_cards_nv video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sebastian Bergmann (RETIRED) gentoo-dev 2006-05-28 00:50:22 UTC
I installed dev-lang/tcl now and media-gfx/graphviz-2.8 built and installed fine. There seems to be either a missing DEPEND on dev-lang/tcl or USE=tcltk is mishandled.
Comment 2 UncleOwen 2006-05-28 01:56:22 UTC
Just wanted to add a "me, too"

$ emerge --info
Portage 2.1_rc3 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.16-gentoo-r7-20060520 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r7-20060520 x86_64 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System version 1.12.0
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -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/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig candy distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv userpriv_fakeroot usersandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
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/local/portage/local /usr/local/portage/modularx"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 X alsa avi bitmap-fonts bzip2 cdinstall cjk cli crypt cups dri dvd emboss encode foomaticdb fortran gif gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kdeenablefinal lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly nvidia opengl pam pcre pdflib perl png pppd python quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype-fonts type1-fonts unicode userlocales vorbis xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nv video_cards_nvidia"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Steve Arnold archtester gentoo-dev 2006-05-28 02:21:20 UTC
I added the missing tcl depends to 2.4 and above.
Comment 4 UncleOwen 2006-05-28 06:03:51 UTC
I'm still getting this:

$ grep Header /usr/portage/media-gfx/graphviz/graphviz-2.8.ebuild
# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-2.8.ebuild,v 1.4 2006/05/28 09:20:02 nerdboy Exp $

# MAKEOPTS=-j1 emerge -1av graphviz

These are the packages that would be merged, in order:

Calculating dependencies ... done!
[ebuild     U ] media-gfx/graphviz-2.8 [2.6-r1] USE="X -cairo -static -tcltk" 0 kB

Total size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] yes      
[...]
(cd .libs && rm -f libgv_sharp.so.0 && ln -s libgv_sharp.so.0.0.0 libgv_sharp.so.0)
(cd .libs && rm -f libgv_sharp.so && ln -s libgv_sharp.so.0.0.0 libgv_sharp.so)
creating libgv_sharp.la
(cd .libs && rm -f libgv_sharp.la && ln -s ../libgv_sharp.la libgv_sharp.la)
tclsh ./gv_doc_writer.tcl
make[3]: tclsh: Command not found
make[3]: *** [gv_guile.man] Error 127
make[3]: Leaving directory `/var/tmp/portage/graphviz-2.8/work/graphviz-2.8/tclpkg/gv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/graphviz-2.8/work/graphviz-2.8/tclpkg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/graphviz-2.8/work/graphviz-2.8'
make: *** [all] Error 2

!!! ERROR: media-gfx/graphviz-2.8 failed.
Call stack:
  ebuild.sh, line 1531:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  graphviz-2.8.ebuild, line 50:   Called die

!!! Compile Failed!
!!! If you need support, post the topmost build error, and the call stack if relevant.

Note, that I have tclck disabled. Please reopen.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-05-28 09:26:37 UTC
*** Bug 134656 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-05-28 09:27:59 UTC
Reopening. This either needs to be an unconditional dep (sucks) or some patch will be needed...
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-05-28 10:02:42 UTC
*** Bug 134663 has been marked as a duplicate of this bug. ***
Comment 8 Andrei Slavoiu 2006-05-28 10:22:09 UTC
Created attachment 87744 [details, diff]
patch to not build man pages unless tcl is used
Comment 9 Andrei Slavoiu 2006-05-28 11:15:20 UTC
Created attachment 87746 [details, diff]
This will create empty man pages so that the install will not fail
Comment 10 Andrei Slavoiu 2006-05-28 11:19:50 UTC
Created attachment 87747 [details, diff]
Patch for the ebuild that will apply the notcl patch
Comment 11 Steve Arnold archtester gentoo-dev 2006-05-29 01:55:39 UTC
Okay, the notcl patch is in, along with a "minimal" use flag to disable swig and remove the excess docs.
Comment 12 Maxxer 2006-05-30 01:40:46 UTC
*** Bug 134876 has been marked as a duplicate of this bug. ***