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

Bug 656

Summary: Environment variable not set when calling emerge with "--buildpkg"
Product: Portage Development Reporter: Holger Benl <holger.benl>
Component: UnclassifiedAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Holger Benl 2002-02-11 12:29:39 UTC
When I do "emerge --buildpkg alsa-driver", it fails. Reason: the environment
variable $KV isn't set and so emerge tries "./configure
--with-kernel=/usr/src/linux- --with-.....", which fails. When I do "emerge
alsa-driver", everything works fine.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-02-11 13:23:32 UTC
Bevin, what do you think about adding a standard KV variable to portage that's
always defined as the version of the /usr/src/linux symlink, or "" if no such
link exists?  That would come in handy.
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-02-20 00:23:55 UTC
should be fixed on cvs now.  Fixed existing file without bumping rev.  Thanks
for the bug report.