- reemerging fails with the following error message * Messages for package app-emulation/qemu-kvm-1.0-r3: * If you have an Intel CPU, you must enable KVM_INTEL in your kernel configuration. * Please check to make sure these options are set correctly. * Failure to do so may cause unexpected problems. * Once you have satisfied these options, please try merging * this package again. * ERROR: app-emulation/qemu-kvm-1.0-r3 failed (pretend phase): * Incorrect kernel configuration options * * Call stack: * ebuild.sh, line 85: Called pkg_pretend * qemu-kvm-1.0-r3.ebuild, line 163: Called check_extra_config * linux-info.eclass, line 783: Called die * The specific snippet of code: * die "Incorrect kernel configuration options" * * If you need support, post the output of 'emerge --info =app-emulation/qemu-kvm-1.0-r3', * the complete build log and the output of 'emerge -pqv =app-emulation/qemu-kvm-1.0-r3'. * The complete build log is located at '/var/tmp/portage/app-emulation/qemu-kvm-1.0-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/qemu-kvm-1.0-r3/temp/die.env'. * S: '/var/tmp/portage/app-emulation/qemu-kvm-1.0-r3/work/qemu-kvm-1.0' - last successfull (re)emerge of app-emulation/qemu-kvm-1.0-r3 was on 2/28/2012 - i'm running the same kernel configuration since hardened sources 3.2.0 Reproducible: Always Steps to Reproduce: 1.sync the current portage tree 2.have an existing kernel config with KVM_INTEL not enabled but the relevant AMD KVM options enabled 3.try to (re)emerge app-emulation/qemu-kvm-1.0-r3 Actual Results: (re)emerging fails with an error due to not enabled KVM_INTEL Kernel option Expected Results: (re)emerging succeeds mainframe ~ # emerge --info Portage 2.1.10.44 (hardened/linux/amd64, gcc-4.5.3, glibc-2.13-r4, 3.2.7-hardened-v1 x86_64) ================================================================= System uname: Linux-3.2.7-hardened-v1-x86_64-AMD_FX-tm-6100_Six-Core_Processor-with-gentoo-2.0.3 Timestamp of tree: Thu, 08 Mar 2012 06:45:01 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3, 3.2.2 dev-util/cmake: 2.8.6-r4 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.5-r2 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 3.1 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo x-portage ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=amdfam10 -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=amdfam10 -O2 -pipe -mno-3dnow" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=amdfam10 -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=amdfam10 -O2 -pipe -mno-3dnow" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.halifax.rwth-aachen.de/gentoo/ rsync://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://ftp-stud.hs-esslingen.de/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/" LANG="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de en" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync1.de.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 apng bash-completion berkdb branding bzip2 cairo cdr clamav cli consolekit cracklib crypt css cups cxx dbus device-mapper dri dts dvd dvdr encode exif extras ffmpeg firefox flac fontconfig ftp gdbm gdu gif gnutls gpm gtk gudev gzip hardened iconv icu ieee1394 imap imlib ipv6 java java6 javascript jit jpeg jpeg2k justify lame llvm lm_sensors lock lvm lzma lzo mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp pam pax_kernel pcre pdf perl png policykit posix pppd python qemu quicktime raw readline sdl session smp sockets socks5 sound speex sse sse2 sse3 sse4_1 sse4a ssl startup-notification subversion svg sysfs syslog-ng tcpd theora threads thunar tiff truetype udev unicode urandom usb virt-network vorbis win32 wmf x264 xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS mainframe ~ # grep -i intel /boot/kernel-3.2.config CONFIG_X86_INTEL_USERCOPY=y # CONFIG_CPU_SUP_INTEL is not set # CONFIG_X86_MCE_INTEL is not set # CONFIG_MICROCODE_INTEL is not set CONFIG_INTEL_MID_PTI=m CONFIG_NET_VENDOR_INTEL=y # CONFIG_HW_RANDOM_INTEL is not set CONFIG_I2C_INTEL_MID=y CONFIG_SND_HDA_INTEL=y # CONFIG_SND_INTEL8X0 is not set # CONFIG_SND_INTEL8X0M is not set # CONFIG_INTEL_IOMMU is not set CONFIG_CRYPTO_CRC32C_INTEL=y CONFIG_CRYPTO_GHASH_CLMUL_NI_INTEL=y CONFIG_CRYPTO_AES_NI_INTEL=y # CONFIG_KVM_INTEL is not set mainframe ~ # grep -i kvm /boot/kernel-3.2.config CONFIG_HAVE_KVM=y CONFIG_HAVE_KVM_IRQCHIP=y CONFIG_HAVE_KVM_EVENTFD=y CONFIG_KVM_APIC_ARCHITECTURE=y CONFIG_KVM_MMIO=y CONFIG_KVM_ASYNC_PF=y CONFIG_KVM=y # CONFIG_KVM_INTEL is not set CONFIG_KVM_AMD=y
Forgot to add. I don't want to enable the Intel specfic KVM options on this system because of this is an AMD (FX-6100 + asrock 970 extreme3 board) only build beside of the Intel network card.
Fixed in tree.
I confirm the issue has been fixed. Thank you very much for the quick help.