/usr/include/linux/keyboard.h:7:2: warning: #warning Gentoo Linux Headers Warning: GNU Libc Linux Headers Override Detected. /usr/include/linux/keyboard.h:8:2: warning: #warning Gentoo Linux Headers Warning: This is bad. Removing override and continuing. /usr/include/linux/keyboard.h:9:2: warning: #warning Gentoo Linux Headers Warning: If your compilation dies here, mention this when /usr/include/linux/keyboard.h:10:2: warning: #warning Gentoo Linux Headers Warning: filing a bug! this is a brand new x86 stable install.
you didnt post `emerge info` you tool
Created attachment 82289 [details] emerge --info sys-apps/kbd-1.12-r6 too
hppa2.0-unknown-linux-gnu-gcc -c -O2 -pipe -march=2.0 -DDATADIR=\"/usr/share\" loadkeys.c In file included from loadkeys.y:22: /usr/include/linux/keyboard.h:11:2: warning: #warning Gentoo Linux Headers Warning: GNU Libc Linux Headers Override Detected. /usr/include/linux/keyboard.h:12:2: warning: #warning Gentoo Linux Headers Warning: This is bad. Removing override and continuing. /usr/include/linux/keyboard.h:13:2: warning: #warning Gentoo Linux Headers Warning: If your compilation dies here, mention this when /usr/include/linux/keyboard.h:14:2: warning: #warning Gentoo Linux Headers Warning: filing a bug! In file included from /usr/include/linux/bitops.h:77, from /usr/include/linux/thread_info.h:20, from /usr/include/linux/spinlock.h:12, from /usr/include/linux/wait.h:23, from /usr/include/linux/keyboard.h:20, from loadkeys.y:22: /usr/include/asm/bitops.h:265: error: static declaration of 'ffs' follows non-static declaration make[1]: *** [loadkeys.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/kbd-1.12-r6/work/kbd-1.12/src' make: *** [all] Error 1 !!! ERROR: sys-apps/kbd-1.12-r6 failed. Call stack: ebuild.sh, line 1532: Called dyn_compile ebuild.sh, line 929: Called src_compile kbd-1.12-r6.ebuild, line 84: Called die Portage 2.1_pre7-r5 (default-linux/hppa/2005.0, gcc-4.1.0, glibc-2.3.4.20040808-r1, 2.6.16-pa0 parisc) ================================================================= System uname: 2.6.16-pa0 parisc PA8200 (PCX-U+) Gentoo Base System version 1.12.0_pre17 dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="hppa ~hppa" AUTOCLEAN="yes" CBUILD="hppa2.0-unknown-linux-gnu" CFLAGS="-O2 -pipe -march=2.0" CHOST="hppa2.0-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer nodoc noinfo noman sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles http://ftp.belnet.be/pub/mirrors/rsync.gentoo.org/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync/gentoo-portage" USE="hppa bash-completion berkdb crypt curses ldap pam perl python readline snmp ssl tcpd xml elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Note: If you're getting this on anything but hppa remerge linux-headers, no longer a bug.
Fixed in 2.6.11-r5 headers, thanks!