Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54531 - linux-headers-2.6.7 break kbd-1.12-r2 ebuild
Summary: linux-headers-2.6.7 break kbd-1.12-r2 ebuild
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
: 54692 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-20 09:45 UTC by Vincent van de Camp
Modified: 2004-06-24 16:34 UTC (History)
3 users (show)

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 Vincent van de Camp 2004-06-20 09:45:06 UTC
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 
Comment 1 Vincent van de Camp 2004-06-20 09:45:06 UTC
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
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2004-06-20 12:20:25 UTC
This one should now be fixed - if you emerge sync and re-merge the headers kbd should build successfully.
Comment 3 Vincent van de Camp 2004-06-21 14:57:48 UTC
Verified to be fixed on my system.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2004-06-21 15:17:48 UTC
*** Bug 54692 has been marked as a duplicate of this bug. ***
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2004-06-21 15:18:08 UTC
*** Bug 54630 has been marked as a duplicate of this bug. ***
Comment 6 SpanKY gentoo-dev 2004-06-24 16:34:09 UTC
*** Bug 54782 has been marked as a duplicate of this bug. ***