Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124360 - [Future EAPI] kill off need for EXPORT_FUNCTIONS
Summary: [Future EAPI] kill off need for EXPORT_FUNCTIONS
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PMS/EAPI (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: PMS/EAPI
URL:
Whiteboard:
Keywords:
: 174412 (view as bug list)
Depends on:
Blocks: future-eapi
  Show dependency tree
 
Reported: 2006-02-27 22:31 UTC by SpanKY
Modified: 2019-03-04 07:40 UTC (History)
2 users (show)

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


Attachments
export.log (export.log,13.88 KB, text/plain)
2006-02-27 22:33 UTC, SpanKY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2006-02-27 22:31:01 UTC
per our discussion on irc
Comment 1 SpanKY gentoo-dev 2006-02-27 22:33:07 UTC
Created attachment 80879 [details]
export.log

irc conversation
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-02-15 21:48:16 UTC
So, what about phase functions which are exported optionally? Will we have to have them declared with two different names so that they don't get exported and at the same time are available to user?
Comment 3 SpanKY gentoo-dev 2013-02-18 22:30:10 UTC
(In reply to comment #2)

that is very much the exception, not the rule.  should be trivial to have it *default* to exporting everything automatically found, but if the eclass has an explicit EXPORT_FUNCTIONS call, we use that instead.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-03-14 09:22:58 UTC
*** Bug 174412 has been marked as a duplicate of this bug. ***
Comment 5 Ulrich Müller gentoo-dev 2017-09-09 16:07:16 UTC
What would be the transition plan for this? Eclasses would still have to call EXPORT_FUNCTIONS for EAPIs 0 to 6. So the eclass would need a conditional for this, or it would still explicitly call EXPORT_FUNCTIONS also in later EAPIs.

That would mean increased complexity for at least some years to come (until the last EAPI 6 ebuild is gone ...). Not sure if the relatively small gain of saving one line per eclass is worth it.

Given that there also is no progress since more than a decade, I am inclined to close this bug as WONTFIX.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-09-09 17:57:47 UTC
Furthermore, given that this doesn't really solve any problem, I seriously doubt implementing it is really worth the effort. Not to mention the unavoidable confusion.
Comment 7 Ulrich Müller gentoo-dev 2019-03-04 07:40:13 UTC
This is going nowhere since more then a decade. Closing per comment #5 and comment #6.