Summary: | autotools.eclass: eautomake incorrectly detecting version | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Brian Evans (RETIRED) <grknight> |
Component: | Eclasses | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | axs, flameeyes, patrick |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=501712 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 425340 | ||
Attachments: | autotools.eclass.patch |
Description
Brian Evans (RETIRED)
2014-05-07 13:17:12 UTC
There's two parts to the patch -- the first adds an --output option to autotools_run_tool , so that whatever the output is from the tool can be parsed later (this is needed in order for the 'automake --version' call to actually return text for sed to parse). The second part ensures that the version '1.4-p6' is truncated so that it matches '1.4'; that is more specific to grknight's particular issue and I'm not sure if it's valid or not (ie, if there are cases when we really do want to match 1.4-p6 instead of 1.4, when an automake:1.4 is required). *** Bug 513938 has been marked as a duplicate of this bug. *** *** Bug 527356 has been marked as a duplicate of this bug. *** Doesn't help to dupe against this if it's not discoverable when looking for a particular package's failure, you know. i couldn't get that patch to work quite right, so i went with a similar one: http://sources.gentoo.org/eclass/autotools.eclass?r1=1.166&r2=1.167 it passed your testcase w/mysql-super-smack-1.3-r2 for me. hopefully it does for you as well ;). for the record, it was working until this commit: http://sources.gentoo.org/eclass/autotools.eclass?r1=1.160&r2=1.161 i was pretty sure i had tested this originally before i landed it |