[non]# emerge \=dev-util/sourcenav-5.2_beta2 Calculating dependencies ...done! >>> emerge (1 of 1) dev-util/sourcenav-5.2_beta2 to / [...] checking for socket libraries... checking for connect... yes checking for gethostbyname... yes checking if 64bit support is requested... no checking if 64bit Sparc VIS support is requested... no checking system version (for dynamic loading)... ./configure: line 6046: syntax error near unexpected token `)' ./configure: line 6046: ` OSF*)' configure: error: ./configure failed for unix configure: error: ./configure failed for tcl !!! ERROR: dev-util/sourcenav-5.2_beta2 failed. !!! Function src_compile, Line 44, Exitcode 1 !!! configure failed !!! If you need support, post the topmost build error, NOT this status message. [non]# emerge info Portage 2.1_pre3-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-non-5 x86_64) ================================================================= System uname: 2.6.15-gentoo-non-5 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2, 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="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-pipe -O2 -march=k8 -mtune=k8 -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-pipe -O2 -march=k8 -mtune=k8 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.linux.ee/pub/gentoo/distfiles/" LANG="en_US" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac aalib alsa audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cdr crypt curl dga dv dvd eds emboss encode exif expat fam fbcon ffmpeg firefox flac foomaticdb fortran gd ggi gif glut gpm gstreamer gtk gtk2 guile idn imagemagick imlib ipv6 jce joystick jpeg lcms ldap libcaca lzo lzw lzw-tiff mad matroska mikmod mng motif mozilla mp3 mpeg mplayer ncurses nsplugin offensive ogg openal opengl pam pcre pdflib perl png python qt quicktime quotas readline real recode rtc samba sdl speex spell ssl svg theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vorbis wxwindows xgetdefault xine xml2 xpm xv xvid xvmc zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
What version of bash are you using? If it's 3.1 (ie, the latest ~amd64) please fall back to 3.0-r14 and try emerging sourcenav again.
Indeed, the ebuild fails to configure with any version 3.1 version of bash, but configures and compiles successfully with app-shells/bash-3.0-r14. I'm not resolving this bug since it's not obvious to me whether this is a bug in bash 3.1 or incompatibility of the configure script.
This is a known issue with bash 3.1x and affects several other packages (not just sourcenav). I'd recommend masking for the time being; I should be able to get to it this weekend. See this bug: http://bugs.gentoo.org/show_bug.cgi?id=117744
Yap, here (AMDK6-II + bash3.1), stumbled right into it as well! elfabre
(In reply to comment #3) > This is a known issue with bash 3.1x and affects several other packages (not > just sourcenav). I'd recommend masking for the time being; I should be able to > get to it this weekend. See this bug: > > http://bugs.gentoo.org/show_bug.cgi?id=117744 > I'm confused. Bug #117744 is a tcl bug, not a bash bug. And it's been fixed in tcl-8.4.11 anyway. I have tcl-8.4.12 installed, and the fix is in that version. I'm running bash-3.1_p16, gcc-4.1.0 and I cannot emerge sourcenav-5.2_beta2. I get: ... checking system version (for dynamic loading)... ./configure: line 6046: syntax error near unexpected token `)' ./configure: line 6046: ` OSF*)' configure: error: ./configure failed for unix configure: error: ./configure failed for tcl !!! ERROR: dev-util/sourcenav-5.2_beta2 failed. Call stack: ebuild.sh, line 1526: Called dyn_compile ebuild.sh, line 923: Called src_compile sourcenav-5.2_beta2.ebuild, line 44: Called die which looks like the same problem that's been previously reported. What to do now?
That's because sourcenav includes its own tcltk distribution (don't ask me why). It's fixed in sourcenav-5.2_beta2 along with an update for modular X.
*** Bug 131617 has been marked as a duplicate of this bug. ***
*** Bug 140939 has been marked as a duplicate of this bug. ***
Please, stabilize the fixed version.
Compiles and works fine on x86. Ready to be stable.
okay, new patches for 5.1.4, atill not sure about stablizing the beta...
5.2_beta2 builds successfully for me on AMD64.