Summary: | sys-apps/portage: ebuild.sh outputs QA notice when automake is called from _automake_version | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mike Gilbert <floppym> |
Component: | Eclasses | Assignee: | Portage team <dev-portage> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | base-system, nikoli, phajdan.jr, rafaelmartins |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=509786 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Add _automake_version to the whitelist |
Description
Mike Gilbert
2014-02-18 19:40:43 UTC
It looks like ebuild.sh has a hard-coded whitelist of functions where automake may be called. *** Bug 502154 has been marked as a duplicate of this bug. *** Created attachment 371084 [details, diff]
Add _automake_version to the whitelist
Here's the obvious fix.
It would be nice if we did not have to hard-code that list in ebuild.sh, however.
I was impatient and pushed it as: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/autotools.eclass?r1=1.160&r2=1.161 Maybe it's worth keeping single function-wrapper that exempts from warnings? Like 'blessed-autocall() { "@" }' and stop maintaining that large list? Otherwise it's a bit too tied to portage version. *** Bug 503284 has been marked as a duplicate of this bug. *** (In reply to Sergei Trofimovich from comment #4) unfortunately your change broke the function entirely. it needed to parse the output, but the wrapper function swallows all the output (by design). (In reply to SpanKY from comment #6) > (In reply to Sergei Trofimovich from comment #4) > > unfortunately your change broke the function entirely. it needed to parse > the output, but the wrapper function swallows all the output (by design). Ugh, apologies for breakage. Thanks for fixing it! |