public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Looking for a generic solution to non-USE-conditional circular deps
@ 2015-04-11 12:28 Michał Górny
  2015-04-11 13:33 ` Kent Fredric
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Michał Górny @ 2015-04-11 12:28 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1311 bytes --]

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 949 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2015-04-14 17:10 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-11 12:28 [gentoo-dev] Looking for a generic solution to non-USE-conditional circular deps Michał Górny
2015-04-11 13:33 ` Kent Fredric
2015-04-11 14:00 ` Pacho Ramos
2015-04-11 14:11   ` Michał Górny
2015-04-11 14:23   ` James Le Cuirot
2015-04-11 16:05     ` Peter Stuge
2015-04-11 17:14     ` Michał Górny
2015-04-13 17:29       ` Ian Stakenvicius
2015-04-11 14:19 ` Ciaran McCreesh
2015-04-11 14:37   ` Andreas K. Huettel
2015-04-11 15:09     ` Kent Fredric
2015-04-13  6:36       ` [gentoo-dev] " Duncan
2015-04-13 16:49         ` Ciaran McCreesh
2015-04-14  2:42           ` Duncan
2015-04-14  6:34         ` Michał Górny
2015-04-11 16:50     ` [gentoo-dev] " Jorge Manuel B. S. Vicetto
2015-04-14  7:47       ` Michał Górny
2015-04-14 17:09         ` Jorge Manuel B. S. Vicetto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox