On Thu, Mar 14, 2013 at 10:43 PM, Neil Bothwick <[email protected]> wrote:
> On Thu, 14 Mar 2013 21:40:49 +0800, Mark David Dumlao wrote:
>
>> > Or, try remove LDAP, NIS and PAM support for auth from a RHEL machine
>> > to test if it works without those things in place.
>> > RHEL? Impossible.
>> > Gentoo? Trivially easy.
>
>> "Trivially easy", of course, means an emerge -euDNtv world && emerge
>> -ctv && revdep-rebuild -i && revdep-rebuild ... ehehehe
>
> There's no need to rebuild everything, and those other flags make no
> sense when using -e. Generally you only need
>
> emerge -uaD --changed-use @world
>

I know that, in general principle. But it's a test environment. I'd
assume stricter standards of "purity" there than elsewhere. simply
going by changed-use can break some library dependencies. We need to
use depclean to remove build deps junk after the emptytree, and we're
revdep-rebuilding twice in case the depclean borked something. (To be
really strict, revdep-rebuild should be repeated until it stops
building things...)

Heck in some setups empty-tree will simply fail thanks to circular
deps of the global use flags and you'll need manual intervention to
bootstrap a package with less USE...

Reply via email to