Calculating dependencies !!! Parse error in '/var/db/pkg/sys-kernel/git-sources-3.12_rc1/CONTENTS' !!! line 47480: Unrecognized CONTENTS entry !!! line 47481: Unrecognized CONTENTS entry ... done! The last lines of that CONTENTS are: sym /usr/src/linux-3.12-rc1/arch/arm/boot/dts/include/dt-bindings -> ../../../../../include/dt-bindings 1378154770 sym /usr/src/linux-3.12-rc1/arch/mips/boot/dts/include/dt-bindings -> ../../../../../include/dt-bindings 1379438418 (If bugzilla changes the layout: The arm symlink is correctly all in one line, while the timestamp of the mips symlink gets put onto the next line) The source of this problem is, that Linus somehow managed to get a linebreak at the end of that symlink target. Which is wrong because it breaks that link, but portage should either reject the merging of such a link or not corrupt its database. Just installing =sys-kernel/git-sources-3.12_rc1 should be enough to reproduce this bug.
This is fixed in git: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=b7c7b359af59d857c0c0c64e99cec623df97c137
This is fixed in 2.2.7.