x11-drivers/xf86-input-virtualbox-2.2.4 failed to compiled due to series of header error Reproducible: Always Steps to Reproduce: 1. emerge =xf86-input-virtualbox-2.2.4 Actual Results: ... string.h:1705: error: initializer expression list treated as compound expression /var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.2.4/work/VirtualBox-2.2.4_OSE/include/iprt/string.h:1716: error: ‘RTUNICP’ does not name a type /var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.2.4/work/VirtualBox-2.2.4_OSE/include/iprt/string.h:1729: error: ‘PCRTUTF16’ was not declared in this scope /var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.2.4/work/VirtualBox-2.2.4_OSE/include/iprt/string.h:1729: error: ‘ppwsz’ was not declared in this scope /var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.2.4/work/VirtualBox-2.2.4_OSE/include/iprt/string.h:1729: error: ‘PRTUNICP’ was not declared in this scope /var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.2.4/work/VirtualBox-2.2.4_OSE/include/iprt/string.h:1729: error: initializer expression list treated as compound expression /var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.2.4/work/VirtualBox-2.2.4_OSE/include/iprt/string.h:1747: error: ‘PRTUTF16’ does not name a type /var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.2.4/work/VirtualBox-2.2.4_OSE/include/iprt/string.h:1759: error: ‘RTUNICP’ does not name a type /var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.2.4/work/VirtualBox-2.2.4_OSE/include/iprt/string.h:1779: error: ‘RTUtf16GetCpEx’ declared as an ‘inline’ variable /var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.2.4/work/VirtualBox-2.2.4_OSE/include/iprt/string.h:1779: error: ‘PCRTUTF16’ was not declared in this scope /var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.2.4/work/VirtualBox-2.2.4_OSE/include/iprt/string.h:1779: error: ‘ppwsz’ was not declared in this scope /var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.2.4/work/VirtualBox-2.2.4_OSE/include/iprt/string.h:1779: error: ‘PRTUNICP’ was not declared in this scope /var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.2.4/work/VirtualBox-2.2.4_OSE/include/iprt/string.h:1779: error: initializer expression list treated as compound expression /var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.2.4/work/VirtualBox-2.2.4_OSE/include/iprt/string.h:1780: error: expected ‘,’ or ‘;’ before ‘{’ token /var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.2.4/work/VirtualBox-2.2.4_OSE/src/VBox/Runtime/common/alloc/heapsimple.cpp:942: error: expected `}' at end of input kmk: *** [/var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.2.4/work/VirtualBox-2.2.4_OSE/out/linux.amd64/release/obj/RuntimeGuestR0/common/alloc/heapsimple.o] Error 1 The failing command: @g++ -c -O2 -nostdinc -iwithprefix include -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -Wno-sign-compare -fno-stack-protector -O2 -mtune=generic -fno-omit-frame-pointer -fno-strict-aliasing -fno-common -m64 -mno-red-zone -mcmodel=kernel -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-reorder-blocks -fno-asynchronous-unwind-tables -funit-at-a-time -Wno-sign-compare -fno-exceptions -fno-rtti -I/var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.2.4/work/VirtualBox-2.2.4_OSE/src/VBox/Runtime/r0drv/linux -I/var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.2.4/work/VirtualBox-2.2.4_OSE/src/VBox/Runtime -I/var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.2.4/work/VirtualBox-2.2.4_OSE/src/VBox/Runtime/include -I/lib/modules/2.6.29-gentoo-r3/build/include -I/lib/modules/2.6.29-gentoo-r3/build/include/asm-i386/mach-default -I/lib/modules/2.6.29-gentoo-r3/build/include/asm-x86/mach-default -I/lib/modules/2.6.29-gentoo-r3/build/arch/x86/include -I/lib/modules/2.6.29-gentoo-r3/build/arch/x86/include/asm/mach-default -I/lib/modules/2.6.29-gentoo-r3/build/include -I/var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.2.4/work/VirtualBox-2.2.4_OSE/include -I/var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.2.4/work/VirtualBox-2.2.4_OSE/out/linux.amd64/release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_HARDENING -DRT_OS_LINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_AMD64 -D__AMD64__ -D__KERNEL__ -DMODULE -DIN_RING0 -DIN_RT_R0 -DIN_GUEST -DIN_GUEST_R0 -DIN_RT_R0 -DRT_WITH_VBOX -DRT_WITHOUT_NOCRT_WRAPPERS -DMODULE -DKBUILD_MODNAME=KBUILD_STR\(vboxdrv\) -DKBUILD_BASENAME=KBUILD_STR\(vboxdrv\) -DIN_SUP_R0 -Wp,-MD,/var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.2.4/work/VirtualBox-2.2.4_OSE/out/linux.amd64/release/obj/RuntimeGuestR0/common/alloc/heapsimple.o.dep -Wp,-MT,/var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.2.4/work/VirtualBox-2.2.4_OSE/out/linux.amd64/release/obj/RuntimeGuestR0/common/alloc/heapsimple.o -Wp,-MP -o /var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.2.4/work/VirtualBox-2.2.4_OSE/out/linux.amd64/release/obj/RuntimeGuestR0/common/alloc/heapsimple.o /var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.2.4/work/VirtualBox-2.2.4_OSE/src/VBox/Runtime/common/alloc/heapsimple.cpp kmk: *** Exiting with status 2 * * ERROR: x11-drivers/xf86-input-virtualbox-2.2.4 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3200: Called die * The specific snippet of code: * MAKE="kmk" emake TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" || die "kmk failed"; * The die message: * kmk failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/x11-drivers:xf86-input-virtualbox-2.2.4:20090605-012512.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/xf86-input-virtualbox-2.2.4/temp/environment'. *
Created attachment 193602 [details] emerge log $ emerge --info Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-gentoo-r3 x86_64) ================================================================= System uname: Linux-2.6.29-gentoo-r3-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-2.0.1 Timestamp of tree: Thu, 04 Jun 2009 05:30:02 +0000 app-shells/bash: 4.0_p24 dev-java/java-config: 2.1.8 dev-lang/python: 2.6.2-r1 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.29 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en ja zh zh_CN zh_TW en_US en_GB" MAKEOPTS="-j3 --load-average" 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 /usr/local/portage/layman/gentoo-china /usr/local/portage/layman/gentoo-taiwan /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/java-overlay /usr/local/portage/layman/sunrise" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X Xaw3d a52 aac aalib acl acpi aim alsa amd64 apache2 audiofile avahi bash-completion bcmath berkdb bidi bittorrent blas bluetooth bzip2 cairo calendar canna caps cdaudio cddb cdparanoia cdr cjk clamav cli cracklib crypt cscope css ctype cups curl curlwrappers cvs cxx dbus dbx dga directfb djvu dri dts dv dvb dvd dvdr dvdread dvi eds encode enscript evo exif expat fam fastcgi fbcon ffmpeg fftw firefox flac flash fontconfig foomaticdb fortran freetds freewnn ftp fuse gd gdbm ginac git glib glitz glut gnome gnome-keyring gnuplot gnutls gphoto2 gpm gps gs gsl gstreamer gtk gtkhtml gzip hal htmlhandbook httpd iconv icq idn ieee1394 imagemagick imap imlib immqt-bc innodb ipod ipv6 isdnlog jabber java java5 java6 javascript jingle joystick jpeg jpeg2k kde4 kpathsea lame lash latex lcms libcaca libgda libnotify libwww lm_sensors lyx lzo m17n-lib mad matroska midi mime mmx mmxext mng modplug motif mp3 mp4 mpeg mplayer msn mudflap multilib musepack musicbrainz mysql mysqli nautilus ncurses neXt netboot nis nls nntp nptl nptlonly nsplugin odbc ofx ogg openal openexr opengl openmp osc oscar pae pam pch pcre pda pdf perl php plasma plotutils png posix postgres ppds pppd python qq qt3support qt4 quicktime readline recode reflection rss ruby samba scanner sdl semantic-desktop session simplexml slang sndfile sockets socks5 speex spell spl sqlite sqlite3 sse sse2 ssl subversion svg sysfs t1lib taglib tcl tcpd theora threads tidy tiff timidity tk tokenizer truetype tta unicode upnp usb v4l v4l2 vcd vhosts videos vim-syntax vorbis wavepack wddx webkit wlm wma wmf wmp wxwindows x264 x86emu xcb xcomposite xforms xft xine xinerama xml xmlrpc xorg xosd xsl xulrunner xv xvid yahoo yaz zip zlib" ALSA_CARDS="emu10k1 emu10k1x" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse wacom virtualbox vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ja zh zh_CN zh_TW en_US en_GB" USERLAND="GNU" VIDEO_CARDS="radeon vesa vga fbdev virtualbox vmware" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Methinks this is a dupe: http://bugs.gentoo.org/show_bug.cgi?id=273817 Seeing how we all have glibc-2.10.1 in common, it really seems to be the culprit here.
3.0.4 is current unstable, 2.x has gone