x_keymap.c: In function 'check_for_evdev': x_keymap.c:189: error: 'SDL_SysWMinfo' has no member named 'info' x_keymap.c:195: error: 'SDL_SysWMinfo' has no member named 'info' make[1]: *** [x_keymap.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/app-emulation/kvm-81/work/kvm-81/qemu' make: *** [qemu] Error 2 Reproducible: Always
Created attachment 176058 [details] emerge --info
Same problem here. emerge --info: Portage 2.1.4.5 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r5 x86_64) ================================================================= System uname: 2.6.27-gentoo-r5 x86_64 Intel(R) Xeon(R) CPU X7350 @ 2.93GHz Timestamp of tree: Mon, 22 Dec 2008 08:45:01 +0000 app-shells/bash: 3.2_p33 dev-lang/python: 2.5.2-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.61-r2 sys-devel/automake: 1.7.9-r1, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo " LDFLAGS="-Wl,-O1" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" 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" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl amd64 apache2 berkdb bzip2 cli cracklib crypt dri encode exif expat fortran ftp gd gdbm gif gpm iconv idn imagemagick innodb ipv6 isdnlog jabber jpeg jpeg2k lzo mhash midi mime mmx mudflap multilib mysql ncurses nls nptl nptlonly openmp pam pcre pdf perl php png posix postgres pppd python readline reflection sasl session simplexml snmp soap sockets spl sse sse2 ssl svg sysfs tcpd tidy tiff truetype unicode vhosts xml xorg xsl 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
What version of sdl do you have installed?
media-libs/libsdl 1.2.13
media-libs/libsdl-1.2.13
I had the same fault. I added "X" to my USE flags, recompiled libsdl then compiled kvm. (In reply to comment #5) > media-libs/libsdl-1.2.13 >
Good call. I've added a built_with_use check to 81 and 82.
Not work for me media-libs/libsdl-1.2.13-r1 emerge --info Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r2 x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-r2-x86_64-AMD_Phenom-tm-_II_X4_940_Processor-with-glibc2.2.5 Timestamp of tree: Thu, 05 Mar 2009 06:30:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.6-r1 dev-lang/python: 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.6.3 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-pipe -march=k8 -O2 -msse -msse2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-pipe -march=k8 -O2 -msse -msse2" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://192.168.0.10/gentoo" LDFLAGS="-Wl,-O1 -Wl,-z,now -Wl,--as-needed -Wl,--enable-new-dtags -Wl,--sort-common -s" LINGUAS="en" MAKEOPTS="-j5" 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" SYNC="rsync://192.168.0.10/gentoo-portage" USE="3dnow 3dnowext X a52 aac accessibility acpi alsa amd64 arts bluetooth bzip2 cpudetection crypt custom-cflags custom-cxxflags custom-optimization dbus divx dri dts dvb dvd dvdr dvdread encode ffmpeg flac gif gtk hal hddtemp ipv6 java joystick jpeg jpeg2k kde kdeenablefinal kvm libv4l2 live lm_sensors lzma mad matroska mmap mmx mmxext mng modplug mp3 mpeg multilib network nptl ntplonly ogg openal opengl openmp parted physfs png pulseaudio qt qt3 qt3support qt4 quicktime raster scanner sdl speex sse sse2 sse3 sse4a ssl stream svg theora threads tiff truetype unicode usb v4l v4l2 vorbis wifi wma x264 xcb xcomposite xine xinerama xorg xv xvid xvmc 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="*" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Bugged and tested with kvm-83 kvm-84. Some x11-apps/*, x11-base/*, x11-drivers/*, x11-libs/*, x11-misc/*, x11-proto/* unmasked.
What flags was your libsdl built with?
Same problem here with kvm-84. libsdl-1.2.13-r1 with USE="X aalib alsa esd fbcon libcaca opengl svga xv" emerge --info follows...
Created attachment 185646 [details] emerge --info
Never mind. I did as the libsdl ebuild suggested... "...remerge libsdl with the audio, video, and joystick flags in USE." kvm builds fine now.
(In reply to comment #12) > Never mind. > I did as the libsdl ebuild suggested... > "...remerge libsdl with the audio, video, and joystick flags in USE." > This sounds like kvm could need some use-depend on libsdl[audio,video,joystick] or similar.
Or libsdl should just remove those flags and force them on, since they apparently just invalid all bugs with those clear... I'll play with it a bit when I get a chance to figure out what flags are necessary.