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

Bug 470146

Summary: gnuconfig.eclass refers to obsolete /usr/share/automake-*.*/config.sub in gnuconfig_findnewest()
Product: Gentoo Linux Reporter: Roman Žilka <roman.zilka>
Component: EclassesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: prefix
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Roman Žilka 2013-05-17 11:25:06 UTC
This is in the current gnuconfig.eclass:

=================================================================

gnuconfig_findnewest() {
    local locations="
        /usr/share/gnuconfig/config.sub
        /usr/share/automake-1.9/config.sub
        /usr/share/automake-1.8/config.sub
        /usr/share/automake-1.7/config.sub
        /usr/share/automake-1.6/config.sub
        /usr/share/automake-1.5/config.sub
        /usr/share/automake-1.4/config.sub
        /usr/share/libtool/config.sub
    "
    grep -s '^timestamp' ${locations} | sort -n -t\' -k2 | tail -n 1 | sed 's,/config.sub:.*$,,'
}

=================================================================

These are old automake versions.

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2013-05-17 17:26:38 UTC
doesn't really matter as they're all symlinks to gnuconfig/
Comment 2 SpanKY gentoo-dev 2013-05-17 17:28:40 UTC
not sure if the prefix guys are affected by this.  should we be checking $EPREFIX/ instead of / ?
Comment 4 Fabian Groffen gentoo-dev 2013-05-23 17:42:48 UTC
Yes in Prefix we use ${EPREFIX} there.  Just synced the new code.  Thanks.
Comment 5 SpanKY gentoo-dev 2013-05-23 19:35:19 UTC
(In reply to comment #4)

why not commit that to the main tree ?  can't see any reason to not.
Comment 6 Fabian Groffen gentoo-dev 2013-05-23 19:46:43 UTC
I think by now it should be safe to just do.
Comment 7 SpanKY gentoo-dev 2014-11-15 06:20:29 UTC
(In reply to Fabian Groffen from comment #6)

well i've committed this:
http://sources.gentoo.org/eclass/gnuconfig.eclass?r1=1.35&r2=1.36

if that's not what you want, you should fix it ;)