On Mon, Jan 17, 2022 at 3:24 PM Georgy Yakovlev <gyakov...@gentoo.org> 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.
What does this actually mean? Can we more clearly document the negatives? Is it that Rust takes a long time to build? This seems like just a consequence of a sourced based distribution. Many things take a long time to build. I suspect rust is not the only package and again we are back to staffing binhost like projects for much of the tree so that this particular complaint can be mitigated, not just for rust, but for any package. Is it that Rust build fails because users lack the resources to build it? We should be using check-reqs here to detect this pre-build and give the user choices (like telling them rust can't be compiled from source on their machine and to use rust-bin.) I tend to empathize more with Peter Böhm later in the thread, in that Gentoo is sourced based and I'd expect portage to be installing things from source by default. Building from source is resource intensive and expensive, yes. I think if you want a binary-based distro you are using the wrong distro at the moment. -A > > 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 >