List Archive: gentoo-dev
Note: Due to technical difficulties, the Archives are currently not up to date.
provides an alternative service for most mailing lists.c.f. bug 424647
2009/3/9 Christian Faulhammer <email@example.com>:
> I don't know if there is a bug somewhere (I did not find one), but
> what about having the possibility to ask for one out many USE flags of
> a dependency. For example app-misc/gramps needs dev-lang/python with
> USE=berkdb or USE=sqlite, but Portage won't tell the user that he can
> enable one but always asks for the first in the || () string.
|| ( dev-lang/python[berkdb] dev-lang/python[sqlite] )
I had a similar case recently and detected another problem if you try
to switch from one possibility to the other.
Say you have python with berkdb compiled to satisfy the dependency and
then set "dev-lang/python -berkdb sqlite" in package.use. After this
world dependency calculation will fail.
The only way I found to get around this is to recompile python with
the new use flags first. Afterwards dependency calculation succeeds.