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
(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:
This is fixed in 2.2.7.