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
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
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
Resolved to Bash problem here. I use 3.1, error persists, downgrade to 3.0 and everythings fine ;)
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 ;-)
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
(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!
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
well, that's simple, i thought that was gonna screw up because the filesize changed. Thanks.
*** Bug 118045 has been marked as a duplicate of this bug. ***
the same error (and same fix) also occur for tk-8.4.11, just FYI
*** Bug 118158 has been marked as a duplicate of this bug. ***
this patch is worked for me. pls include in portage.
Patch worked for me, too.
*** Bug 118230 has been marked as a duplicate of this bug. ***
Works for me, too.
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.
8.4.11-r1 in cvs.
*** Bug 118288 has been marked as a duplicate of this bug. ***
*** Bug 120322 has been marked as a duplicate of this bug. ***
i have the sameproblem but with version 8.4.9
Reopening the bug aids in visibility ;-)
I've had the same problem with 8.4.9. The sed command works for me as well.
http://viewcvs.gentoo.org/dev-tcltk/tclx/files/tclx-8.3.5-configure.patch
This bug is reproducable with tcl-8.3.4 and same tk too.
*** Bug 126496 has been marked as a duplicate of this bug. ***
Fixed http://www.gentoo.org/cgi-bin/viewcvs.cgi/dev-lang/tcl/tcl-8.4.9.ebuild?r1=1.13&r2=1.14