Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52251 - [bug] mutt-1.5.6-r2 does not compile with autoconf-2.59-r4
Summary: [bug] mutt-1.5.6-r2 does not compile with autoconf-2.59-r4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-28 03:59 UTC by Alberto Ornaghi
Modified: 2004-06-08 12:05 UTC (History)
6 users (show)

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


Attachments
Patch to make mutt-1.5.6-r2.ebuild use autoconf 2.5x (autoconf.patch,467 bytes, patch)
2004-05-31 12:44 UTC, Lars T. Mikkelsen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alberto Ornaghi 2004-05-28 03:59:17 UTC
configure.in:301: warning: AC_TRY_RUN called without default to allow cross compiling
make: Entering directory `/var/tmp/portage/mutt-1.5.6-r2/work/mutt-1.5.6/m4'
make: `Makefile.am' is up to date.
make: Leaving directory `/var/tmp/portage/mutt-1.5.6-r2/work/mutt-1.5.6/m4'
configure.in:301: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:324: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:325: warning: AC_TRY_RUN called without default to allow cross compiling
autoconf: Undefined macros:
configure.in:820:            AC_LINK_IFELSE([AC_LANG_PROGRAM([[

!!! ERROR: net-mail/mutt-1.5.6-r2 failed.
!!! Function src_unpack, Line 72, Exitcode 1
!!! autoconf failed


Reproducible: Always
Steps to Reproduce:
1. emerge rsync
2. emerge autoconf
3. emerge mutt




Portage 2.0.50-r7 (default-x86-1.4, gcc-3.3.3, glibc-2.3.2-r9, 2.4.26)
=================================================================
System uname: 2.4.26 i686 mobile AMD Athlon(tm) 4 Processor
Gentoo Base System version 1.4.15
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -mcpu=athlon -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage.local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi acpi4linux alsa apache2 avi berkdb cdr crypt cscope curl
dga dvd esd fbcon foomaticdb gd gif gpm gtk gtk2 imap imlib innodb java jpeg
ldap libwww mbox mmx mpeg mysql ncurses nls oggvorbis opengl oss pam pcmcia
pdflib plotutils png pnp quicktime readline samba sdl slang socks5 spell sse ssl
svga tcpd tetex tiff truetype usb wavelan x86 xv zlib"
Comment 1 Ulrich Plate (RETIRED) gentoo-dev 2004-05-29 15:42:54 UTC
Same here.

configure.in:301: warning: AC_TRY_RUN called without default to allow cross compiling
make: Entering directory `/var/tmp/portage/mutt-1.5.6-r2/work/mutt-1.5.6/m4'
make: `Makefile.am' is up to date.
make: Leaving directory `/var/tmp/portage/mutt-1.5.6-r2/work/mutt-1.5.6/m4'
configure.in:301: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:324: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:325: warning: AC_TRY_RUN called without default to allow cross compiling
autoconf: Undefined macros:
configure.in:820:            AC_LINK_IFELSE([AC_LANG_PROGRAM([[

!!! ERROR: net-mail/mutt-1.5.6-r2 failed.
!!! Function src_unpack, Line 72, Exitcode 1
!!! autoconf failed

And autoconf is indeed 2.59-r4...
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2004-05-30 06:50:14 UTC
does it work with autoconf-2.59-r3?
Comment 3 Alberto Ornaghi 2004-05-30 07:02:55 UTC
yes, it worked for me just before upgrading autoconf.
Comment 4 Jason Toffaletti 2004-05-31 11:10:59 UTC
I have this problem also on amd64.

Portage 2.0.50-r7 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r1, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 x86_64 4
Gentoo Base System version 1.4.15
distcc 2.14 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.ccccom.com ftp://gentoo.ccccom.com http://mirror.tucdemonic.org/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa amd64 apache2 apm avi berkdb cdr crypt cups dvd dvdr encode esd flac foomaticdb gdbm geoip gif gphoto2 gpm gstreamer gtk gtk2 imagemagick imap imlib ipv6 java jpeg kde libg++ libwww mad maildir mikmod motif mpeg mysql ncurses nogcj noreiserfs oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sasl sdl slang slp spell sqlite ssl tcltk tcpd tetex tiff truetype usb xml2 xmms xv zlib"
Comment 5 Lars T. Mikkelsen 2004-05-31 12:42:53 UTC
The problem seem to come from the maildir header cache patch which uses the AC_LINK_IFELSE and AC_LANG_PROGRAM autoconf macros in configure.in. While the configure.in states it requires autoconf 2.12, these macros are not available in autoconf 2.12 (nor 2.13).

I think the reason why the bug only exits when using autoconf-2.59-r4 is because that version actually detects the correct version of autoconf to use.

A solution to the bug might be to force the autoconf wrapper to use version 2.5x - I'm attaching a patch to make the ebuild do so. While this works perfectly on my system, I'm not sure if this will conflict with bug 22787.

Other solutions could be to patch configure.in to not use the AC_LINK_IFELSE and AC_LANG_PROGRAM macroes, or to change AC_PREREQ.
Comment 6 Lars T. Mikkelsen 2004-05-31 12:44:15 UTC
Created attachment 32406 [details, diff]
Patch to make mutt-1.5.6-r2.ebuild use autoconf 2.5x
Comment 7 Caleb Tennis (RETIRED) gentoo-dev 2004-05-31 16:36:03 UTC
I agree; I was the one who did the -r3 -> -r4 change, and the difference is that it now correctly identifies autoconf-2.11,.12 and .13 whereas before it was not correctly finding them.  So the fix is best to be done to mutt.
Comment 8 Cletus Lichte 2004-06-05 15:55:29 UTC
This crashes for me too; same errors.  How do I apply the patch so I can emerge mutt?
Comment 9 folken 2004-06-06 05:50:36 UTC
can we push that patch upstream so we can test it?
Comment 10 Aron Griffis (RETIRED) gentoo-dev 2004-06-08 12:05:52 UTC
Sorry I missed this bug earlier!  It was assigned to net-mail when it should have been assigned to me.  It's fixed now in portage.