Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382325 - perl-module.eclass needlessly exports src_unpack() in EAPI>=2
Summary: perl-module.eclass needlessly exports src_unpack() in EAPI>=2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard: Waiting for EAPI=6
Keywords: LATER
Depends on:
Blocks: 382323 perl-eclass-6
  Show dependency tree
 
Reported: 2011-09-08 22:17 UTC by Michał Górny
Modified: 2015-12-19 22:07 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-09-08 22:17:04 UTC
perl-module exports src_unpack() which actually introduces anything only in EAPI<2. Thus, exporting that function in EAPI>=2 only confuses developers, especially if the module is inherited indirectly (i.e. through perl-app) along with actual module exporting src_unpack() (like a VCS eclass).

Considering that removing the export in EAPIs 2..4 could break compat, I suggest removing the export in EAPI 5.

The one particular ebuild which was broken by that is mail-mta/qpsmtpd-9999; though I'm not sure when did the breakage occur.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2015-12-19 22:07:32 UTC
This is fixed from EAPI=6 on.