Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148836 - media-gfx/graphviz-2.8-r1 fails
Summary: media-gfx/graphviz-2.8-r1 fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-23 13:22 UTC by Colin Macdonald
Modified: 2006-10-01 09:38 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Macdonald 2006-09-23 13:22:08 UTC
Here's the error:

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -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 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=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=i686 -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
distcc[9452] ERROR: compile tkspline.c on localhost failed
make[4]: *** [tkspline.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/graphviz-2.8-r1/work/graphviz-2.8/tclpkg/tkspline'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/graphviz-2.8-r1/work/graphviz-2.8/tclpkg/tkspline'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/graphviz-2.8-r1/work/graphviz-2.8/tclpkg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/graphviz-2.8-r1/work/graphviz-2.8'
make: *** [all] Error 2

!!! ERROR: media-gfx/graphviz-2.8-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  graphviz-2.8-r1.ebuild, line 53:   Called die

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


emerge --info
Portage 2.1.2_pre1-r1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17.11 i686)
=================================================================
System uname: 2.6.17.11 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.12.5
Last Sync: Sat, 23 Sep 2006 18:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.1-r1, 2.0.28-r1
dev-lang/python:     2.4.3-r3
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.60
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.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -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/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=i686 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protection distcc distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://194.117.143.69 http://85.25.128.62"
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 /usr/local/ag-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X Xaw3d a52 aac aalib acpi alsa apache2 arts audiofile avahi berkdb bitmap-fonts bzip2 cairo cdr cjk cli crypt cups curl dbus dga dlloader dri dts dv dvb dvd dvdr eds elibc_glibc emacs emboss encode esd exif expat f77 faad fam fbcon ffmpeg fftw firefox flac fortran gcj gd gdbm gif ginac glut gmp gnome gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal idn imagemagick input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog jack java jpeg kernel_linux lcms leim libcaca libg++ lirc lirc_devices_realmagic live mad matroska mikmod mmx mng mono mozilla mp3 mpeg mysql nas ncurses nls nptl nptlonly offensive ogg openal opengl oss pam pcre pdf perl plotutils png ppds pppd python qhull qt3 quicktime radeon readline reflection rtc samba scanner sdk sdl session slang speex spell spl sqlite sse ssl svg tcl tcltk tcpd tetex theora threads tiff tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd video_cards_fbdev video_cards_i810 video_cards_mach64 video_cards_radeon video_cards_v4l video_cards_vesa video_cards_vga vorbis win32codecs wmf wxwindows xinerama xml xorg xosd xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Nick Devito 2006-09-23 13:29:33 UTC
If you disable distcc, do you continue to get the same issue? Also, what version of tcl/tk?
Comment 2 Colin Macdonald 2006-09-23 13:36:48 UTC
[I--] [ ~] dev-lang/tcl-8.4.13 (0)
[I--] [ ~] dev-lang/tk-8.4.13 (0)

I also have 8.5 installed manually in /usr/local but I don't think they're interfering---at least I don't see any references to 8.5 in the configure:
checking for tclsh8.4... /usr/bin/tclsh8.4
checking tcl.h usability... yes
checking tcl.h presence... yes
checking for tcl.h... yes
using /usr/lib/tclConfig.sh
checking for wish8.4... /usr/bin/wish8.4
checking tk.h usability... yes
checking tk.h presence... yes
checking for tk.h... yes
using /usr/lib/tkConfig.sh

Rebuilding right now without distcc (shouldn't matter as its only with one machine and I'm using -j1.)
Comment 3 Nick Devito 2006-09-23 13:51:26 UTC
It worked here on my system..here's the emerge --info

Portage 2.1.2_pre1-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16.18-xen i686)
=================================================================
System uname: 2.6.16.18-xen i686 Genuine Intel(R) CPU           T2300  @ 1.66GHzGentoo Base System version 1.12.5
Last Sync: Sat, 23 Sep 2006 17:30:08 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.3.3, 2.0.27-r1
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/"
MAKEOPTS="-j5"
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/portage/local/layman/sunrise /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/voip"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm berkdb bitmap-fonts cairo cli crypt cups dlloader dri eds elibc_glibc emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kernel_linux libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdf perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl svg tcpd truetype truetype-fonts type1-fonts udev userland_GNU video_cards_nv video_cards_nvidia vorbis xml xmms xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Colin Macdonald 2006-09-23 13:53:47 UTC
same error is still present without distcc
Comment 5 Nick Devito 2006-09-23 14:14:47 UTC
What are your useflags for graphviz?
Comment 6 Colin Macdonald 2006-09-23 14:17:24 UTC
    # emerge -vp graphviz

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

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

Comment 7 Colin Macdonald 2006-09-23 18:43:54 UTC
Here's something odd:
USE="-tcltk" emerge -vb graphviz
this results in the same error.  Maybe this is related to bug #148733.
Comment 8 Colin Macdonald 2006-10-01 09:38:46 UTC
I think this must be a local problem.  I'm also seeing the same errors when I try to rebuild tk.  During the configure stage of tk, I see this:
checking for existence of /usr/lib/tclConfig.sh... loading
checking for tclsh... /usr/local/bin/tclsh8.5
checking for tclsh in Tcl build directory... /usr/lib/tcls

That /usr/local/bin/tclsh8.5 probables makes this NotYourProblem.  Closing invalid.

>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/tk-8.4.13/work/tk8.4.13 ...
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-tcl=/usr/lib --enable-threads --disable-symbols --build=i686-pc-linux-gnu
creating cache ./config.cache
checking for Tcl configuration... found /usr/lib/tclConfig.sh
checking for existence of /usr/lib/tclConfig.sh... loading
checking for tclsh... /usr/local/bin/tclsh8.5
checking for tclsh in Tcl build directory... /usr/lib/tclsh
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for gcc... gcc
checking whether the C compiler (gcc -march=i686 -O2 -pipe ) works... yes
checking whether the C compiler (gcc -march=i686 -O2 -pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for limits.h... yes
checking for unistd.h... yes
checking stdlib.h... yes
checking if the compiler understands -pipe... yes
checking for pthread_mutex_init in -lpthread... yes
checking for pthread_attr_setstacksize... yes
checking for pthread_atfork... yes
checking for building with threads... yes (threaded core)
checking for sin... no
checking for main in -lieee... yes
checking how to build libraries... shared
checking for ranlib... ranlib
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking system version... Linux-2.6.17.11
checking for dlopen in -ldl... yes
checking for ar... ar
checking for build with symbols... no
checking for required early compiler flags...  _LARGEFILE64_SOURCE
checking for 64-bit integer type... long long
checking for struct dirent64... no
checking for struct stat64... yes
checking for open64... yes
checking for lseek64... yes
checking for off64_t... yes
checking whether byte ordering is bigendian... no
checking for fd_set in sys/types... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for strtod... yes
checking for Solaris2.4/Tru64 strtod bugs... ok
checking for ANSI C header files... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking pw_gecos in struct pwd... yes
checking for X... libraries , headers 
checking for X11 header files... checking for main in -lXbsd... no
checking for connect... yes
checking for gethostbyname... yes
checking whether char is unsigned... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating tkConfig.sh
gcc -pipe -c -O2 -march=i686 -O2 -pipe -Wall -Wno-implicit-int -fno-strict-aliasing -fPIC -I/var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix -I/var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic -I/var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../bitmaps -I/usr/lib/tcl8.4/include/generic  -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=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      -DTCL_NO_DEPRECATED  -DUSE_TCL_STUBS  /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tk3d.c
In file included from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tkInt.h:21,
                 from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tk3d.h:18,
                 from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tk3d.c:16:
/var/tmp/portage/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
In file included from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/../unix/tkUnixPort.h:217,
                 from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tkPort.h:34,
                 from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tkInt.h:27,
                 from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tk3d.h:18,
                 from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tk3d.c:16:
/usr/lib/tcl8.4/include/generic/tclInt.h:1804: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'TCL_VARARGS'
In file included from /usr/lib/tcl8.4/include/generic/tclInt.h:2335,
                 from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/../unix/tkUnixPort.h:217,
                 from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tkPort.h:34,
                 from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tkInt.h:27,
                 from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tk3d.h:18,
                 from /var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tk3d.c:16:
/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
/var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tk3d.c: In function 'Tk_3DBorderGC':
/var/tmp/portage/tk-8.4.13/work/tk8.4.13/unix/../generic/tk3d.c:395: warning: implicit declaration of function 'panic'
make: *** [tk3d.o] Error 1

!!! ERROR: dev-lang/tk-8.4.13 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  tk-8.4.13.ebuild, line 68:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.