Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19438 - emerge vim-core fails when not using "export WANT_AUTOCONF_2_1=1"
Summary: emerge vim-core fails when not using "export WANT_AUTOCONF_2_1=1"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-16 16:38 UTC by Thorsten Schnebeck
Modified: 2003-05-28 07:45 UTC (History)
1 user (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 Thorsten Schnebeck 2003-04-16 16:38:58 UTC
I want to build vim on a current Gentoo-1.4 (1.4.2.8) 
In my /etc/profile I use  
 
export WANT_AUTOCONF_2_5=1 
export WANT_AUTOMAKE_1_6=1 
 
for compiling every ebuild with 
autoconf (GNU Autoconf) 2.57 
automake (GNU automake) 1.6.3 
 
When trying to build 
vim-core-6.1-r5.ebuild 
this fails with ./configure hanging at 
checking for /dev/ptc... no 
checking for SVR4 ptys... no 
checking for ptyranges...    [wait forever] 
 
When unseting my default autoconf version and using autoconf-2.13 problems are gone. 
 
HTH 
 
  Thorsten 

Reproducible: Always
Steps to Reproduce:
 



 emerge info vim-core 
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.2.5-r2,2.3.1-r4) 
================================================================= 
System uname: 2.4.20-xfs-r2 i686 AMD Athlon(tm) XP 1600+ 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config 
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ 
/usr/share/texmf/tex/platex/config/ /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="" 
USE="x86 apm crypt gif jpeg libg++ mikmod ncurses pdflib png spell xml2 xv zlib gdbm berkdb 
slang tetex svga tcltk sdl tcpd pam libwww perl python imlib qt motif opengl gphoto2 ldap cdr 
scanner xfs mmx sse 3dnow crypto -gnome-libs -alsa arts oss -bonobo cups -esd -directfb 
-gnome -gpm -gtk -gtk2 -xmms -gtkhtml -guile java kde -mozilla mysql readline X oggvorbis mpeg 
avi encode -matrox quicktime alsa dvd truetype freetype nls sasl ssl" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe -fomit-frame-pointer -L/usr/kde/3.1/lib" 
CXXFLAGS="-O2 -mcpu=i686 -pipe" 
ACCEPT_KEYWORDS="x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="sandbox ccache"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-04-16 16:47:05 UTC
please update your automake (1.7.2 is stable

then try again
Comment 2 Thorsten Schnebeck 2003-04-16 16:59:41 UTC
Its independed from automake. I tried this. Its a autoconf thingy. 
 
 
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2003-04-23 21:14:10 UTC
I can repeat this here (on alpha) with the settings you mention.  Removing those settings solves the problem.  Sounds like a bug-fix to me! ;-)

I'll look into this a little further, but I don't quite understand the issue you have.  Using the default settings solves the problem.  Would you explain why you want those settings?
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2003-04-23 22:07:45 UTC
The problem is that EGREP isn't being set appropriately in configure, so instead of running "grep -E yes" it's running "yes" which loops infinitely.  I'll see if I can come up with a solution tomorrow.
Comment 5 Thorsten Schnebeck 2003-04-24 04:18:43 UTC
I use Gentoo cause its easy to selfcompile things that are not part of the distribution. 
In my personal experience autoconf-2.5x has the highest compatibility when building 
my own apps. 
 
So my /etc/profile ends with: 
export LC_CTYPE=de_DE.utf8 
export WANT_AUTOCONF_2_5=1 
export WANT_AUTOMAKE=1.7 
export KDE_UTF8_FILENAMES=1 
 
I suggest that an ebuild that needs a definite version of autoxyz-tool forces this setup 
in the build-script(?) There are more (quite old) programs that have build problems 
with a modern Gentoo setup e.g. autorun (not part of Gentoo)  or ungif (part of 
Gentoo) 
 
Thanks for your debugging! 
 
Thorsten 
Comment 6 Aron Griffis (RETIRED) gentoo-dev 2003-05-28 07:45:26 UTC
This is fixed in version 6.2_pre6-r1 of vim-core, vim, and gvim.  Bram is also integrating the patch into his sources.  Let me know how it goes for you.