1 |
Great additional information. Thank you. |
2 |
|
3 |
> Gesendet: Mittwoch, 05. Juni 2019 um 00:10 Uhr |
4 |
> Von: "Mick" <michaelkintzios@×××××.com> |
5 |
> An: gentoo-user@l.g.o |
6 |
> Betreff: Re: Aw: Re: Re: [gentoo-user] Updating portage, continued |
7 |
> |
8 |
> On Tuesday, 4 June 2019 21:21:24 BST n952162@×××.de wrote: |
9 |
> > Or, perhaps, that's where slots come in? |
10 |
> > |
11 |
> > If I try to install package A, which doesn't want whatever's in |
12 |
> > |
13 |
> > > > > +>=net-analyzer/rrdtool-1.6.0-r1 perl graph |
14 |
> > |
15 |
> > then, it'll use a new slot? |
16 |
> |
17 |
> Not really. rrdtool-1.x will be in the same slot, say SLOT="0" for whichever |
18 |
> x value the developers release. You will not be able to install rrdtool-1.x |
19 |
> and rrdtool-1.xx, without using a prefix or some similar trick. |
20 |
> |
21 |
> If the developers also released a different slot, e.g. rrdtool-2.x, then this |
22 |
> would become SLOT="1" and so on, with its own different versions of build and |
23 |
> run time dependencies. You could conceivably have both rrdtool-1.x and |
24 |
> rrdtool-2.x installed on the same box, with different USE flags is you so |
25 |
> wished or the devs or make.profile stipulated - as long as there was no major |
26 |
> blockage in their respective versions of dependencies. |
27 |
> |
28 |
> Have a look here for a better explanation of SLOTS: |
29 |
> |
30 |
> https://devmanual.gentoo.org/general-concepts/slotting/ |
31 |
> |
32 |
> |
33 |
> > I see that I have ebuilds for rrdtool-1.6.0 and rrdtool-1.7.0,1.7.1. and |
34 |
> > 1.7.2. The one that runs when I enter rrdtool is 1.6.0. |
35 |
> |
36 |
> They all belong to the same slot: |
37 |
> |
38 |
> $ grep SLOT /usr/portage/net-analyzer/rrdtool/rrdtool-1.*.ebuild |
39 |
> /usr/portage/net-analyzer/rrdtool/rrdtool-1.6.0-r1.ebuild:SLOT="0/8.0.0" |
40 |
> /usr/portage/net-analyzer/rrdtool/rrdtool-1.7.0.ebuild:SLOT="0/8.0.0" |
41 |
> /usr/portage/net-analyzer/rrdtool/rrdtool-1.7.1.ebuild:SLOT="0/8.0.0" |
42 |
> /usr/portage/net-analyzer/rrdtool/rrdtool-1.7.2.ebuild:SLOT="0/8.0.0" |
43 |
> |
44 |
> |
45 |
> > Was that caused by etc/portage/package.use/._cfg0015_zz-autounmask even |
46 |
> > though I hadn't accepted it yet? I understand correctly, right, that |
47 |
> > commands in ._cfg* files pend until accepted? |
48 |
> |
49 |
> Yes. Configuration directives in ._cfg* files remain there until accepted or |
50 |
> until rejected (zapped) by the user. |
51 |
> |
52 |
> |
53 |
> > Basically, this pending change is because monitorix doesn't want to work |
54 |
> > with the newest version of rrdtool? |
55 |
> |
56 |
> I think it is a matter of USE flags monitorix requires of rrdtool. Looking in |
57 |
> the latest stable monitorix ebuild we see: |
58 |
> |
59 |
> RDEPEND="dev-perl/Config-General |
60 |
> dev-perl/DBI |
61 |
> dev-perl/HTTP-Server-Simple |
62 |
> dev-perl/IO-Socket-SSL |
63 |
> dev-perl/libwww-perl |
64 |
> dev-perl/MIME-Lite |
65 |
> dev-perl/XML-Simple |
66 |
> net-analyzer/rrdtool[graph,perl] <== This one |
67 |
> dev-perl/CGI" |
68 |
> |
69 |
> These USE flag requirements for rrdtool are present in all versions of |
70 |
> monitorix presently in the tree, see below, but things may have been different |
71 |
> in previous monitorix versions not currently in the tree (I'm not familiar |
72 |
> with monitorix and its historic dependencies): |
73 |
> |
74 |
> $ grep rrdtool /usr/portage/www-misc/monitorix/monitorix-*.ebuild |
75 |
> /usr/portage/www-misc/monitorix/monitorix-3.10.0-r1.ebuild: net-analyzer/ |
76 |
> rrdtool[graph,perl] |
77 |
> /usr/portage/www-misc/monitorix/monitorix-3.10.1.ebuild: net-analyzer/ |
78 |
> rrdtool[graph,perl] |
79 |
> /usr/portage/www-misc/monitorix/monitorix-3.11.0.ebuild: net-analyzer/ |
80 |
> rrdtool[graph,perl] |
81 |
> /usr/portage/www-misc/monitorix/monitorix-3.9.0.ebuild: net-analyzer/ |
82 |
> rrdtool[graph,perl] |
83 |
> |
84 |
> |
85 |
> > > Gesendet: Dienstag, 04. Juni 2019 um 21:56 Uhr |
86 |
> > > Von: n952162@×××.de |
87 |
> > > An: gentoo-user@l.g.o |
88 |
> > > Betreff: Aw: Re: Re: [gentoo-user] Updating portage, continued |
89 |
> > > |
90 |
> > > Okay, I think I got it. I saw that rrdtool was installed, so assumed |
91 |
> > > everything was okay. But, what I didn't realize is that - back then - I |
92 |
> > > guess I tried to install montorix and didn't notice, in the jungle of |
93 |
> > > messages, that the emerge was not successful. |
94 |
> > > |
95 |
> > > Apparently, rddtool got installed with harmless, default values, which, |
96 |
> > > however, are not sufficient for monitorix. So, now I can accept the |
97 |
> > > changes, and re-emerge rddtool - or probably, emerging monitorix will |
98 |
> > > arrange for that. |
99 |
> > > |
100 |
> > > Then, if someday, I get a nasty message that there's a keyword conflict, |
101 |
> > > I'll have to sacrifice either the new package or monitorix ... |
102 |
> > > |
103 |
> > > In the meantime, I'll install this package and that, and some of them may |
104 |
> > > be dependent on rrdtool. In that case, unless they explicitly disallow |
105 |
> > > that unmasked version, they'll use the same, possibly experimental, |
106 |
> > > version. When the day comes that I have to back the unmasked version of |
107 |
> > > rrdtool out, then all other dependent packages will get the standard, |
108 |
> > > default version again. |
109 |
> > > |
110 |
> > > I'm catching on, bit by bit ;-) |
111 |
> > > |
112 |
> > > > Gesendet: Dienstag, 04. Juni 2019 um 00:50 Uhr |
113 |
> > > > Von: "Mick" <michaelkintzios@×××××.com> |
114 |
> > > > An: gentoo-user@l.g.o |
115 |
> > > > Betreff: Re: Aw: Re: [gentoo-user] Updating portage, continued |
116 |
> > > > |
117 |
> > > > On Monday, 3 June 2019 23:09:40 BST n952162@×××.de wrote: |
118 |
> > > > > I'm sorry, I'm not getting this yet. What if I just don't update |
119 |
> > > > > these |
120 |
> > > > > configuration files? |
121 |
> > > > > |
122 |
> > > > > dispatch-conf tells me, for /etc/portage/package.accept_keywords: |
123 |
> > > > > |
124 |
> > > > > --- /etc/portage/package.use/zz-autounmask 2018-03-12 |
125 |
> > > > > 21:56:49.172491972 +0100 +++ |
126 |
> > > > > /etc/portage/package.use/._cfg0015_zz-autounmask 2018-07-28 |
127 |
> > > > > 11:08:23.725995803 +0200 @@ -1,2 +1,5 @@ |
128 |
> > > > > |
129 |
> > > > > >=dev-lang/python-2.7.14-r1:2.7 sqlite |
130 |
> > > > > >=sys-libs/zlib-1.2.11-r1 minizip |
131 |
> > > > > |
132 |
> > > > > +# required by www-misc/monitorix-3.9.0::gentoo |
133 |
> > > > > +# required by monitorix (argument) |
134 |
> > > > > +>=net-analyzer/rrdtool-1.6.0-r1 perl graph |
135 |
> > > > |
136 |
> > > > If you accept the above portage will emerge |
137 |
> > > > net-analyzer/rrdtool-1.6.0-r1 with USE flags 'perl' and 'graph' |
138 |
> > > > enabled. This change seems to be required by www-misc/monitorix for |
139 |
> > > > some functionality of rrdtool (e.g. graphing) it needs.> > |
140 |
> > > > > I can zap it or merge it or skip it. It looks like the emerge was |
141 |
> > > > > successful, so, why should I do anything? |
142 |
> > > > > |
143 |
> > > > > $ rrdtool |
144 |
> > > > > RRDtool 1.6.01.6.0 Copyright by Tobias Oetiker <tobi@×××××××.ch> |
145 |
> > > > |
146 |
> > > > Successful against what criteria? If monitorix needs/wants it to be |
147 |
> > > > compiled so in order to perform graphing, it may not work until you've |
148 |
> > > > enabled these USE flags and re-emerged (more successfully this time) |
149 |
> > > > rrdtool. |
150 |
> > > > |
151 |
> > > > > I would have thought that emerge would pend until I'd agreed to the |
152 |
> > > > > override. But, it apparently went ahead and installed. So what's |
153 |
> > > > > required |
154 |
> > > > > still? What will be different once I make the merge to zz-autounmask? |
155 |
> > > > |
156 |
> > > > If the changes in USE flags were hardcoded in the ebuild, because |
157 |
> > > > without them an insurmountable conflict would arise, I expect portage |
158 |
> > > > would refuse to emerge and complain of a hard block [B]. |
159 |
> > > > |
160 |
> > > > -- |
161 |
> > > > Regards, |
162 |
> > > > Mick |
163 |
> |
164 |
> |
165 |
> -- |
166 |
> Regards, |
167 |
> Mick |