1 |
hum... yes I've setup all the relevant settings in my /etc/portage... |
2 |
I've also read the man, and still not understanding why. |
3 |
|
4 |
But At least you are confirming me that directly modifying the user.eclass in /usr/portage/eclass should work! |
5 |
|
6 |
The exact command line I've used was ROOT=/sysroot emerge -av sys-power/nut, where sysroot is a working x86 rootfs (ie, I can chroot in it) with no portage inside... |
7 |
|
8 |
PORTAGE_ECLASS_WARNING_ENABLE="1" in the make.conf seems to not work too... |
9 |
|
10 |
-------------------------------------------- |
11 |
En date de : Mar 3.5.16, Mike Gilbert <floppym@g.o> a écrit : |
12 |
|
13 |
Objet: Re: [gentoo-dev] Re : Cannot see my eclass modifications |
14 |
À: "Gentoo Dev" <gentoo-dev@l.g.o>, fariouche@×××××.fr |
15 |
Date: Mardi 3 mai 2016, 23h39 |
16 |
|
17 |
On Tue, May 3, 2016 at |
18 |
5:42 PM, Farid BENAMROUCHE <fariouche@×××××.fr> |
19 |
wrote: |
20 |
> Hi, |
21 |
> |
22 |
> I'm still searching for the reason why |
23 |
I'm not seeing my eclass modifications... no luck so |
24 |
far. |
25 |
> |
26 |
> What can I do |
27 |
to debug portage's behavior? |
28 |
> |
29 |
> Thank you |
30 |
> |
31 |
> |
32 |
-------------------------------------------- |
33 |
> En date de : Sam 30.4.16, Farid |
34 |
BENAMROUCHE <fariouche@×××××.fr> |
35 |
a écrit : |
36 |
> |
37 |
> |
38 |
Objet: Re : Cannot see my eclass modifications |
39 |
> À: gentoo-dev@l.g.o |
40 |
> Date: Samedi 30 avril 2016, 20h03 |
41 |
> |
42 |
> Hi all, |
43 |
> |
44 |
> I'm |
45 |
currently developping a patch for user.eclass, but |
46 |
I'm |
47 |
> banging my head |
48 |
against a wall... |
49 |
> |
50 |
> So for testing first, |
51 |
I've setup an overlay, and I now |
52 |
> |
53 |
that |
54 |
> it is taken in |
55 |
account by portage (If I rename portage's |
56 |
> user.eclass, emerge is still |
57 |
working. If I remove my |
58 |
> overlay, emerge complains |
59 |
about missing user eclass. So my |
60 |
> overlay is actually |
61 |
working) |
62 |
> I've modified |
63 |
enewgroup and egetent for example and put |
64 |
> some |
65 |
> einfo and also modified some |
66 |
other stuffs to be sure that |
67 |
> I'm entering the |
68 |
function.... |
69 |
> |
70 |
> Then emerge sys-power/nut, I |
71 |
can see the pkg-setup traces, |
72 |
> just after the call to |
73 |
enewgroup... but still cannot see |
74 |
> |
75 |
my |
76 |
> eclass |
77 |
modifications! |
78 |
> I tried to |
79 |
modify directly the |
80 |
> /usr/portage/eclass/user.eclass |
81 |
file, but still the same |
82 |
> issue... |
83 |
> I'm totally puzzled about |
84 |
this point! I'm most likely |
85 |
> missing a stupid point |
86 |
somewhere... |
87 |
> |
88 |
> Anyone knows what could be |
89 |
the problem? Please let me know |
90 |
> what traces/info you need and |
91 |
I will post them. |
92 |
> |
93 |
> Thank you! |
94 |
> |
95 |
> |
96 |
|
97 |
Portage will only use eclasses from your |
98 |
overlay for ebuilds in your |
99 |
overlay, at |
100 |
least by default. You can force it to use your overlay by |
101 |
setting eclass-overrides in repos.conf. |
102 |
|
103 |
I have no idea why you would |
104 |
experience this problem if you are |
105 |
modifying |
106 |
/usr/portage/eclass directly. |