Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 226545

Summary: dev-db/unixODBC: autoconf/autoreconf/automake/libtool called directly
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: PHP Bugs <php-bugs>
Severity: normal CC: dev-zero
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 226305    

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-14 11:44:28 UTC
Please never call autotools directly, instead use eautoreconf (or eautomake, and JUST THESE TWO) from autotools.eclass. If you have any reason why those don't work, please let me know to fix them.

Comment 1 Rafał Mużyło 2008-06-14 12:30:45 UTC
It's a bit sad.
Look at the ebuild I dropped in bug 221879.
It does solve this problem.
Comment 2 Christian Hoffmann (RETIRED) gentoo-dev 2008-06-14 20:16:25 UTC
I don't see what the problem is here. I neither see explicit calls to autotools in the ebuild, nor do I see indirect invocations by maintainer mode (as you blogged about it) or similar. A grep for "missing --run" in build.log didn't show anything.

Don't know what to do here, CC'ing dev-zero as he fixed the bug mentioned by Rafał Mużyło.
Comment 3 Rafał Mużyło 2008-06-14 22:48:53 UTC
in which one ?
There are none in 2.2.11-r1, but but in 2.2.12...
Comment 4 Christian Hoffmann (RETIRED) gentoo-dev 2008-06-14 22:57:46 UTC
I tested 2.2.12.
Comment 5 Rafał Mużyło 2008-06-15 00:38:26 UTC
Timestamp of tree: Thu, 12 Jun 2008 13:15:02 +0000
# $Header: /var/cvsroot/gentoo-x86/dev-db/unixODBC/unixODBC-2.2.12.ebuild,v 1.14
 2008/05/29 14:50:15 dev-zero Exp $
line 70+:
                cd gODBCConfig
                touch ChangeLog
                autoreconf --install
                econf --host=${CHOST} \
                        --with-odbc="${S}" \
                        --enable-static \
                        --prefix=/usr \
                        --sysconfdir=/etc/${PN} || die "econf gODBCConfig failed"
Comment 6 Christian Hoffmann (RETIRED) gentoo-dev 2008-06-15 17:35:04 UTC
Ok, this is hopefully fixed. Thanks Rafał for jogging my memory, I really missed that line. I also borrowed the autopoint -f line from the other bug, which you mentioned.