Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93940 - kbd-1.12-r5 compilation fails
Summary: kbd-1.12-r5 compilation fails
Status: RESOLVED DUPLICATE of bug 89836
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 93941 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-25 06:52 UTC by Valentin Longchamp
Modified: 2005-05-25 07:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Valentin Longchamp 2005-05-25 06:52:03 UTC
When I emerge the the kbd package, compilation fails. According to the warning
above it seems that there is a problem with the kernel headers !

Reproducible: Always
Steps to Reproduce:
1. only emerge kbd




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-r5/work/kbd-1.12/src'
i686-pc-linux-gnu-gcc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -O2
-march=pentium-m -fomit-frame-pointer -DDATADIR=\"/usr/share\" dumpkeys.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]: Leaving directory `/var/tmp/portage/kbd-1.12-r5/work/kbd-1.12/src'
make: *** [all] Error 1

!!! ERROR: sys-apps/kbd-1.12-r5 failed.
!!! Function src_compile, Line 75, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.11-cj5 i686)

Linux centrino 2.6.11-cj5 #1 Wed May 25 11:37:13 CEST 2005 i686 Intel(R)
Pentium(R) M processor 1600MHz GenuineIntel GNU/Linux

CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo \
                ftp://ftp.solnet.ch/mirror/Gentoo"

USE="acpi aredmem crd divx4linux dvd ftp gphoto2 hal icq mmx nptl nptlonly \
     pda posix sse sse2 usb xvid -arts -kde -qt -xmms"
PORTDIR_OVERLAY="/usr/local/portage"
ACCEPT_KEYWORDS="~x86"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-05-25 07:09:15 UTC
*** Bug 93941 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-05-25 07:10:57 UTC
Step 1 - search for your bug

*** This bug has been marked as a duplicate of 89836 ***