emerge -uD world fails on kbd-1.12 >>> Source unpacked. Configuring for PREFIX=/usr Configuring for DATADIR=/usr/share Configuring for MANDIR=/usr/share/man checking for gcc gcc is /usr/lib/ccache/bin/gcc You have <locale.h> You have <libintl.h> and gettext() Assuming that you want to enable NLS support. (Otherwise, edit defines.h and delete the line with ENABLE_NLS) Done. You can run make now. for i in src openvt po data; do make -C $i all || exit 1; done make[1]: Entering directory `/var/tmp/portage/kbd-1.12-r4/work/kbd-1.12/src' x86_64-pc-linux-gnu-gcc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -march=k8 -O2 -pipe -fomit-frame-pointer -DDATADIR=\"/usr/share\" dumpkeys.c x86_64-pc-linux-gnu-gcc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -march=k8 -O2 -pipe -fomit-frame-pointer -DDATADIR=\"/usr/share\" ksyms.c In file included from dumpkeys.c:13: /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! In file included from /usr/include/linux/keyboard.h:11, from dumpkeys.c:13: /usr/include/linux/types.h:182: error: redefinition of `struct ustat' make[1]: *** [dumpkeys.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/kbd-1.12-r4/work/kbd-1.12/src' make: *** [all] Error 1 !!! ERROR: sys-apps/kbd-1.12-r4 failed. !!! Function src_compile, Line 69, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. emerge -uD world 2. emerge kbd 3. Portage 2.0.51.21-r1 (default-linux/amd64/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11.6-grsec-vs1.9.5 x86_64) ================================================================= System uname: 2.6.11.6-grsec-vs1.9.5 x86_64 AMD Athlon(tm) 64 Processor 3400+ Gentoo Base System version 1.6.11 ccache version 2.4 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.7 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache digest distlocks getbinpkg sandbox strict" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/distfiles/PACKAGES" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="amd64 acpi alsa berkdb bitmap-fonts crypt esd font-server fortran gif gpm gtk imlib ipv6 jp2 jpeg lzw lzw-tiff mp3 ncurses nls opengl oss pam perl png python readline ssl tcpd tiff truetype truetype-fonts type1-fonts usb userlocales vserver xml2 xpm xrandr xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
*** This bug has been marked as a duplicate of 89836 ***