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

Bug 382325

Summary: perl-module.eclass needlessly exports src_unpack() in EAPI>=2
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: EclassesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal CC: jokey
Priority: Normal Keywords: LATER
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: Waiting for EAPI=6
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 382323, 531902    

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.