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

Bug 410999

Summary: dev-libs/Ice assigns different EAPI values in different phases
Product: Gentoo Linux Reporter: Ulrich Müller <ulm>
Component: New packagesAssignee: C++ Team [disbanded] <cpp+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: qa
Priority: Normal Keywords: QAcanfix
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 411069    

Description Ulrich Müller gentoo-dev 2012-04-06 07:36:49 UTC
dev-libs/Ice-3.3.1-r2 and dev-libs/Ice-3.4.0 ebuilds assign EAPI=2 in global scope, but EAPI=3 in pkg_postinst and pkg_postrm.

PMS says: "All ebuild-defined variables discussed in this chapter [this includes EAPI] must be defined independently of any system, profile or tree dependent data, and must not vary depending upon the ebuild phase."
Comment 1 Ulrich Müller gentoo-dev 2012-06-02 15:45:28 UTC
Since Ice-3.4.1 is stable, the two affected ebuilds could simply be removed.
Comment 2 Ulrich Müller gentoo-dev 2012-06-04 18:14:51 UTC
No reply from maintainer, so I've fixed this myself.