The profile for ppc64-linux specifies ACCEPT_KEYWORDS="-ppc64 ~ppc64-linux **". This causes dev-vcs/mercurial-9999 to be pulled into the dependency graph, which requires that it be already installed in order to build itself. darkside and I had a chat about this in IRC before the profile was committed. He suggested that I use ~*, which fixes this issue, but it appears that ** was committed by mistake. Please recommit with ~*.
Note that this issue should also affect arm-linux, so a similar change should be committed for that as well.
Slipped my mind. Thanks. + 09 Mar 2012; Jeremy Olexa <darkside@gentoo.org> linux/arm/make.defaults, + linux/ppc64/make.defaults: + Don't set ACCEPT_KEYWORDS to **, use ~*. bug 407499