<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>93999</bug_id>
          
          <creation_ts>2005-05-25 14:53 0000</creation_ts>
          <short_desc>emerge cronolog fails with Autoconf version 2.50 or higher is required</short_desc>
          <delta_ts>2005-05-26 12:00:47 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>fadlouni@hotmail.com</reporter>
          <assigned_to>ramereth@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>fadlouni@hotmail.com</who>
            <bug_when>2005-05-25 14:53:17 0000</bug_when>
            <thetext>hi.

i&apos;m trying to emerge cronolog-1.6.2-r2 but it says i needs autoconf&gt; 2.50.
However i have autoconf 2.59, what could be the problem?

Reproducible: Always
Steps to Reproduce:
1.emerge cronolog

Actual Results:  
&gt;&gt;&gt; Source unpacked.
 * econf: updating cronolog-1.6.2/config.guess with
/usr/share/gnuconfig/config.guess * econf: updating cronolog-1.6.2/config.sub
with /usr/share/gnuconfig/config.sub./configure --prefix=/usr
--host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info
--datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
--libdir=/usr/lib --build=x86_64-pc-linux-gnu
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc -march=athlon64 -pipe -O2 ) works... yes
checking whether the C compiler (gcc -march=athlon64 -pipe -O2 ) is a
cross-compiler... nochecking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for perl... /usr/bin/perl
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for unistd.h... yes
checking for working const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for uid_t in sys/types.h... yes
checking for strftime... yes
checking for vprintf... yes
checking for mkdir... yes
checking for mktime... yes
checking for putenv... yes
checking for strptime... yes
checking for localtime_r... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating lib/Makefile
creating src/Makefile
creating doc/Makefile
creating testsuite/Makefile
creating src/cronosplit
cd . &amp;&amp; aclocal
cd . &amp;&amp; automake --gnu --include-deps Makefile
cd . &amp;&amp; autoconf
FATAL ERROR: Autoconf version 2.50 or higher is required for this script
make: *** [configure] Error 2
make: *** Waiting for unfinished jobs....

!!! ERROR: app-admin/cronolog-1.6.2-r2 failed.
!!! Function src_compile, Line 556, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
cronolog should emerge

root /home/fadlouni/ #emerge info
Portage 2.0.51.22-r1 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.5-r0,
2.6.11-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.11
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS=&quot;amd64 ~amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-march=athlon64 -pipe -O2&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-march=athlon64 -pipe -O2&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;CCACHE autoconfig distlocks sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://ftp.gentoo.skynet.be/pub/gentoo/&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;amd64 X acpi alsa apache2 avi berkdb bitmap-fonts cdr crypt cups curl dba
eds esd fam flac font-server fortran gd gdbm gif gnome gpm gstreamer gtk gtk2
imagemagick imlib ipv6 java jp2 jpeg ldap libwww live lzo lzw lzw-tiff mad
matroska motif mozilla mp3 mpeg multilib ncurses nls nvidia ogg oggvorbis opengl
oss pam perl php png python qt readline real rtc sdl session spell ssl tcpd
theora tiff truetype truetype-fonts type1-fonts usb userlocales v4l v4l2 vorbis
xanim xml xml2 xmms xpm xrandr xv xvid xvmc zlib userland_GNU kernel_linux
elibc_glibc&quot;
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ramereth@gentoo.org</who>
            <bug_when>2005-05-25 18:11:41 0000</bug_when>
            <thetext>Created an attachment (id=59838)
cronolog-autoconf.patch

Could you please use the patch and see if that fixes it? </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fadlouni@hotmail.com</who>
            <bug_when>2005-05-25 23:10:19 0000</bug_when>
            <thetext>doesn&apos;t work:

root /usr/portage/app-admin/cronolog/ #cat cronolog-1.6.2-r2.ebuild
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/cronolog/cronolog-1.6.2-r2.ebuild,v
1.1 2005/05/13 15:10:05 ramereth Exp $

inherit eutils

DESCRIPTION=&quot;Cronolog apache logfile rotator&quot;
HOMEPAGE=&quot;http://cronolog.org/&quot;
SRC_URI=&quot;http://cronolog.org/download/${P}.tar.gz&quot;

LICENSE=&quot;GPL-2&quot;
SLOT=&quot;0&quot;
KEYWORDS=&quot;~x86 ~ppc ~amd64&quot;
IUSE=&quot;&quot;

DEPEND=&quot;virtual/libc
        &gt;=sys-devel/autoconf-2.50&quot;
RDEPEND=&quot;&quot;

src_unpack() {
        unpack ${A} ; cd ${S}
        epatch ${FILESDIR}/${PV}-patches/*.txt
        # Small hack till upstream fixes
        touch config.guess config.sub
}

src_compile() {
        WANT_AUTOCONF=2.53
        aclocal || die &quot;aclocal failed&quot;
        autoconf || die &quot;autoconf failed&quot;
        econf || die &quot;econf failed&quot;
        emake || die &quot;emake failed&quot;
}


src_install() {
        make DESTDIR=${D} install || die
        dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
}
root /usr/portage/app-admin/cronolog/ #

root /usr/portage/app-admin/cronolog/ #emerge cronolog
Calculating dependencies ...done!
&gt;&gt;&gt; emerge (1 of 1) app-admin/cronolog-1.6.2-r2 to /
&gt;&gt;&gt; md5 files   ;-) cronolog-1.6.2.ebuild
&gt;&gt;&gt; md5 files   ;-) cronolog-1.6.2-r1.ebuild
&gt;&gt;&gt; md5 files   ;-) cronolog-autoconf.patch
&gt;&gt;&gt; md5 files   ;-) cronolog-1.6.2-r2.ebuild
&gt;&gt;&gt; md5 files   ;-) files/digest-cronolog-1.6.2
&gt;&gt;&gt; md5 files   ;-) files/digest-cronolog-1.6.2-r1
&gt;&gt;&gt; md5 files   ;-) files/digest-cronolog-1.6.2-r2
&gt;&gt;&gt; md5 files   ;-) files/1.6.2-patches/cronolog-missing-symlink-patch.txt
&gt;&gt;&gt; md5 files   ;-) files/1.6.2-patches/cronolog-large-file-patch.txt
&gt;&gt;&gt; md5 files   ;-) files/1.6.2-patches/cronolog-setugid-patch.txt
&gt;&gt;&gt; md5 files   ;-) files/1.6.2-patches/cronolog-sigusr1-patch.txt
&gt;&gt;&gt; md5 files   ;-) files/1.6.2-patches/cronolog-strftime-patch.txt
&gt;&gt;&gt; md5 src_uri ;-) cronolog-1.6.2.tar.gz
&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; Unpacking cronolog-1.6.2.tar.gz to /var/tmp/portage/cronolog-1.6.2-r2/work
 * Applying cronolog-large-file-patch.txt ...                             [ ok ]
* Applying cronolog-missing-symlink-patch.txt ...                        [ ok ]
* Applying cronolog-setugid-patch.txt ...                                [ ok ]
* Applying cronolog-sigusr1-patch.txt ...                                [ ok ]
* Applying cronolog-strftime-patch.txt ...                               [ ok
]&gt;&gt;&gt; Source unpacked.
FATAL ERROR: Autoconf version 2.50 or higher is required for this script

!!! ERROR: app-admin/cronolog-1.6.2-r2 failed.
!!! Function src_compile, Line 30, Exitcode 2
!!! autoconf failed
!!! If you need support, post the topmost build error, NOT this status message.


</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dswhite42@yahoo.com</who>
            <bug_when>2005-05-26 09:22:16 0000</bug_when>
            <thetext>Created an attachment (id=59886)
New version of the cronolog patch

The original patch above almost worked, but didn&apos;t quite have the syntax
correct for WANT_AUTOCONF.  Try this patch instead - it solved the problem for
me.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fadlouni@hotmail.com</who>
            <bug_when>2005-05-26 11:13:51 0000</bug_when>
            <thetext>yup, it works.

Thanks.
Fadi.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ramereth@gentoo.org</who>
            <bug_when>2005-05-26 12:00:47 0000</bug_when>
            <thetext>Doh! I wondered if it needed the export part. Anyways, thanks for noticing that
and testing. I commited the change just now.

Cheers,</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>59838</attachid>
            <date>2005-05-25 18:11 0000</date>
            <desc>cronolog-autoconf.patch</desc>
            <filename>cronolog-autoconf.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9hcHAtYWRtaW4vY3Jvbm9sb2cvY3Jvbm9sb2ctMS42LjItcjIuZWJ1
aWxkCTIwMDUtMDUtMTMgMTU6MTA6MDUuMDAwMDAwMDAwICswMDAwCisrKyAvdXNyL2xvY2FsL3Bv
cnRhZ2UvYXBwLWFkbWluL2Nyb25vbG9nL2Nyb25vbG9nLTEuNi4yLXIyLmVidWlsZAkyMDA1LTA1
LTI2IDAxOjAxOjM4LjAwMDAwMDAwMCArMDAwMApAQCAtMTMsNyArMTMsOCBAQAogS0VZV09SRFM9
In54ODYgfnBwYyB+YW1kNjQiCiBJVVNFPSIiCiAKLURFUEVORD0idmlydHVhbC9saWJjIgorREVQ
RU5EPSJ2aXJ0dWFsL2xpYmMKKwk+PXN5cy1kZXZlbC9hdXRvY29uZi0yLjUwIgogUkRFUEVORD0i
IgogCiBzcmNfdW5wYWNrKCkgewpAQCAtMjMsNiArMjQsMTUgQEAKIAl0b3VjaCBjb25maWcuZ3Vl
c3MgY29uZmlnLnN1YgogfQogCitzcmNfY29tcGlsZSgpIHsKKwlXQU5UX0FVVE9DT05GPTIuNTMK
KwlhY2xvY2FsIHx8IGRpZSAiYWNsb2NhbCBmYWlsZWQiCisJYXV0b2NvbmYgfHwgZGllICJhdXRv
Y29uZiBmYWlsZWQiCisJZWNvbmYgfHwgZGllICJlY29uZiBmYWlsZWQiCisJZW1ha2UgfHwgZGll
ICJlbWFrZSBmYWlsZWQiCit9CisKKwogc3JjX2luc3RhbGwoKSB7CiAJbWFrZSBERVNURElSPSR7
RH0gaW5zdGFsbCB8fCBkaWUKIAlkb2RvYyBBVVRIT1JTIENoYW5nZUxvZyBJTlNUQUxMIE5FV1Mg
UkVBRE1FIFRPRE8K
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>59886</attachid>
            <date>2005-05-26 09:22 0000</date>
            <desc>New version of the cronolog patch</desc>
            <filename>cronolog-autoconf-v2.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9hcHAtYWRtaW4vY3Jvbm9sb2cvY3Jvbm9sb2ctMS42LjItcjIuZWJ1
aWxkCTIwMDUtMDUtMTMgMTU6MTA6MDUuMDAwMDAwMDAwICswMDAwDQorKysgL3Vzci9sb2NhbC9w
b3J0YWdlL2FwcC1hZG1pbi9jcm9ub2xvZy9jcm9ub2xvZy0xLjYuMi1yMi5lYnVpbGQJMjAwNS0w
NS0yNiAwMTowMTozOC4wMDAwMDAwMDAgKzAwMDANCkBAIC0xMyw3ICsxMyw4IEBADQogS0VZV09S
RFM9In54ODYgfnBwYyB+YW1kNjQiDQogSVVTRT0iIg0KIA0KLURFUEVORD0idmlydHVhbC9saWJj
Ig0KK0RFUEVORD0idmlydHVhbC9saWJjDQorCT49c3lzLWRldmVsL2F1dG9jb25mLTIuNTAiDQog
UkRFUEVORD0iIg0KIA0KIHNyY191bnBhY2soKSB7DQpAQCAtMjMsNiArMjQsMTUgQEANCiAJdG91
Y2ggY29uZmlnLmd1ZXNzIGNvbmZpZy5zdWINCiB9DQogDQorc3JjX2NvbXBpbGUoKSB7DQorCWV4
cG9ydCBXQU5UX0FVVE9DT05GPTIuNQ0KKwlhY2xvY2FsIHx8IGRpZSAiYWNsb2NhbCBmYWlsZWQi
DQorCWF1dG9jb25mIHx8IGRpZSAiYXV0b2NvbmYgZmFpbGVkIg0KKwllY29uZiB8fCBkaWUgImVj
b25mIGZhaWxlZCINCisJZW1ha2UgfHwgZGllICJlbWFrZSBmYWlsZWQiDQorfQ0KKw0KKw0KIHNy
Y19pbnN0YWxsKCkgew0KIAltYWtlIERFU1RESVI9JHtEfSBpbnN0YWxsIHx8IGRpZQ0KIAlkb2Rv
YyBBVVRIT1JTIENoYW5nZUxvZyBJTlNUQUxMIE5FV1MgUkVBRE1FIFRPRE8NCg==
</data>        

          </attachment>
    </bug>

</bugzilla>