Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149037 - dev-lang/tcl-8.4* mangles library filenames with debugging CFLAGS
Summary: dev-lang/tcl-8.4* mangles library filenames with debugging CFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: TCL/TK Project
URL:
Whiteboard:
Keywords:
: 181919 184213 (view as bug list)
Depends on: 178320
Blocks:
  Show dependency tree
 
Reported: 2006-09-25 04:43 UTC by p0
Modified: 2007-12-10 12:02 UTC (History)
10 users (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 p0 2006-09-25 04:43:01 UTC
[ebuild     U ] media-gfx/graphviz-2.8-r2 [2.8] USE="X guile%* java%* perl%* php%* python%* tcltk -cairo -lua% -minimal -ocaml% -ruby% -static" 0 kB

...
Making all in demo
make[4]: Entering directory `/var/tmp/portage/graphviz-2.8-r2/work/graphviz-2.8/tclpkg/gdtclft/demo'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/var/tmp/portage/graphviz-2.8-r2/work/graphviz-2.8/tclpkg/gdtclft/demo'
make[4]: Entering directory `/var/tmp/portage/graphviz-2.8-r2/work/graphviz-2.8/tclpkg/gdtclft'
/bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../.. -I../../tclpkg/tclhandle -I../../lib/gd   -DUSE_TCL_STUBS -O2 -march=pentium4 -mtune=pentium4 -pipe -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -c -o gdtclft.lo gdtclft.c
mkdir .libs
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tclpkg/tclhandle -I../../lib/gd -DUSE_TCL_STUBS -O2 -march=pentium4 -mtune=pentium4 -pipe -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -c gdtclft.c  -fPIC -DPIC -o .libs/gdtclft.o
/bin/sh ../../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -DUSE_TCL_STUBS -O2 -march=pentium4 -mtune=pentium4 -pipe -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math   -o libgdtclft.la -rpath /usr/lib/graphviz/tcl -module -no-undefined gdtclft.lo ../../tclpkg/tclhandle/libtclhandle.la ../../tclpkg/tclstubs/libtclstubs.la ../../lib/gd/libgvgd.la -lc
libtool: link: warning: `/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../..//libfontconfig.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../..//libfreetype.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../..//libjpeg.la' seems to be moved
libtool: link: warning: `/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../..//libpng.la' seems to be moved
i686-pc-linux-gnu-gcc -shared  .libs/gdtclft.o -Wl,--whole-archive ../../tclpkg/tclhandle/.libs/libtclhandle.a ../../tclpkg/tclstubs/.libs/libtclstubs.a -Wl,--no-whole-archive  -Wl,--rpath -Wl,/var/tmp/portage/graphviz-2.8-r2/work/graphviz-2.8/lib/gd/.libs -Wl,--rpath -Wl,/usr/lib/graphviz -L/usr/lib -ltclstub8.4 ../../lib/gd/.libs/libgvgd.so -L/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../ -lc  -march=pentium4 -mtune=pentium4 -Wl,-soname -Wl,libgdtclft.so.0 -o .libs/libgdtclft.so.0.0.0
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ltclstub8.4
collect2: ld returned 1 exit status
make[4]: *** [libgdtclft.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/graphviz-2.8-r2/work/graphviz-2.8/tclpkg/gdtclft'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/graphviz-2.8-r2/work/graphviz-2.8/tclpkg/gdtclft'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/graphviz-2.8-r2/work/graphviz-2.8/tclpkg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/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 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  graphviz-2.8-r2.ebuild, line 75:   Called die

!!! Compile Failed!
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 p0 2006-09-25 04:43:15 UTC
emerge --info:

Portage 2.1.2_pre1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.5
Last Sync: Mon, 25 Sep 2006 02:20:01 +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: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5, 2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  0.4.2-r1
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 -mtune=pentium4 -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/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/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer nostrip sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo-distfiles/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de de_DE en en_GB us en_US en_UK"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acl acpi adns afs aim akode alias alsa apache2 arts async audiofile automount autoreplace background bash-completion bcmath berkdb bitmap-fonts bluetooth bzip2 calendar caps cdb cdinstall cdparanoia cdr cjk clamav cli crypt ctype cups curl curlwrappers dba dbase dbm dbx debug dedicated dga dio directfb dlloader doc dri dts dv dvb dvd dvdr dvdread elibc_glibc emacs emacs-w3 encode esd ethereal examples exif expat fam fastcgi fbcon ffmpeg fftw firefox flac flash flatfile fortran freetds ftp gb gcj gd gd-external gdbm geoip gif glut gmp gnome gnutls gphoto2 gpm gps graphviz gstreamer gtk gtkhtml guile hal howl iconv icq idn ieee1394 imagemagick imap inifile innodb input_devices_evdev iodbc ipv6 isdnlog jabber jack java javascript jpeg jpeg2k kde kerberos kernel_linux krb4 lash lcms ldap libcaca libedit libg++ linguas_de linguas_de_DE linguas_en linguas_en_GB linguas_en_UK linguas_en_US linguas_us lirc lirc_devices_mceusb2 lm_sensors logrotate mad maildir mcal memlimit mhash milter mime ming mmap mmx mmxext mng motif mozilla mp3 mpeg msn multislot multitarget multiuser mysql mysqli nas ncurses neXt nfs nis nls nocd nptl nptlonly nsplugin odbc ofx ogg oggvorbis openal opengl oscar pam pcntl pcre pda pdf perl php png portaudio posix ppds pppd profile python qt qt3 qt4 quicktime readline recode reflection samba sasl scanner sdl session sharedext sharedmem simplexml skey slang slp smartcard sndfile snmp soap sockets socks5 speex spell spl sqlite sqlite3 sse sse2 ssl svg svga sysfs sysvipc szip tcl tcltk tcpd threads tidy tiff tk tokenizer truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l vcd vhosts video_cards_nv video_cards_nvidia video_cards_vesa videos vorbis wifi wmf xcomposite xine xinerama xml xml2 xmlrpc xorg xosd xpm xprint xsl xv xvid yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Luca Barbato gentoo-dev 2006-09-25 07:41:42 UTC
I cannot reproduce it, emerge again tcl and tk
Comment 3 p0 2006-09-26 07:43:26 UTC
i've reemerged tcl & tk:
[ebuild   R   ] dev-lang/tcl-8.4.13  USE="debug threads" 0 kB
[ebuild   R   ] dev-lang/tk-8.4.13  USE="debug threads" 0 kB

but problem still exists.

'locate tclstub' gives me these three hits. 'find / | grep tclstub' same.
/usr/lib/libtclstub.a
/usr/lib/libtclstub8.4g.a
/usr/lib/itcl3.3/libitclstub3.3.a

i've reopened the bug :)
Comment 4 Casey Allen Shobe 2006-10-02 13:49:36 UTC
I'm getting this too:

i686-pc-linux-gnu-gcc -shared  .libs/gdtclft.o -Wl,--whole-archive ../../tclpkg/tclhandle/.libs/libtclhandle.a ../../tclpkg/tclstubs/.libs/libtclstubs.a -Wl,--no-whole-archive  -Wl,--rpath -Wl,/tmp/portage/graphviz-2.8-r2/work/graphviz-2.8/lib/gd/.libs -Wl,--rpath -Wl,/usr/lib/graphviz -L/usr/lib -ltclstub8.4 ../../lib/gd/.libs/libgvgd.so -L/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../ -lc  -march=i686 -Wl,-soname -Wl,libgdtclft.so.0 -o .libs/libgdtclft.so.0.0.0
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ltclstub8.4
collect2: ld returned 1 exit status
make[4]: *** [libgdtclft.la] Error 1
make[4]: Leaving directory `/tmp/portage/graphviz-2.8-r2/work/graphviz-2.8/tclpkg/gdtclft'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/portage/graphviz-2.8-r2/work/graphviz-2.8/tclpkg/gdtclft'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/portage/graphviz-2.8-r2/work/graphviz-2.8/tclpkg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/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 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  graphviz-2.8-r2.ebuild, line 83:   Called die

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


root@peningunum.seattleserver.com:/home/root
# equery files tcl | grep stub
/usr/lib/libtclstub.a
/usr/lib/libtclstub8.4g.a


root@peningunum.seattleserver.com:/home/root
# emerge -pv graphviz tcl

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

Calculating dependencies... done!
[ebuild   R   ] media-gfx/graphviz-2.8-r2  USE="X cairo java* lua perl python ruby tcltk -guile -ocaml -php -static" 0 kB
[ebuild   R   ] dev-lang/tcl-8.4.13  USE="debug threads" 0 kB

Total size of downloads: 0 kB

root@peningunum.seattleserver.com:/home/root
# emerge --info
Portage 2.1.2_pre2 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-hardened-r11-seaserv-i686 i686)
=================================================================
System uname: 2.6.16-hardened-r11-seaserv-i686 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz
Gentoo Base System version 1.12.5
Last Sync: Sat, 30 Sep 2006 06:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
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="-Os -march=i686 -pipe -fomit-frame-pointer"
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="-Os -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer noinfo nostrip parallel-fetch sandbox sfperms strict suidctl"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.chem.wisc.edu/gentoo/ http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo http://gentoo.seren.com/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.ccccom.com http://mirrors.tds.net/gentoo"
INSTALL_MASK="/etc/apache2 /etc/crontab /etc/cron.d /etc/cron.daily /etc/cron.hourly /etc/cron.weekly /etc/cron.monthly /etc/exports /etc/fstab /etc/locales.build /etc/man.conf /etc/skel /etc/profile /etc/init.d/postgresql /etc/init.d/nrpe /etc/init.d/dcron /etc/init.d/freshclam /etc/init.d/clamd /etc/init.d/fetchmail /etc/init.d/imapproxy /etc/init.d/spamd /etc/init.d/exim /etc/init.d/firebird /var/www"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage//packages/x86/"
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="/tmp"
PORTDIR="/usr/portage/"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib accessibility acpi aim akode alsa amr apache2 arts artswrappersuid artworkextra asf avahi bcmath beagle berkdb bidi bl bluetooth boost bzip2 cairo cdb cddb cdparanoia cdr cjk crypt cups curl dbus debug dga dillo djbfft dmi dri dts dv dvd dvdr dvdread elibc_glibc enca encode esd exif expat fam ffmpeg firefox flac fpx gd gdbm ggi gif glibc-omitfp glitz gnokii gnome gnomecanvas gnutls gphoto2 gpm graphviz gs gstreamer gtk gtkhtml gtkspell hal hardened ical iconv icq ieee1394 imagemagick imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipod jabber jack java javascript jbig jpeg jpeg2k kde kdehiddenvisibility kerberos kernel_linux krb4 latex lcms ldap libcaca libedit libg++ live lm_sensors lua lzo mad mmap mmx mmxext mng mono mp3 mp4 mpeg mplayer msn musepack nas nautilus ncurses nls nptl nptlonly nsplugin odbc offensive ogg openal openexr opengl pcmcia pcre pdf perl pic plugin png postgres povray ppds python qt qt3 qt4 quicktime rdesktop readline real rle rss rtc ruby samba sasl scanner sdl seamonkey slang slp sms speex spell sse sse2 ssl startup-notification svg tcl tcltk tga theora threads tiff tk truetype unicode usb userland_GNU vcd vhosts video_cards_radeon video_cards_vesa vidix visualization vorbis vorbis-psy wifi win32codecs wmf x264 xanim xcomposite xface xine xinerama xml xscreensaver xsl xv xvid xvmc yahoo zeroconf zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Casey Allen Shobe 2006-10-02 14:30:02 UTC
It works if -debug is used on the TCL package.

For some reason when debug isn't used the files in /usr/lib are different:
# equery files tcl | grep stub
/usr/lib/libtclstub.a
/usr/lib/libtclstub8.4.a

Is this then a tcl ebuild bug?
Comment 6 Maurice van der Pot (RETIRED) gentoo-dev 2006-10-25 09:25:22 UTC
Yes, it is.

I think tcl should either not add the g suffix, or it should install a symlink with the normal name.
Comment 7 Avuton Olrich 2006-12-09 10:01:53 UTC
I'm getting this also, trying to build dev-tcktk/snack-*.
Comment 8 Michael S Costello 2007-01-15 03:33:45 UTC
Same problem, here for me while emerging graphviz:

Emerge --info:

Portage 2.1.2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.12.8
Timestamp of tree: Mon, 15 Jan 2007 01:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
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.19.2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -g"
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/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer nostrip sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://mirror.espri.arizona.edu/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ ftp://ftp.ndlug.nd.edu/pub/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/ ftp://gentoo.llarian.net/pub/gentoo http://gentoo.binarycompass.org http://mirror.datapipe.net/gentoo ftp://mirror.datapipe.net/gentoo http://gentoo.cs.lewisu.edu/gentoo/ http://prometheus.cs.wmich.edu/gentoo http://modzer0.cs.uaf.edu/public/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ ftp://mirror.usu.edu/mirrors/gentoo/ ftp://lug.mtu.edu/gentoo http://mirror.phy.olemiss.edu/mirror/gentoo http://mirror.mcs.anl.gov/pub/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://ftp.wwc.edu/pub/mirrors/ftp.gentoo.org "
LINGUAS="en de ja zh zh_CN zh_TW"
MAKEOPTS="-j3"
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/portage/local/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3ds 7zip X X509 a52 aac aalib accessibility acpi activefilter ada aim alsa amd64 amr anthy apache2 arts asf async audacious audiofile auth automount avahi bash-completion bdf beagle berkdb bidi binary-drivers bitmap-fonts bittorrent bl blender-game bluetooth bmpx bonjour bonobo boo branding buttons bzip2 cairo canna cdda cddb cdparanoia cdr cdsound chasen cjk cli cpudetection cracklib crypt css cups cvs cvsgraph daap dbus debug dhcp divx dlloader dpms dri dv dvd dvdr dvdread eap-tls editor edl effects encode esd examples exif expat fame fat ffmpeg fftw firefox flac font-server foomaticdb fortran gd gdbm gif gimp gimpprint glut gnome gnome-print gnomecanvas gnomedb gnustep gnutls gphoto2 gpm gre-extreme-debug gs gtk gtk2 gtkhtml guile gzip hal hbci iconv ieee1394 immqt-bc inkjar ipv6 isdnlog jack jack-tmpfs java joystick jpeg krb4 ladspa lcms ldap ldapsam libg++ libnotify libsamplerate lm_sensors lua lzo lzw mad mbrola mng mono mozcalendar mozdevelop mp3 mpeg multislot multiuser musepack nas ncurses nls nowin nptl nptlonly nvidia offensive ofx ogg openal opengl pam pcntl pcre pdf perl png posix postgres ppds pppd python quotes radius rdesktop readline reflection ruby samba scanner sdk session sid smp sndfile snmp spl ssl stream subversion svg sysfs tcl tcltk tcpd teamarena tga theora threads tidy tiff tk transcode truetype truetype-fonts type1-fonts udev uim unicode usb vcd vhosts vim vim-pager vim-syntax vim-with-x vorbis vorbis-psy wmf wxwindows x264 xanim xinerama xml xorg xpm xprint xrandr xscreensaver xsettings xv xvid xvmc yahoo yv12 zlib zvbi" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev wacom joystick" KERNEL="linux" LINGUAS="en de ja zh zh_CN zh_TW" USERLAND="GNU" VIDEO_CARDS="nvidia nv vga vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Michael S Costello 2007-01-22 03:37:40 UTC
additional package affected 
media-sound/vkeybd

During build it attempts tcl linkage -ltcl8.4 if (as it was on my system) tcl or tk have the had the debug use flag enabled, the file will not be named as expected and the build will fail.  Setting the "debug" use flag to the OFF position for tcl at least, and perhaps tk as well in future, 'til this is fixed.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2007-06-27 18:54:43 UTC
*** Bug 181919 has been marked as a duplicate of this bug. ***
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2007-06-27 18:57:11 UTC
Not only static ones, libtcl8.4g.so vs. libtcl8.4.so
Comment 12 David Thorne 2007-06-27 20:22:08 UTC
I am also suffering form this problem (Completely stops Amsn from working) simply turning off debug worked for graphviz but not Amsn.  As a workaround for that:  

ln -s /usr/bin/libtcl8.4.so /usr/bin/libtcl8.4g.so

seems to work (Although I know it will break on re-emerge or upgrade)

emerge --info
Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.21-gentoo-r3 i686)
=================================================================
System uname: 2.6.21-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Tue, 26 Jun 2007 22:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
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.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.virginmedia.com/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.mirror.web4u.cz "
LINGUAS="en_GB es es_ES fr it"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac aalib acl acpi aim alsa apache2 arts audiofile avahi bash-completion bcmath beagle berkdb bitmap-fonts bluetooth bonobo bzip2 cairo calendar cddb cddbc cdparanoia cdr clamav cli cracklib crypt cups curl curlwrappers dbus dbx debug directfb doc dri dts dv dvd dvdr dvdread eds emboss encode esoob evo exif fam fbcon ffmpeg firebird firefox flac flatfile fortran freetds ftp gcj gd gdbm ggi gif gnome gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal iconv icq idn imagemagick imap innodb iodbc ipod isdnlog jabber java javascript jpeg jpeg2k junit kde kerberos ldap lesstif libcaca libg++ libnotify libwww lm_sensors mad maildir mailwrapper mbox mcal mhash midi mikmod milter mime mmx mono motif mozilla mp3 mpeg mplayer msn msql mssql mudflap musicbrainz mysql mysqli nas ncurses netboot nls nptl nptlonly nsplugin ocaml odbc ogg openal opengl openmp oscar oss pam pcre pda pdf perl php png posix postgres ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection ruby samba sasl scanner sdl session sharedext simplexml skey snmp soap sockets speex spell spl sqlite sqlite3 sse sse2 ssl svg svga svgthreads symlink tcl tcpd threads tidy tiff tk tokenizer truetype truetype-fonts type1-fonts unicode usb v4l vcd vhosts videos vim-syntax vorbis win32codecs wmf wxwindow x86 xcomposite xine xinerama xinetd xml xmlrpc xorg xosd xpm xprint xsl xv xvid yahoo zlib" ALSA_CARDS="intel8x0 snd_intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB es es_ES fr it" USERLAND="GNU" VIDEO_CARDS="i810 vesa vga vmware"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

use flags on tcl
emerge -pv tcl

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

Calculating dependencies... done!
[ebuild   R   ] dev-lang/tcl-8.4.14  USE="-debug -threads" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2007-07-04 18:58:37 UTC
*** Bug 184213 has been marked as a duplicate of this bug. ***
Comment 14 Andrew A. Gill 2007-07-04 23:39:15 UTC
For the record, the symlink 

ln -s /usr/bin/libtcl8.4.so /usr/bin/libtcl8.4g.so

seemed to work.  I was afraid to do this, since the libraries might not be compatible.  We'll see how it works.
Comment 15 BlGene 2007-07-12 10:12:28 UTC
(In reply to comment #13)
149037 is probably also a duplicate 
Comment 16 BlGene 2007-07-12 10:14:57 UTC
(In reply to comment #15)
> (In reply to comment #13)
> 149037 is probably also a duplicate 
> 
sorry copy paste messed up, I meant 181597
Comment 17 BlGene 2007-07-12 11:23:32 UTC
I should have posted this all in one go, but this works for python

cd /usr/lib64
ln -s libtcl8.4g.so libtcl8.4.so
rm -r tk8.4g # probably breaks something
ln -s tk8.4 tk8.4g

which would make the ebuilds look something like this:
http://asoiaf.ath.cx/tcl-8.4.14.ebuild
http://asoiaf.ath.cx/tk-8.4.14.ebuild
(is there a way to post files onto bugzilla?)


Comment 18 MATSUU Takuto (RETIRED) gentoo-dev 2007-07-12 18:06:22 UTC
Added dev-lang/tcl-8.4.14-r1 and dev-lang/tk-8.4.14-r1 in cvs now.
Comment 19 Jakub Moc (RETIRED) gentoo-dev 2007-07-13 09:43:30 UTC
(In reply to comment #18)
> Added dev-lang/tcl-8.4.14-r1 and dev-lang/tk-8.4.14-r1 in cvs now.

Thanks for the workaround.

Can you please try to push upstream to drop the GBGX/TCL_DBGX stuff from configure.in/Makefile.in/tcl.m4/tk.m4? It's seriously stupid idea.
Comment 20 MATSUU Takuto (RETIRED) gentoo-dev 2007-07-14 06:57:37 UTC
(In reply to comment #19)
> Can you please try to push upstream to drop the GBGX/TCL_DBGX stuff from
> configure.in/Makefile.in/tcl.m4/tk.m4? It's seriously stupid idea.

It's fixed in tcl-8.5.
Comment 21 Jakub Moc (RETIRED) gentoo-dev 2007-07-14 07:51:45 UTC
(In reply to comment #20)
> It's fixed in tcl-8.5.

Cool. We should probably nag the arches to stabilize 8.4.14-r1 and close this? :)
Comment 22 MATSUU Takuto (RETIRED) gentoo-dev 2007-07-14 08:12:30 UTC
yep
btw, should I reuse #178320? or new bug?
Comment 23 Jakub Moc (RETIRED) gentoo-dev 2007-07-14 08:16:32 UTC
(In reply to comment #22)
> btw, should I reuse #178320? or new bug?

I'd just recycle the pending one (looks like mips still left) but whatever you like :) Thanks again. 

Comment 24 Jakub Moc (RETIRED) gentoo-dev 2007-12-10 12:02:20 UTC
8.4.15 stable, closing.