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

Bug 473230

Summary: autotools-utils.eclass: detect changes requiring eautoreconf not only for user patches
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: RESOLVED CANTFIX    
Severity: enhancement CC: reavertm
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Pacho Ramos gentoo-dev 2013-06-13 21:51:40 UTC
If I have understood properly from eclass:
        if [[ ! ${want_autoreconf} ]]; then
                if [[ ${checksum} != $(at_checksum) ]]; then
                        einfo 'Will autoreconfigure due to user patches applied.'
                        want_autoreconf=yep
                fi
        fi

This is able to detect when eautoreconf is needed, why isn't this always run instead of needing to explicitly set AUTOTOOLS_AUTORECONF?

Reproducible: Always
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-06-14 03:42:17 UTC
Because it doesn't provide necessary autoconf/automake DEPENDs. It's fine (and inevitable) for user patches but ebuilds patching the thing should set the global var to get the deps.
Comment 2 Pacho Ramos gentoo-dev 2013-06-14 17:48:45 UTC
Bleh, true, didn't notice it. The problem is that I cannot find a way to solve this as DEPEND value cannot be changed :(
Comment 3 Pacho Ramos gentoo-dev 2013-06-14 19:20:19 UTC
On the other hand, I am unsure if people is really able to get a system free of autotools related depends, as even most basic packages will need them to be installed
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-06-14 20:21:39 UTC
(In reply to Pacho Ramos from comment #3)
> On the other hand, I am unsure if people is really able to get a system free
> of autotools related depends, as even most basic packages will need them to
> be installed

Well, not exactly. Packages need them to get autoreconfigured. Supposedly a proper tarball does not need them.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-08-02 08:31:40 UTC
So far, CANTFIX. But I'll be happy to do that if you get some group agreement that a random number of packages pulling in specific versions of automake+autoconf is fine (note that some packages will need to pull older versions).