Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 503970

Summary: sys-kernel/spl-0.6.2-r3 with hardened-sources-3.13.5-r1 - configure:18018: error: *** Cannot find UTS_RELEASE definition.
Product: Gentoo Linux Reporter: andros
Component: [OLD] Core systemAssignee: Richard Yao (RETIRED) <ryao>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: config.log

Description andros 2014-03-09 10:43:01 UTC
Created attachment 372186 [details]
config.log

I get allways this with kernekl 3.13:
*checking kernel source version... Not found
*configure: error: *** Cannot find UTS_RELEASE definition.

I have tried 
chmod -R go+rX /usr/src
and
chown root:portage /usr/src/* -R

To build the kernel I use:

genkernel all --zfs --callback="emerge sys-kernel/spl sys-fs/zfs-kmod" --loglevel=5

And this same line works just fine with linux-3.10.1-hardened-r1!
Comment 1 Chris Slycord 2014-04-19 01:00:46 UTC
I get the same error with sys-kernel/aufs-sources-3.14.0
Comment 2 Richard Yao (RETIRED) gentoo-dev 2014-06-24 16:54:14 UTC
I usually take care of non-packaging ZFS-related bugs at the upstream tracker as it gets more eye balls on problems. An unfortunate consequence of that is that this slipped through the deluge of bug mail that I receive. I am usually available and responsive on IRC, which tends to make matters worse as users cut into the front of the line by pinging me there.

That being said, you likely need to build your kernel sources first. Did you do that?