I am installing gentoo on a sun E450 using the 2004.3 livecd. I have partitioned the disks, and installed a stage3 tarball. Now I am trying to install a kernel. However, when I run "emerge sparc-sources", I get this error: Calculating dependencies ...done! >>> emerge (1 of 1) sys-kernel/sparc-sources-2.4.28-r6 to / >>> md5 src_uri ;-) linux-2.4.28.tar.bz2 >>> md5 src_uri ;-) patches-2.4.28-sparc-r6.tar.bz2 * Determining the location of the kernel source code * Unable to find kernel sources at /usr/src/linux * This package requires Linux sources. * Please make sure that /usr/src/linux points at your running kernel, * (or the kernel you wish to build against). * Alternatively, set the KERNEL_DIR environment variable to the kernel sources location !!! ERROR: sys-kernel/sparc-sources-2.4.28-r6 failed. !!! Function get_version, Line 279, Exitcode 0 !!! Cannot locate Linux sources at /usr/src/linux !!! If you need support, post the topmost build error, NOT this status message. But /usr/src is empty, because this is a new installation. Reproducible: Always Steps to Reproduce: 1. Boot from the 2004.3 livecd on a sparc system 2. Partition disks, install a stage3 tarball 3. Follow the instructions to install a new kernel 4. Try to emerge sparc-sources Actual Results: I got the error message described above Expected Results: It should have setup a linux kernel sources directory under /usr/src
Is there something wrong/new with the kernel.eclass? I guess the eclass is making those "checks" because i don't
I have no idea. I am new to gentoo, and I do not know enough about portage and ebuilds to even begin trying to figure out the problem.
Sorry, it wasn't really directed at you. The bug is assigned to sparc@ which means other sparc devs will also see it.
This is fixed now. Sorry for the inconvenience, blame spanky :)
You'll need to "emerge sync" shortly, and then try again.