1 |
W dniu wto, 17.07.2018 o godzinie 23∶11 +0800, użytkownik konsolebox |
2 |
napisał: |
3 |
> On Tue, Jul 17, 2018 at 4:45 AM Michał Górny <mgorny@g.o> wrote: |
4 |
> > |
5 |
> > W dniu pon, 16.07.2018 o godzinie 13∶16 -0700, użytkownik Zac Medico |
6 |
> > napisał: |
7 |
> > > On 07/16/2018 02:26 AM, Michał Górny wrote: |
8 |
> > > > The pump mode of distcc has been causing issues for years now, |
9 |
> > > > and upstream does even attempt to fix it. Disarm the FEATURES so that |
10 |
> > > > people do not have to do that themselves after discovering all the bugs. |
11 |
> > > > --- |
12 |
> > > > bin/phase-functions.sh | 17 ----------------- |
13 |
> > > > man/make.conf.5 | 5 ++++- |
14 |
> > > > pym/_emerge/EbuildPhase.py | 2 +- |
15 |
> > > > 3 files changed, 5 insertions(+), 19 deletions(-) |
16 |
> > > |
17 |
> > > Maybe we should simply support RESTRICT="distcc-pump" so that |
18 |
> > > incompatible ebuilds can disable it? I don't see that many bug reports |
19 |
> > > about it, and a forums search turned up this recent thread which |
20 |
> > > suggests that some people may be using it: |
21 |
> > |
22 |
> > I did. There are only two reasons you don't see them often: |
23 |
> > |
24 |
> > 1. because not that many people use distcc, |
25 |
> > |
26 |
> > 2. because when they do, they quickly learn how broken it is and disable |
27 |
> > it. |
28 |
> |
29 |
> It's been just a month and a half since I rebuilt a Gentoo system with |
30 |
> distcc-pump, and that system ended up running well. |
31 |
> |
32 |
> I don't disable distcc-pump quickly. At least not globally. I only |
33 |
> disable it in packages that don't compile with it. |
34 |
> |
35 |
> > RESTRICT won't be helpful because distcc-pump is also capable of silent |
36 |
> > miscompilations and indirect breakage. If you used it at least once, my |
37 |
> > only advice is to rebuild your entire system. |
38 |
> |
39 |
> I believe giving a general warning whenever distcc-pump is used is |
40 |
> enough. Users should be allowed to decide whether they'll use it or |
41 |
> not. There are users who know when to use it, and are capable of |
42 |
> managing build-time inconsistencies. |
43 |
|
44 |
Sure, provided that they are warned that any suspicious bug reports will |
45 |
be rejected. Developers have better things to do than try to figure out |
46 |
whether some unmaintained-for-years, half-broken feature may have been |
47 |
the cause of a misbehaving system. |
48 |
|
49 |
> |
50 |
> Saying that distcc-pump is capable of silent miscompilations and |
51 |
> indirect breakage I think is also an aggressive and ungrounded |
52 |
> presumption. |
53 |
|
54 |
It's not a 'presumption', it's experience. Yes, it's possible that |
55 |
the breakages I've seen don't happen at the moment. But given |
56 |
the generic idea that distcc-pump can cause configure checks to misfire |
57 |
without actually causing build-time breakage, it's entirely possible. |
58 |
|
59 |
> Also, if upstream suddenly decides to fix whatever needs to be fixed |
60 |
> on this, it would need another request to put the feature back, which |
61 |
> I find would be very hard to be granted. |
62 |
> |
63 |
> I also agree that making specific packages use RESTRICT is more appropriate. |
64 |
> |
65 |
|
66 |
-- |
67 |
Best regards, |
68 |
Michał Górny |