Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78489 - emerge of sparc-sources 2.4.28-r6 fails during install
Summary: emerge of sparc-sources 2.4.28-r6 fails during install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: Sparc Linux
: High normal (vote)
Assignee: Sparc Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-18 02:52 UTC by Anand Buddhdev
Modified: 2005-01-18 14:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anand Buddhdev 2005-01-18 02:52:49 UTC
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
Comment 1 Christian Birchinger (RETIRED) gentoo-dev 2005-01-18 03:27:37 UTC
Is there something wrong/new with the kernel.eclass? I guess the eclass is making
those "checks" because i don't
Comment 2 Anand Buddhdev 2005-01-18 04:07:14 UTC
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.
Comment 3 Christian Birchinger (RETIRED) gentoo-dev 2005-01-18 04:14:24 UTC
Sorry, it wasn't really directed at you. The bug is assigned to sparc@ which means other sparc devs will also see it.
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2005-01-18 14:21:56 UTC
This is fixed now. Sorry for the inconvenience, blame spanky :)
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2005-01-18 14:22:24 UTC
You'll need to "emerge sync" shortly, and then try again.