> On May 3, 2016, at 5:42 PM, Farid BENAMROUCHE <fariou...@yahoo.fr> 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 <fariou...@yahoo.fr> a écrit : > > Objet: Re : Cannot see my eclass modifications > À: gentoo-dev@lists.gentoo.org > 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! > >
You can't override the eclass used by ebuilds in another repo by default. You have to edit /etc/portage/repos.conf/gentoo.conf and adjust a setting. Man portage or googling about repos.conf should provide more info.