Gentoo Archives: gentoo-dev

From: Michael Orlitzky <mjo@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH 3/3] dev-vcs/hub: migrate to go-module.eclass
Date: Fri, 13 Sep 2019 23:45:14
Message-Id: 2b8d7f00-fdf9-e879-5035-cc00b9c2b551@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH 3/3] dev-vcs/hub: migrate to go-module.eclass by Patrick McLean
1 (Replying to both messages at once.)
2
3
4 On 9/13/19 4:17 PM, Patrick McLean wrote:
5 >>
6 > I don't think anyone here has suggested that any go packages are
7 > installed in the stage3 tarballs, or included in profiles. Something's
8 > presence in the tree does not mean that you are required to install it.
9 > A package's presence in the tree really has little to zero effect on
10 > any user that does not use the package. If you do not install the
11 > package, it will have zero effect on your banking.
12
13 This is true only so far as they never become dependencies of anything
14 else. Do all new developers know that dev-go is an insecure ghetto? Do
15 our users? Or might someone accidentally install or depend upon
16 something in dev-go before learning that crucial bit of information?
17
18
19 > I also want to point out that the Gentoo packages for Firefox,
20 > Chromium, and Webkit all have a _lot_ of bundled dependencies and
21 > absolutely do static linking internally. If you are using a browser to
22 > do your banking, you are almost certainly using static linking, even
23 > without the presence of code written in golang.
24
25 Is this is a "two wrongs make a right" argument? I'm telling mom =P
26
27
28 > Despite your (and my) objections to it's approach to linking, golang is
29 > a very popular language these days with some very popular packages
30 > written in it.
31
32 No it's not. It's below Delphi and Object Pascal on TIOBE this month.
33 It's a trend that a tiny percentage of people jumped on because they
34 heard the name "Google" back when Google was cool.
35
36 The "people want this in Gentoo" argument I understand, but people don't
37 really have it "in Gentoo." They have a thin wrapper around the "go"
38 command. They don't get the Gentoo security guarantees, they don't get
39 the Gentoo license handling, they don't get the ease of management that
40 comes with a Gentoo @world update. They silently get something less than
41 they're expecting. We would be better off telling people to run "go
42 whatever" themselves, or by putting this stuff in an overlay where
43 expectations are clearly defined.
44
45
46 > While I personally have opinions about static linking (I basically
47 > completely agree with you that it's a dumb idea). That said, this has
48 > nothing to do with this particular discussion, I suggest you take it up
49 > with the golang upstream. I don't think anyone here is arguing that
50 > static linking is a great idea and everyone should do it.
51
52 We just have a philosophical difference here. I don't think we should
53 commit admittedly-dumb ideas to ::gentoo. These packages would work fine
54 in an overlay until such a time as someone is interested in doing things
55 correctly. They also work "fine" if you install them with "go" yourself:
56 Portage isn't doing much for you when everything is bundled, statically
57 linked, and has LICENSE set incorrectly.
58
59 I don't want to keep replying to these threads -- I've said everything
60 that I've got to say, and I'm boring myself, so I can only imagine how
61 you all feel. This will get pushed through anyway, because it always
62 does. It's just demoralizing constantly begging people not to make
63 things worse and being ignored.

Replies