/usr/src/linux was suddenly without a makefile. After a bit of snooping, I discovered that the symlink wasn't updated, and was pointing to an old version of the kernel. Happened when updating from 2.6.36-r5 to 2.6.37-r2 Reproducible: Didn't try Steps to Reproduce: $ cd /usr/src/linux Actual Results: I was in /usr/src/linux-2.6.36-gentoo-r5 Expected Results: I should have been in /usr/src/linux-2.6.37-gentoo-r2 I flagged it as x86 though it may apply to other architectures as well. I'm not entirely sure how Portage handles ebuilds between architectures.
Did you use USE=symlink?
...I admit to not checking to see if that was a USE flag. tbh I kind of expected it to do that by default.