Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119580 - dev-util/sourcenav fails to configure
Summary: dev-util/sourcenav fails to configure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
: 131617 140939 (view as bug list)
Depends on:
Blocks: 132990
  Show dependency tree
 
Reported: 2006-01-19 11:18 UTC by Marti Raudsepp
Modified: 2006-11-11 10:13 UTC (History)
8 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 Marti Raudsepp 2006-01-19 11:18:33 UTC
[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
Comment 1 Steve Arnold archtester gentoo-dev 2006-01-24 21:00:39 UTC
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.
Comment 2 Marti Raudsepp 2006-01-25 06:23:30 UTC
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.
Comment 3 Steve Arnold archtester gentoo-dev 2006-01-26 23:12:33 UTC
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
Comment 4 El Fabre 2006-01-30 02:11:38 UTC
Yap,
here (AMDK6-II + bash3.1), stumbled right into it as well!

 elfabre
Comment 5 Vladimir G. Ivanovic 2006-04-05 01:58:08 UTC
(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?
Comment 6 Steve Arnold archtester gentoo-dev 2006-04-23 19:44:45 UTC
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.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-04-28 15:07:06 UTC
*** Bug 131617 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-07-18 10:02:09 UTC
*** Bug 140939 has been marked as a duplicate of this bug. ***
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-07-18 10:05:12 UTC
Please, stabilize the fixed version.
Comment 10 Raúl Porcel (RETIRED) gentoo-dev 2006-07-19 06:30:48 UTC
Compiles and works fine on x86. Ready to be stable.
Comment 11 Steve Arnold archtester gentoo-dev 2006-07-20 23:35:14 UTC
okay, new patches for 5.1.4, atill not sure about stablizing the beta...
Comment 12 Vladimir G. Ivanovic 2006-07-21 06:47:34 UTC
5.2_beta2 builds successfully for me on AMD64.