Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 611268 - python-r1: improve exporting vars w/ multiple inherit and changing control variables
Summary: python-r1: improve exporting vars w/ multiple inherit and changing control va...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-28 23:32 UTC by Michał Górny
Modified: 2017-03-01 08:08 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 2017-02-28 23:32:25 UTC
Based on the experience from bug #611176, we should:

1. make the eclasses re-export generated vars on each inherit of eclass (i.e. move them outta guards),

2. optionally check for changing control variables and bail out whenever that happens (to avoid surprise when eclass silently overrides ebuild),

3. optionally improve error messages from python_setup&co. to more clearly indicate what failed.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-03-01 08:08:50 UTC
Ok, 1. is a kinda no-go since we are making the variables readonly, and therefore no further inherit can modify them.