I'm trying to build a router box based on uclibc and other embedded libraries/utils and just after downloading-unpacking-stage2 tarball I tried to emerge dev-libs/uclibc-0.9.26-r1 Ebuild fails complaining that kernel source is broken and it cannot find /usr/src/linux/Makefile or /usr/src/linux/include/linux/version.h Reproducible: Always Steps to Reproduce:
emerging development-sources fixed this problem.
Yeah thats is logical.. You need some sort of headers to make it happy. Note: you will probably want to hold off a little while on trying to use gentoo to build a uclibc based router. Reason is >0.9.21 no longer uses internal wrappers which now means that you have to bootstrap a uclibc toolchain and that functionaliy is not fully in portage yet. If your the development type you can probably get your goal done done using some of this http://dev.gentoo.org/~solar/uclibc/peter_mirror/ from Peter S. Mazinger I'll add a dep of some headers/kernel when we merge Peter patches for uclibc.
Ok I'm closing as CANTFIX as the problem was on your end and we can't fix your computer from here. Glad you got it resolved.