Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158120 - media-gfx/graphviz-2.8-r2 fails to emerge
Summary: media-gfx/graphviz-2.8-r2 fails to emerge
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-14 03:35 UTC by Simon Haegler
Modified: 2007-02-16 18:16 UTC (History)
0 users

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


Attachments
output of MAKEOPTS="-j1" emerge graphviz &> graphviz.log (graphviz.log,342.32 KB, text/plain)
2006-12-14 04:22 UTC, Simon Haegler
Details
output of emerge =tk-8.4.13 (tk.log,8.10 KB, text/x-log)
2007-01-03 01:02 UTC, Simon Haegler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Haegler 2006-12-14 03:35:50 UTC
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/lib/tk8.4/include/generic -I/usr/lib/tcl8.4/include/generic -I/usr/lib/tcl8.4/include/generic -I/usr/lib/tk8.4/include/generic -DUSE_TCL_STUBS -DUSE_TK_STUBS -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DPEEK_XCLOSEIM=1 -D_LARGEFILE64_SOURCE=1 "-DTCL_WIDE_INT_TYPE=long long" -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DSTDC_HEADERS=1 -DHAVE_PW_GECOS=1 -UPACKAGE_NAME -UPACKAGE_STRING -UPACKAGE_TARNAME -UPACKAGE_VERSION -march=athlon-xp -O2 -pipe -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -c tkspline.c  -fPIC -DPIC -o .libs/tkspline.o
In file included from /usr/lib/tcl8.4/include/generic/tclInt.h:2335,
                 from /usr/lib/tk8.4/include/generic/../unix/tkUnixPort.h:217,
                 from /usr/lib/tk8.4/include/generic/tkPort.h:34,
                 from /usr/lib/tk8.4/include/generic/tkInt.h:27,
                 from tkspline.c:22:
/usr/lib/tcl8.4/include/generic/tclIntDecls.h:322: error: expected ')' before '->' token
/usr/lib/tcl8.4/include/generic/tclIntDecls.h:326: error: expected ')' before '->' token
/usr/lib/tcl8.4/include/generic/tclIntDecls.h:330: error: expected ')' before '->' token
/usr/lib/tcl8.4/include/generic/tclIntDecls.h:333: error: expected ')' before '->' token
/usr/lib/tcl8.4/include/generic/tclIntDecls.h:337: error: expected ')' before '->' token
/usr/lib/tcl8.4/include/generic/tclIntDecls.h:341: error: expected ')' before '->' token
/usr/lib/tcl8.4/include/generic/tclIntDecls.h:357: error: expected ')' before '->' token
/usr/lib/tcl8.4/include/generic/tclIntDecls.h:360: error: expected ')' before '->' token
/usr/lib/tcl8.4/include/generic/tclIntDecls.h:363: error: expected ')' before '->' token
/usr/lib/tcl8.4/include/generic/tclIntDecls.h:367: error: expected ')' before '->' token
/usr/lib/tcl8.4/include/generic/tclIntDecls.h:370: error: expected ')' before '->' token
/usr/lib/tcl8.4/include/generic/tclIntDecls.h:377: error: expected ')' before '->' token
make[4]: *** [tkspline.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.8-r2/work/graphviz-2.8/tclpkg/tkspline'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.8-r2/work/graphviz-2.8/tclpkg/tkspline'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-gfx/graphviz-2.8-r2/work/graphviz-2.8/tclpkg'
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 1576:   Called dyn_compile
  ebuild.sh, line 945:   Called src_compile
  graphviz-2.8-r2.ebuild, line 78:   Called die


here is my emerge --info:

Portage 2.1.2_rc3-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(TM) XP 1800+
Gentoo Base System version 1.12.6
Last Sync: Thu, 14 Dec 2006 08:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.30
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.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -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/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"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo http://gentoo.mirror.solnet.ch "
LANG="en_US.utf-8"
LC_ALL="en_US.utf-8"
LINGUAS="en de"
MAKEOPTS="-j1"
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/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X alsa alsa_cards_ice1712 alsa_cards_intel8x0 alsa_cards_rme9652 arts asf audacious bash-completion berkdb bitmap-fonts blender-game bzip2 cairo cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode esd fam firefox font-server fortran gdbm gif gnome gpm gstreamer gtk hal iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kdeenablefinal kernel_linux ldap libg++ linguas_de linguas_en logrotate logwatch mad mikmod mmx mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_nvidia vorbis win32codecs x264 xml xorg xosd xpm xrandr xscreensaver xterm xv zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-14 03:41:51 UTC
MAKEOPTS="-j1" emerge graphviz &>log and attach the log here please.
Comment 2 Simon Haegler 2006-12-14 04:22:49 UTC
Created attachment 104031 [details]
output of MAKEOPTS="-j1" emerge graphviz &> graphviz.log
Comment 3 Simon Haegler 2007-01-02 01:00:32 UTC
graphviz-2.8-r2 still fails to emerge (i need doxygen, which depends on it)...
Comment 4 Luca Barbato gentoo-dev 2007-01-02 22:02:11 UTC
try to disable tcl tk and report back or just emerge again both tk and tcl
Comment 5 Simon Haegler 2007-01-03 01:00:46 UTC
thanks for your help.

the tcltk use-flag was already disabled in the first place (!), when i try to re-emerge tk with either
dev-lang/tk-8.4.13  USE="-debug -threads" 0 kB
or
dev-lang/tk-8.4.13  USE="threads* -debug" 0 kB
i get a very similar error as when trying to emerge graphviz (see attachment tk.log):

/usr/lib/tcl8.4/include/generic/tclIntDecls.h:322: error: expected ')' before
'->' token
etc.

Comment 6 Simon Haegler 2007-01-03 01:02:27 UTC
Created attachment 105266 [details]
output of emerge =tk-8.4.13
Comment 7 Luca Barbato gentoo-dev 2007-01-03 01:07:12 UTC
Note
/var/tmp/portage/dev-lang/tk-8.4.13/work/tk8.4.13/unix/../generic/tk.h:59:3: error: #error Tk 8.4 must be compiled with tcl.h from Tcl 8.4
Comment 8 Simon Haegler 2007-01-03 01:15:35 UTC
ok, my bad, sorry.

i have a manual installation of tcl 8.5 in /usr/local. do you know how to tell emerge to first look in /usr/include/tcl.h and not in /usr/local/include/tcl.h?

thanks.
Comment 9 Luca Barbato gentoo-dev 2007-01-03 01:32:08 UTC
I'm afraid you may have to remove those stuff.

Can I mark this bug as invalid?
Comment 10 Simon Haegler 2007-01-13 09:17:52 UTC
i removed my local installation of tcl/tk 8.5, emerged graphviz/doxygen and used ebuilds from the gentoo forums to install tcl/tk 8.5 again. this is quite a hack and will probably break other tcl related stuff, but its ok for me. case closed ;-)

thanks for your help.

ps: im still wondering about the tcltk use flag of graphviz... even with -tcltk the dependency is still there.
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2007-02-16 18:16:20 UTC
Closing.