On Tue, May 3, 2016 at 5:42 PM, Farid BENAMROUCHE <[email protected]> wrote:
> Hi,
>
> I'm still searching for the reason why I'm not seeing my eclass 
> modifications... no luck so far.
>
> What can I do to debug portage's behavior?
>
> Thank you
>
> --------------------------------------------
> En date de : Sam 30.4.16, Farid BENAMROUCHE <[email protected]> a écrit :
>
>  Objet: Re : Cannot see my eclass modifications
>  À: [email protected]
>  Date: Samedi 30 avril 2016, 20h03
>
>  Hi all,
>
>   I'm currently developping a patch for user.eclass, but I'm
>   banging my head against a wall...
>
>   So for testing first, I've setup an overlay, and I now
>  that
>   it is taken in account by portage (If I rename portage's
>   user.eclass, emerge is still working. If I remove my
>   overlay, emerge complains about missing user eclass. So my
>   overlay is actually working)
>   I've modified enewgroup and egetent for example and put
>  some
>   einfo and also modified some other stuffs to be sure that
>   I'm entering the function....
>
>   Then emerge sys-power/nut, I can see the pkg-setup traces,
>   just after the call to enewgroup... but still cannot see
>  my
>   eclass modifications!
>   I tried to modify directly the
>   /usr/portage/eclass/user.eclass file, but still the same
>   issue...
>   I'm totally puzzled about this point! I'm most likely
>   missing a stupid point somewhere...
>
>   Anyone knows what could be the problem? Please let me know
>   what traces/info you need and I will post them.
>
>   Thank you!
>
>

Portage will only use eclasses from your overlay for ebuilds in your
overlay, at least by default. You can force it to use your overlay by
setting eclass-overrides in repos.conf.

I have no idea why you would experience this problem if you are
modifying /usr/portage/eclass directly.

Reply via email to