[Exherbo-dev] Phases that are defined in exlibs now need to be exported

Benedikt Morbach moben at exherbo.org
Tue May 23 14:36:21 UTC 2017

Hi everyone,

Previously, this was a valid exlib:


        foo_src_prepare() {

which occasionally lead to people forgetting to export phases and
those phases not actually being run. Sometimes this went unnoticed for
quite a while, so I've changed paludis to make this an error at
metadata generation time. If you define a `foo_${exheres_phase}`
function in an exlib, you now *must* also call `export_exlib_phases

I have already fixed all exlibs in official and unofficial
repositories, except for one in ::japaric and ::exony each, which both
have corresponding changes in gerrit[1][2], so you shouldn't see any
disruption due to this. Of course, if you maintain any unpublished
exlibs, those might need to be fixed.


[1] https://galileo.mailstation.de/gerrit/#/c/9073
[2] https://galileo.mailstation.de/gerrit/#/c/9074

More information about the Exherbo-dev mailing list