Gentoo Archives: gentoo-dev

From: "William L. Thomson Jr." <wlt-ml@××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Package file name requirement for binary ebuilds
Date: Mon, 17 Oct 2016 02:43:20
Message-Id: assp.00980f5009.1895268.XEBoXRVGAG@wlt
In Reply to: Re: [gentoo-dev] Package file name requirement for binary ebuilds by Ian Stakenvicius
1 On Sunday, October 16, 2016 9:19:25 PM EDT Ian Stakenvicius wrote:
2 >
3 > *IF* we were going to make use of upstream vs gentoo-generated binary
4 > packages in the tree, they *WOULD* block one-another as they would
5 > collide file-wise at least partially if not completely. So there
6 > wouldn't be any testing between the two variants on the same installed
7 > system.
8
9 That was not an argument I was initially making as justification, but via
10 slotting and changing names of binaries and/or paths it could be done.
11
12 It is in part why systems like eselect exist to switch between
13 implementations. In Java's case there is a wrapper around all binaries that is
14 called, which handles which ones is used. run-java-tool.bash. In addition to
15 things like java-cpnfig etc.
16
17 Also why there is gcc-config, binutils-config, etc. Part of the beauty of Gentoo
18 is installing things that collide, and switching between them for testing.
19
20 > > Maybe the upstream binary runs better, does not crash, etc. Or the Gentoo
21 > > one does. If the Gentoo one is better, it could be used to get a
22 > > reluctant upstream to make changes. If worse could be used to help figure
23 > > out where its going wrong.
24 >
25 > OK, so here's how things *actually work* in the gentoo repo:
26
27 Because I need such an explanation? I think it could be a little less harsh
28 no?
29
30 > #1, binary packages aren't made unless there's a really good reason
31 > for them -- the primary one being that there isn't any other option
32 > provided by upstream.
33
34 Is that a mandated policy? There are ebuilds in tree that are not that way.
35
36 > #2, if there is a binary package then the only reason why a gentoo dev
37 > would roll it instead of using upstream's version is because the
38 > upstream one fails hard or has too many bugs, security
39 > vulnerabilities, whatever. This is as much done on a per-version
40 > basis within a package as it is on a per-package one.
41
42 There is a 3rd case, where the package is to complex to package from source.
43 Things like jenkins-bin, and there are others... jenkins can be packaged from
44 source, as some others can be. If they were -sbin, maybe more would be aware
45 and try to package from source vs use as binary because it is to hard to
46 package from source.
47
48 > All of this discussion is centered around trying to bring convention
49 > to a problem that simply doesn't exist.
50
51 Maybe you are just not aware. Which if the packages were required to be named,
52 say -sbin a binary that is a from source package, just not packaged you would
53 be aware.
54
55 They exist, go look! Also seems to be growing.
56
57 > Also, if the idea here is to
58 > open the door for a flood of gentoo-dev-rolled *-bin packages in the
59 > gentoo repo for end-user convenience,
60
61 No that is not the case, and that is done in extreme limited case. I am not
62 pushing for more binary packages by any means. It would simply be to
63 differentiate, so anyone knows by file name what they are getting, from
64 upstream or from Gentoo.
65
66 > then we should similarly stop
67 > this discussion right now too. How about, instead, you could focus on
68 > setting up two (additional) repos -- one containing gentoo-built
69 > binary packages, another containing upstream-only packages.
70
71 That is not my goal. I am trying to bring to attention -bin packages in tree.
72 -sbin packages should draw attention to get people to package them from
73 source.
74
75 > That way
76 > it'll be very obvious to end-users what they'll be using because
77 > they'll know exactly based on where it comes from.
78
79 This is an issue of things already in tree, and packages being added in tree,
80 in Gentoo's repo. Which I obviously cannot do so its not my work.
81
82 > It'll also be very
83 > easy for end-users to control which one is used, just by choosing
84 > which repo it comes from. AND, it'll keep them from polluting the
85 > main gentoo repo too.
86
87 It is already polluted, seems you are unaware, but now you know.
88
89 Likely wasn't intentional but came across VERY hostile, and completely missing
90 the mark and point.
91
92 --
93 William L. Thomson Jr.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Package file name requirement for binary ebuilds Ian Stakenvicius <axs@g.o>