Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489952 - app-portage/eix should expand ebuild functions
Summary: app-portage/eix should expand ebuild functions
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Third-Party Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Martin Väth
Depends on:
Reported: 2013-10-31 10:13 UTC by igel
Modified: 2013-11-23 01:04 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
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: 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.