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

Bug 489952

Summary: app-portage/eix should expand ebuild functions
Product: Portage Development Reporter: igel <mathiaswe>
Component: Third-Party ToolsAssignee: Martin Väth <martin>
Status: RESOLVED CANTFIX    
Severity: normal CC: axs, proxy-maint, xmw
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description igel 2013-10-31 10:13:52 UTC
I wrote an ebuild inheriting from versionator and set SLOT="$(get_major_version)". However, eix shows the slot of this package as "((get_major_version))" instead of the correct major version. Apparently, eix doesn't expand the function call there.

This can also be observed in the dev-util/idea-ultimate ebuilds from the "luman" overlay.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-11-22 13:04:16 UTC
Assignee: 	vaeth@mathematik.uni-wuerzburg.de did not match anything
Comment 2 Martin Väth 2013-11-23 01:04:21 UTC
(In reply to Jeroen Roovers from comment #1)
> Assignee: 	[...] did not match anything

Sorry, I had to change my email recently.


Concerning the original bug: This is known to fail with the quick and secure but only heuristic cache method "parse" (or "parse*") and cannot be fixed.

Use a reliable method like "ebuild" (or "ebuild*") or - better - setup your system to use metadata: See the SPEEDUP section in the eix manpage.