When an nptl system tries to emerge kbd-1.12-r2 with linux-headers-2.6.7 installed, kbd emerge fails: 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-r2/work/kbd-1.12/src' gcc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -O3 -march=athlon-tbird -mmmx -m3dnow -pipe -fomit-frame-pointer -DDATADIR=\"/usr/share\" dumpkeys.c In file included from /usr/include/linux/wait.h:13, from /usr/include/linux/keyboard.h:4, from dumpkeys.c:13: /usr/include/linux/pid.h:37: error: syntax error before '(' token /usr/include/linux/pid.h:39: error: syntax error before '(' token /usr/include/linux/pid.h:44: error: syntax error before '(' token /usr/include/linux/pid.h:50: error: syntax error before '(' token /usr/include/linux/pid.h:53: error: syntax error before '(' token make[1]: *** [dumpkeys.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/kbd-1.12-r2/work/kbd-1.12/src' make: *** [all] Error 1 !!! ERROR: sys-apps/kbd-1.12-r2 failed. !!! Function src_compile, Line 60, Exitcode 2 !!! (no error message) Reverting to linux-headers-2.6.6 solves this problem Reproducible: Always Steps to Reproduce: 1. Add "nptl" to USE flags in /etc/make.conf and
When an nptl system tries to emerge kbd-1.12-r2 with linux-headers-2.6.7 installed, kbd emerge fails: 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-r2/work/kbd-1.12/src' gcc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -O3 -march=athlon-tbird -mmmx -m3dnow -pipe -fomit-frame-pointer -DDATADIR=\"/usr/share\" dumpkeys.c In file included from /usr/include/linux/wait.h:13, from /usr/include/linux/keyboard.h:4, from dumpkeys.c:13: /usr/include/linux/pid.h:37: error: syntax error before '(' token /usr/include/linux/pid.h:39: error: syntax error before '(' token /usr/include/linux/pid.h:44: error: syntax error before '(' token /usr/include/linux/pid.h:50: error: syntax error before '(' token /usr/include/linux/pid.h:53: error: syntax error before '(' token make[1]: *** [dumpkeys.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/kbd-1.12-r2/work/kbd-1.12/src' make: *** [all] Error 1 !!! ERROR: sys-apps/kbd-1.12-r2 failed. !!! Function src_compile, Line 60, Exitcode 2 !!! (no error message) Reverting to linux-headers-2.6.6 solves this problem Reproducible: Always Steps to Reproduce: 1. Add "nptl" to USE flags in /etc/make.conf and ¨sys-kernel/linuxheaders -*" to /etc/portage/package.keywords 2. Run bootstrap-2.6.sh 3. Run "emerge system" Actual Results: emerge kbd Calculating dependencies ...done! >>> emerge (1 of 1) sys-apps/kbd-1.12-r2 to / >>> md5 src_uri ;-) kbd-1.12.tar.gz >>> Unpacking source... * Unpacking kbd-1.12.tar.gz * Applying kbd-1.08-terminal.patch... [ ok ] * Applying kbd-1.12-find-map-fix.patch... [ ok ] * Applying kbd-1.12-kbd_repeat-v2.patch... [ ok ] >>> Source unpacked. nls Configuring for PREFIX=/usr Configuring for DATADIR=/usr/share Configuring for MANDIR=/usr/share/man checking for 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-r2/work/kbd-1.12/src' gcc -c -Wall -Wmissing-prototypes -Wstrict-prototypes -O3 -march=athlon-tbird -mmmx -m3dnow -pipe -fomit-frame-pointer -DDATADIR=\"/usr/share\" dumpkeys.c In file included from /usr/include/linux/wait.h:13, from /usr/include/linux/keyboard.h:4, from dumpkeys.c:13: /usr/include/linux/pid.h:37: error: syntax error before '(' token /usr/include/linux/pid.h:39: error: syntax error before '(' token /usr/include/linux/pid.h:44: error: syntax error before '(' token /usr/include/linux/pid.h:50: error: syntax error before '(' token /usr/include/linux/pid.h:53: error: syntax error before '(' token make[1]: *** [dumpkeys.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/kbd-1.12-r2/work/kbd-1.12/src' make: *** [all] Error 1 !!! ERROR: sys-apps/kbd-1.12-r2 failed. !!! Function src_compile, Line 60, Exitcode 2 !!! (no error message) Expected Results: emerge should have succeeded
This one should now be fixed - if you emerge sync and re-merge the headers kbd should build successfully.
Verified to be fixed on my system.
*** Bug 54692 has been marked as a duplicate of this bug. ***
*** Bug 54630 has been marked as a duplicate of this bug. ***
*** Bug 54782 has been marked as a duplicate of this bug. ***