Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101427 - dev-java/jss-3.4 fails when no kernel sources are installed
Summary: dev-java/jss-3.4 fails when no kernel sources are installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-05 05:12 UTC by Josh Nichols (RETIRED)
Modified: 2005-08-05 09:11 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 Josh Nichols (RETIRED) gentoo-dev 2005-08-05 05:12:07 UTC
If no kernel sources are installed, I get the error:
../coreconf/config.mk:67: ../coreconf/Linux2.6.mk: No such file or directory
../coreconf/config.mk:167: no file name for `-include'
make: *** No rule to make target ../coreconf/Linux2.6.mk.  Stop.
make: *** [../coreconf/Linux2.6.mk] Error 1

Installing gentoo-sources fixes this problem. The problem is that the ebuild
uses the KV variable without doing a check_KV to die if it is not defined. It
would probably also be useful to depend on some kernel sources if there's a
virtual for it.

Note: although it is the same error as bug #98374, it's because of a different
reason.
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2005-08-05 09:11:05 UTC
The ebuild now inherits linux-info.eclass so the ebuild will fail if it can't
find kernel sources. Thanks for the report. Please reopen if the problem is not
solved.  I did not add a DEPEND on linux-sources because your system profile
should always have linux-sources.  
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2005-08-05 09:11:32 UTC
And once again I forgot to mark as FIXED. Sorry about the noise.