Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117744 - tcl 8.4.11 fails with bash 3.1
Summary: tcl 8.4.11 fails with bash 3.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: TCL/TK Project
URL:
Whiteboard:
Keywords:
: 118045 118158 118230 118288 120322 126496 (view as bug list)
Depends on:
Blocks: 132990
  Show dependency tree
 
Reported: 2006-01-04 07:44 UTC by Patrick Lauer
Modified: 2006-11-11 10:13 UTC (History)
10 users (show)

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


Attachments
tcl-8.4.11.ebuild.diff (tcl-8.4.11.ebuild.diff,500 bytes, patch)
2006-01-05 13:26 UTC, Marcelo Goes (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2006-01-04 07:44:02 UTC
checking system version (for dynamic loading)... ./configure: line 7624: syntax error near unexpected token `)'
./configure: line 7624: `       OSF*)'

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/tcl-8.4.11/work/tcl8.4.11/unix/config.log

!!! ERROR: dev-lang/tcl-8.4.11 failed.

(I know, gcc 4 is not yet supported)

Portage 2.1_pre3-r1 (default-linux/x86/2005.0, gcc-4.0.2, glibc-2.3.6-r0, 2.6.14.2 i686)
=================================================================
System uname: 2.6.14.2 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.12.0_pre13
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.gentoo.mesh-solutions.com/gentoo/ "
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib acpi afs alsa apache2 apm audiofile bash-completion berkdb bidi bigger-fonts bitmap-fonts bootsplash bzip2 ccache cdda cddb cdparanoia cdr chroot crypt cups curl dga dv dvd dvdr dvdread ecc eds emboss encode esd exif expat fam fbcon ffmpeg fftw foomaticdb fortran gd-external gdbm gif gimp gimpprint glep glitz glut gmp gpm graphviz idn imagemagick imap imlib ipv6 jabber jack java jikes jit jpeg jpeg2k kde kdeenablefinal kqemu ladcca lcms libg++ libwww lm_sensors lua lzo mad matroska mhash mikmod mime mjpeg mmx mmxext mng motif mozilla mozsvg mp3 mpeg mpeg4 ncurses nls nptl nvidia objc ogg oggvorbis openal opengl oss pam parse-clocks pcre pdf pdflib perl physfs png python qt quicktime readline recode ruby samba sdl spell sqlite sse sse2 ssl stream tcltk tcpd tetex threads tiff transcode truetype truetype-fonts type1-fonts udev usb utf8 visualization vorbis win32codecs wxgtk1 xine xml xml2 xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Markus Ullmann (RETIRED) gentoo-dev 2006-01-05 03:25:43 UTC
Same here but without gcc4...

Attaching config.log doesn't make sense as the last line is just
checking system version (for dynamic loading)
and the rest is okay

Portage 2.1_pre3-r1 (hardened/x86/2.6, gcc-3.4.5, glibc-2.3.5-r3, 2.6.10-hardened-r3 i686)
=================================================================
System uname: 2.6.10-hardened-r3 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.12.0_pre13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS=" -O2 -march=pentium4 "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS=" -O2 -march=pentium4 "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.lug-norderstedt.de/pub/linux/gentoo/gentoo-source ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://gentoo.osuosl.org http://distfiles.gentoo.org/"
PKGDIR="/usr/portage/packages/x86"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://localhost/gentoo-portage"
USE="X acl apache2 bash-completion bcmath berkdb bzip2 cdb crypt ctype curl dba dbm exif expat fam fastcgi ffmpeg flash ftp gd gdbm gif gmp hardened iconv idn imagemagick imap imlib ipv6 java jpeg ldap libwww maildir mcal mhash ming mmx msession mysql mysqli ncurses nls ogg pam pcre perl php pic png python readline sasl server session sharedext slang smime smtp snmp sockets spamassassin sse ssl subversion svg tcpd tidy tiff truetype udev userlocales vorbis wmf x86 xml xml2 xmlrpc xsl zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 2 Jule Slootbeek 2006-01-05 03:34:02 UTC
same here also not gcc 4, bt in the configure file there's a line
7611:     system=MP-RAS-`awk '{print }' /etc/.relid'`     
I believe there is an issue there with /etc/.relid'` the ' is by itself. 
I don't know how to change it and run an emerge without overwriting the work dir.
emerge info:
Portage 2.1_pre3-r1 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.14-gentoo i686)
=================================================================
System uname: 2.6.14-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.12.0_pre12
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=pentium4 -O2 -pipe -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-mtune=pentium4 -O2 -pipe -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distcc distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.mirrored.ca http://mirror.datapipe.net/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi adns alsa apm audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr cscope cups curl directfb emboss encode esd ethereal exif expat fam ffmpeg firefox flac foomaticdb fortran gd gdbm gif glut gphoto2 gpm gstreamer gtk gtk2 guile idn imagemagick imlib java jpeg junit lcms libg++ libwww mad mikmod mng mozilla mp3 mpeg ncurses nls nsplugin nvidia ogg oggvorbis openal opengl oss pam pcre pdflib perl php png python quicktime readline ruby samba sdl slang speex spell svga tcltk tcpd tetex threads tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis xml2 xmms xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY                
Comment 3 Markus Ullmann (RETIRED) gentoo-dev 2006-01-05 04:40:32 UTC
Resolved to Bash problem here. I use 3.1, error persists, downgrade to 3.0 and everythings fine ;)
Comment 4 Patrick Lauer gentoo-dev 2006-01-05 10:51:13 UTC
retested with gcc 3.4.5, it's a bash problem.
I'm no script wizard, but I guess it's a one-line fix ;-)
Comment 5 Marcelo Goes (RETIRED) gentoo-dev 2006-01-05 13:26:21 UTC
Created attachment 76270 [details, diff]
tcl-8.4.11.ebuild.diff

Indeed, it's a pretty simple fix.

References:
http://www.diy-linux.org/pipermail/diy-linux-dev/2005-December/000692.html
http://sourceforge.net/mailarchive/forum.php?thread_id=9331745&forum_id=3855
Comment 6 Jule Slootbeek 2006-01-05 13:42:57 UTC
(In reply to comment #5)
> Created an attachment (id=76270) [edit]
> tcl-8.4.11.ebuild.diff
> 
> Indeed, it's a pretty simple fix.
> 
> References:
> http://www.diy-linux.org/pipermail/diy-linux-dev/2005-December/000692.html
> http://sourceforge.net/mailarchive/forum.php?thread_id=9331745&forum_id=3855
> 
Does someone have a link as to how to patch the ebuild? I've never done that before and would like to do it.
Thanks!
Comment 7 Marcelo Goes (RETIRED) gentoo-dev 2006-01-05 13:46:52 UTC
cd /usr/portage/dev-lang/tcl
wget http://bugs.gentoo.org/attachment.cgi?id=76270
patch -p0 <attachment.cgi\?id\=76270
rm attachment.cgi\?id\=76270
ebuild tcl-8.4.11.ebuild digest
Comment 8 Jule Slootbeek 2006-01-05 13:52:55 UTC
well, that's simple, i thought that was gonna screw up because the filesize changed. Thanks.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-01-06 07:36:54 UTC
*** Bug 118045 has been marked as a duplicate of this bug. ***
Comment 10 Jule Slootbeek 2006-01-06 07:42:52 UTC
the same error (and same fix) also occur for tk-8.4.11, just FYI
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-01-07 04:42:09 UTC
*** Bug 118158 has been marked as a duplicate of this bug. ***
Comment 12 Csaba Tóth 2006-01-07 07:21:17 UTC
this patch is worked for me.
pls include in portage.
Comment 13 Uwe Klosa 2006-01-07 09:41:26 UTC
Patch worked for me, too.
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2006-01-07 14:23:24 UTC
*** Bug 118230 has been marked as a duplicate of this bug. ***
Comment 15 Steven 2006-01-07 14:40:50 UTC
Works for me, too.
Comment 16 Marcelo Goes (RETIRED) gentoo-dev 2006-01-07 15:05:31 UTC
A lot of people are bumping into this and the fix is trivial.
tcltk herd: I'm committing the fix in 24 hours unless you object.
Comment 17 MATSUU Takuto (RETIRED) gentoo-dev 2006-01-08 06:01:46 UTC
8.4.11-r1 in cvs.
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2006-01-08 06:07:00 UTC
*** Bug 118288 has been marked as a duplicate of this bug. ***
Comment 19 Jakub Moc (RETIRED) gentoo-dev 2006-01-25 10:17:40 UTC
*** Bug 120322 has been marked as a duplicate of this bug. ***
Comment 20 Matthias Nill 2006-01-25 10:33:12 UTC
i have the sameproblem but with version 8.4.9
Comment 21 Marcelo Goes (RETIRED) gentoo-dev 2006-01-25 11:23:49 UTC
Reopening the bug aids in visibility ;-)
Comment 22 Ben Thomas 2006-02-25 17:38:33 UTC
I've had the same problem with 8.4.9. The sed command works for me as well.
Comment 24 MZM 2006-03-16 06:14:20 UTC
This bug is reproducable with tcl-8.3.4 and same tk too.
Comment 25 Jakub Moc (RETIRED) gentoo-dev 2006-03-17 02:25:19 UTC
*** Bug 126496 has been marked as a duplicate of this bug. ***