Code listing 3.11: Recompile all dependencies too # emerge --update world --emptytree On my box using Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r6-test), that command reports this: $ emerge -vpu world --emptytree !!! Error: --emptytree is an invalid option. Changed to "emerge -vp --emptytree -u world" and it worked fine. Reproducible: Always Steps to Reproduce: 1. 2. 3.
a) order of options/arguments for emerge is not important, so that would be a portage bug b) copy+pasted your command, worked here (not -r15 here, but the option parser wasn't changed), so are you sure that you typed it correctly ? (I still see a small doc bug as --update is redundant when used in combination with --emptytree)
I did an "emerge -u system" earlier and now I can't reproduce it. Oh well. I guess this can be set to WORKSFORME. Strange. Thanks.
On popular request :)