Hello,

I know of two cases of circular deps that can be solved -- as far as I
know -- only by bundling:

1. dev-util/pkgconfig <-> dev-libs/glib:2,

2. dev-util/cmake <-> dev-libs/jsoncpp.

The former is solved via having USE=internal-glib on pkgconfig,
the latter is yet unsolved [1].

I suspect we can expect more of this kind of issues in non-systemd
world over time, and I feel like it'd be good to develop a generic
policy for handling them. Something that could avoid having users go
through this on a case-by-case basis.

I think the simplest solution would be to develop a generic USE flag
that would only serve the purpose of forcing bundled dependencies for
bootstrapping/initial install.

We have already:

build - !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used for
creating build images and the first half of bootstrapping [make stage1]

bootstrap - !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used
during original system bootstrapping [make stage2]

However, since both are marked for 'internal use only', I don't think
it's a good idea to use them here. So I guess we need a new flag. Does
anyone have suggestions how to name it?

Any other ideas?

[1]:https://bugs.gentoo.org/show_bug.cgi?id=546130

-- 
Best regards,
Michał Górny

Attachment: pgpJaQsz5XcbI.pgp
Description: OpenPGP digital signature

Reply via email to