salt icon indicating copy to clipboard operation
salt copied to clipboard

In modules/ebuild.py Gentoo best practice usage for `emerge`

Open quantumsummers opened this issue 13 years ago • 3 comments

A component of this commit, e842594, goes somewhat against Gentoo best practices. Inclusion of --with-bdeps=y should be managed by the user via the make.conf var EMERGE_DEFAULT_OPTS and/or via the cli. Further, the use of --complete-graph is generally recommended for world updates. Using --with-bdeps=y together with --complete-graph makes the graph as complete as possible. However, from the long-time maintainer of portage, zmedico, "--with-bdeps=y should never be required".

The reason is that it can easily cause breakage in packages dependent on some newly updated bdep. Some packages are more sensitive to changes than others.

Further, --complete-graph is always good but can waste time for some small calculations. These days, --complete-graph is enabled automatically be default when necessary, via --complete-graph-if-new-use and --complete-graph-if-new-ver which is handy.

In my view, leaving --with-bdep=y out is the safe option, where the user can decide what is needed though managing EMERGE_DEFAULT_OPTS or invoke emerge directly via cmd.run with any option they wish.

quantumsummers avatar Jun 29 '13 05:06 quantumsummers

Thanks for the report and the pull req! Did your pull req fully resolve this issue?

basepi avatar Jul 01 '13 16:07 basepi

No response on this for several months. Issue appears to have been resolved in #5823. Closing, please file a new issue if the problem persists.

terminalmage avatar Oct 02 '13 23:10 terminalmage

Sorry for not responding, yes the PR did resolve the issue. Thanks.

quantumsummers avatar Oct 03 '13 12:10 quantumsummers