Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202387 - TCL installation: more quoting in /usr/lib/tclConfig.sh
Summary: TCL installation: more quoting in /usr/lib/tclConfig.sh
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: TCL/TK Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-15 14:52 UTC by Harald van Dijk (RETIRED)
Modified: 2009-05-10 15:35 UTC (History)
0 users

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 Harald van Dijk (RETIRED) gentoo-dev 2007-12-15 14:52:40 UTC
There are more quoting issues in tclConfig.sh than fixed years ago for bug #2913:

TCL_LIB_FLAG='-ltcl8.4${TCL_DBGX}'
TCL_BUILD_LIB_SPEC='-L$/usr/lib -ltcl8.4${TCL_DBGX}'
TCL_LIB_SPEC='-L/usr/lib -ltcl8.4${TCL_DBGX}'

This causes nvi's configure script to fail with tcl:

checking for tclConfig.sh... /usr/lib/tclConfig.sh
checking for initscr in -lncurses... no
checking for initscr in -lncursesw... no
checking for initscr in -lcurses... no
configure: WARNING: *** No suitable curses library found.
configure: error: No executable to build.

with in the configure log:

configure:23586: checking for initscr in -lcurses
configure:23621: gcc -o conftest -g -O2       conftest.c -lcurses  -L/usr/lib -ltcl8.4${TCL_DBGX} -ldl  -lpthread -lieee -lm   >&5
/usr/lib/gcc/i686-pc-linux-gnu/4.2.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ltcl8.4${TCL_DBGX}
collect2: ld returned 1 exit status

emerge --info:
Portage 2.1.4_rc10 (default-linux/x86/no-nptl, gcc-4.2.2, glibc-2.5-r4, 2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Timestamp of tree: Sat, 15 Dec 2007 14:30:07 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.5.1-r4
sys-apps/baselayout: 2.0.0_rc6
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -g"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.9/env /usr/kde/3.9/share/config /usr/kde/3.9/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -g"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests autopatch cvs distlocks installsources metadata-transfer multilib-strict notitles parallel-fetch sandbox sfperms sign splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
INSTALL_MASK="/var/www"
LANG="en_GB.UTF-8"
LDFLAGS="-Xlinker --as-needed"
LINGUAS="*"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/etc/portage/overlay/kde4 /etc/portage/overlay/linamh /etc/portage/overlay /var/cvs/gentoo-x86"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac accessibility acpi akode alsa bidi bindist bitmap-fonts boost bzip2 cddb cdparanoia chm cjk cli clucene composite contrib cracklib crypt curl cvs cyrillic dbus disk-partition divx dri dvd dvdnav dvdread emerald ffmpegfilepicker firefox flac fortran ftp games gif gmp gnustep gnutella gpg gtk hal htmlhandbook iceweasel iconv immqt inotify ipv6 isdnlog ithreads jpeg kde kdeenablefinal kdehiddenvisibility kpathsea ldap mad mbox midi mmx mmxext mozdevelop mp3 mpeg mudflap music ncurses nls nocxx nptl nsplugin objc objc++ ogg openft opengl pam pango pascal pdf perl pg-intdatetime pic pngpppd qt3support qt4 quicktime readline realmedia reflection rtc samba science screen sdl session skins spl sql sse sse2 sslsubversion svg tcpd teletext tetex theora threads toolkit-scroll-bars truetype truetype-fonts type1-fonts unicode urandom v4l v4l2 vorbis wmp x86 xcomposite xim xml xorg xscreensaver zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="*" USERLAND="GNU" VIDEO_CARDS="vesa"
Unset:  CPPFLAGS, CTARGET, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Harald van Dijk (RETIRED) gentoo-dev 2007-12-15 14:59:05 UTC
Perhaps worth noting, the masked tcl-8.5_beta3 does not have this problem. Unlike 8.4*, it does not reference ${TCL_DBGX} in tclConfig.sh at all.
Comment 2 Harald van Dijk (RETIRED) gentoo-dev 2007-12-31 21:14:33 UTC
8.5.0 also doesn't have this problem. It's hardmasked, but the mask says it's for alpha versions, so is the mask supposed to still be in place? If not, if you remove the mask, this bug can be closed :) Thanks.
Comment 3 MATSUU Takuto (RETIRED) gentoo-dev 2007-12-31 23:07:13 UTC
some dev-tcltk/* doesn't work with 8.5*. I'm checking all packages.
Comment 4 Harald van Dijk (RETIRED) gentoo-dev 2008-03-08 16:37:22 UTC
tcl 8.5 is unmasked, so this is fixed now.
Comment 5 Harald van Dijk (RETIRED) gentoo-dev 2008-03-09 11:32:49 UTC
...and 8.5 is re-masked.
Comment 6 Federico Ferri (RETIRED) gentoo-dev 2009-05-10 15:35:17 UTC
doesn't appear to be an issue anymore with current tcl versions.