First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 93999
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Lance Albertson <ramereth@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Fadi Adlouni <fadlouni@hotmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
cronolog-autoconf.patch cronolog-autoconf.patch patch Lance Albertson 2005-05-25 18:11 0000 696 bytes Details | Diff
cronolog-autoconf-v2.patch New version of the cronolog patch patch dswhite42@yahoo.com 2005-05-26 09:22 0000 730 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 93999 depends on: Show dependency tree
Show dependency graph
Bug 93999 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-05-25 14:53 0000
hi.

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

Reproducible: Always
Steps to Reproduce:
1.emerge cronolog

Actual Results:  
>>> 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 . && aclocal
cd . && automake --gnu --include-deps Makefile
cd . && 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="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/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"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="CCACHE autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.gentoo.skynet.be/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="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"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

------- Comment #1 From Lance Albertson 2005-05-25 18:11:41 0000 -------
Created an attachment (id=59838) [edit]
cronolog-autoconf.patch

Could you please use the patch and see if that fixes it? 

------- Comment #2 From Fadi Adlouni 2005-05-25 23:10:19 0000 -------
doesn'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="Cronolog apache logfile rotator"
HOMEPAGE="http://cronolog.org/"
SRC_URI="http://cronolog.org/download/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
IUSE=""

DEPEND="virtual/libc
        >=sys-devel/autoconf-2.50"
RDEPEND=""

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 "aclocal failed"
        autoconf || die "autoconf failed"
        econf || die "econf failed"
        emake || die "emake failed"
}


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!
>>> emerge (1 of 1) app-admin/cronolog-1.6.2-r2 to /
>>> md5 files   ;-) cronolog-1.6.2.ebuild
>>> md5 files   ;-) cronolog-1.6.2-r1.ebuild
>>> md5 files   ;-) cronolog-autoconf.patch
>>> md5 files   ;-) cronolog-1.6.2-r2.ebuild
>>> md5 files   ;-) files/digest-cronolog-1.6.2
>>> md5 files   ;-) files/digest-cronolog-1.6.2-r1
>>> md5 files   ;-) files/digest-cronolog-1.6.2-r2
>>> md5 files   ;-) files/1.6.2-patches/cronolog-missing-symlink-patch.txt
>>> md5 files   ;-) files/1.6.2-patches/cronolog-large-file-patch.txt
>>> md5 files   ;-) files/1.6.2-patches/cronolog-setugid-patch.txt
>>> md5 files   ;-) files/1.6.2-patches/cronolog-sigusr1-patch.txt
>>> md5 files   ;-) files/1.6.2-patches/cronolog-strftime-patch.txt
>>> md5 src_uri ;-) cronolog-1.6.2.tar.gz
>>> Unpacking source...
>>> 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
]>>> 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.



------- Comment #3 From dswhite42@yahoo.com 2005-05-26 09:22:16 0000 -------
Created an attachment (id=59886) [edit]
New version of the cronolog patch

The original patch above almost worked, but didn't quite have the syntax
correct for WANT_AUTOCONF.  Try this patch instead - it solved the problem for
me.

------- Comment #4 From Fadi Adlouni 2005-05-26 11:13:51 0000 -------
yup, it works.

Thanks.
Fadi.

------- Comment #5 From Lance Albertson 2005-05-26 12:00:47 0000 -------
Doh! I wondered if it needed the export part. Anyways, thanks for noticing that
and testing. I commited the change just now.

Cheers,

First Last Prev Next    No search results available      Search page      Enter new bug