Georgy Yakovlev wrote: > Hi, > > I've been approached multiple times with that request, and a lot of > time I see new users completely destroyed by rust build time and disk > space requirements. > > WDYT about switching order of rusts in a virtual? > > RDEPEND="|| ( > ~dev-lang/rust-${PV} > ~dev-lang/rust-bin-${PV} > )" > > > becomes > > RDEPEND="|| ( > ~dev-lang/rust-bin-${PV} > ~dev-lang/rust-${PV} > )" > > > Existing installs should be unaffected ofc. > But portage may prefer to depclean rust and not rust-bin if both are > present. > Users who wish to use source version at all times can just add it to > world file. > > I see both positives and negatives of doing that, but would like to > reach out to community first. > > Thanks! > > -- > Georgy > >
As a user, if I recall correctly, if a user wants rust-bin, all they have to do is emerge -1 rust-bin and then let whatever package pull in the virtual for rust. The virtual will be satisfied and rust-bin will be used. From my understanding, that is the purpose of virtuals, allowing users to pick what they want to use to satisfy the requirement. I wouldn't want either rust in my world file as it is not a package I use directly. It should be a dependency of another package, such as Firefox. To me, this sounds like there should be a note added to a install guide so new users are aware of this, provided it isn't already mentioned. Gentoo is known for compiling from sources. Defaulting to a package that is a binary but available as a package from source that requires compiling, that would be unexpected. Just my $0.02 worth, as a user. Dale :-) :-)