Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 247854 - app-emulation/kvm-79 - test of CONFIG_KVM should be CONFIG_HAVE_KVM
Summary: app-emulation/kvm-79 - test of CONFIG_KVM should be CONFIG_HAVE_KVM
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Gryniewicz (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-21 01:03 UTC by Chris Smith
Modified: 2008-11-21 14:22 UTC (History)
1 user (show)

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 Chris Smith 2008-11-21 01:03:34 UTC
genkernel kernel, 2.6.25-gentoo-r9, provided .config has

  CONFIG_HAVE_KVM=y

provided use flags are modules -havekernel, attempt to emerge kvm says

  [ebuild     U ] app-emulation/kvm-79 [78] USE="-havekernel*" 

   * ERROR: app-emulation/kvm-79 failed.
   * Call stack:
   *               ebuild.sh, line   49:  Called pkg_setup
   *           kvm-79.ebuild, line   63:  Called die
   * The specific snippet of code:
   *   			die "KVM support not detected!"

Adding the line 
  CONFIG_HAVE_KVM=y
+ CONFIG_KVM=y

produces a successful build.





Reproducible: Always
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2008-11-21 14:22:27 UTC
CONFIG_HAVE_KVM isn't the config you need.  You actually have to build the kvm module itself (CONFIG_KVM) to get some symbols built in that kvm needs to have to build *it's* modules.  I don't think a standard genkernel provided .config is sufficient, hence the check.