1 |
Georgy Yakovlev wrote: |
2 |
> Hi, |
3 |
> |
4 |
> I've been approached multiple times with that request, and a lot of |
5 |
> time I see new users completely destroyed by rust build time and disk |
6 |
> space requirements. |
7 |
> |
8 |
> WDYT about switching order of rusts in a virtual? |
9 |
> |
10 |
> RDEPEND="|| ( |
11 |
> ~dev-lang/rust-${PV} |
12 |
> ~dev-lang/rust-bin-${PV} |
13 |
> )" |
14 |
> |
15 |
> |
16 |
> becomes |
17 |
> |
18 |
> RDEPEND="|| ( |
19 |
> ~dev-lang/rust-bin-${PV} |
20 |
> ~dev-lang/rust-${PV} |
21 |
> )" |
22 |
> |
23 |
> |
24 |
> Existing installs should be unaffected ofc. |
25 |
> But portage may prefer to depclean rust and not rust-bin if both are |
26 |
> present. |
27 |
> Users who wish to use source version at all times can just add it to |
28 |
> world file. |
29 |
> |
30 |
> I see both positives and negatives of doing that, but would like to |
31 |
> reach out to community first. |
32 |
> |
33 |
> Thanks! |
34 |
> |
35 |
> -- |
36 |
> Georgy |
37 |
> |
38 |
> |
39 |
|
40 |
|
41 |
As a user, if I recall correctly, if a user wants rust-bin, all they |
42 |
have to do is emerge -1 rust-bin and then let whatever package pull in |
43 |
the virtual for rust. The virtual will be satisfied and rust-bin will |
44 |
be used. From my understanding, that is the purpose of virtuals, |
45 |
allowing users to pick what they want to use to satisfy the |
46 |
requirement. I wouldn't want either rust in my world file as it is not |
47 |
a package I use directly. It should be a dependency of another package, |
48 |
such as Firefox. To me, this sounds like there should be a note added to |
49 |
a install guide so new users are aware of this, provided it isn't |
50 |
already mentioned. |
51 |
|
52 |
Gentoo is known for compiling from sources. Defaulting to a package |
53 |
that is a binary but available as a package from source that requires |
54 |
compiling, that would be unexpected. |
55 |
|
56 |
Just my $0.02 worth, as a user. |
57 |
|
58 |
Dale |
59 |
|
60 |
:-) :-) |