Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Cc: Zac Medico <zmedico@g.o>
Subject: Re: [gentoo-portage-dev] [PATCH] emerge: auto-enable --with-bdeps if --usepkg is not enabled (bug 598444)
Date: Sat, 04 Mar 2017 10:35:04
Message-Id: 1488623695.2071.4.camel@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH] emerge: auto-enable --with-bdeps if --usepkg is not enabled (bug 598444) by Zac Medico
1 W dniu 04.03.2017, sob o godzinie 02∶30 -0800, użytkownik Zac Medico
2 napisał:
3 > On 03/04/2017 01:59 AM, Michał Górny wrote:
4 > > W dniu 04.03.2017, sob o godzinie 01∶34 -0800, użytkownik Zac Medico
5 > > napisał:
6 > > > It's useful to enable --with-bdeps by default so that @world updates
7 > > > will update all packages that are not eligible for removal by
8 > > > emerge --depclean. However, many users of binary packages do not want
9 > > > unnecessary build time dependencies installed, therefore do not
10 > > > auto-enable --with-bdeps for installation actions when the --usepkg
11 > > > option is enabled.
12 > > >
13 > > > X-Gentoo-bug: 598444
14 > > > X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=598444
15 > > > ---
16 > > > man/emerge.1 | 18 ++-
17 > > > pym/_emerge/create_depgraph_params.py | 4 +
18 > > > pym/_emerge/depgraph.py | 4 +-
19 > > > pym/portage/tests/resolver/ResolverPlayground.py | 5 +
20 > > > pym/portage/tests/resolver/test_bdeps.py | 197 +++++++++++++++++++++++
21 > > > 5 files changed, 223 insertions(+), 5 deletions(-)
22 > > > create mode 100644 pym/portage/tests/resolver/test_bdeps.py
23 > >
24 > > Just to be clear, this will break stuff for people who have more than
25 > > one slot of LLVM enabled since different slots build-depend on colliding
26 > > packages.
27 >
28 > Hmm, that's unfortunate, because putting --with-bdeps=n in
29 > EMERGE_DEFAULT_OPTS is not good for --depclean. I'll have to think about
30 > a better way to handle this case. We've already got a bug open for this
31 > sort of situation here:
32 >
33 > https://bugs.gentoo.org/show_bug.cgi?id=427938
34
35 Eventually I want to try to accept more lit versions for LLVM. However,
36 it kinda fails when LLVM upgrades gtest and lit is bound to a specific
37 output.
38
39 --
40 Best regards,
41 Michał Górny

Attachments

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