Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 90261

Summary: kbd won't compile using linux-headers-2.6.11
Product: Gentoo Linux Reporter: Markus Rothe (RETIRED) <corsair>
Component: Current packagesAssignee: Tim Yamin (RETIRED) <plasmaroo>
Status: RESOLVED FIXED    
Severity: enhancement CC: omkhar, ppc64
Priority: High    
Version: 2005.0   
Hardware: PPC64   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: kbd-1.12-r3-output.txt
Patch
Patch
kbd-1.12-r4-output.txt

Description Markus Rothe (RETIRED) gentoo-dev 2005-04-24 10:28:26 UTC
Hi,

kbd-1.12-r3 (current stable one on ppc64) won't compile if I use linux-headers-2.6.11. output follows.

Best regards,

Markus
Comment 1 Markus Rothe (RETIRED) gentoo-dev 2005-04-24 10:28:49 UTC
Created attachment 57101 [details]
kbd-1.12-r3-output.txt
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2005-04-24 12:05:41 UTC
Hi; could you please run:

grep u64 /usr/include/asm/iSeries/HvCallSc.h | head -n 1

Thanks.
Comment 3 Markus Rothe (RETIRED) gentoo-dev 2005-04-25 00:08:35 UTC
# grep u64 /usr/include/asm/iSeries/HvCallSc.h | head -n 1
u64 HvCall0( __u64 );
#
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2005-04-25 12:24:07 UTC
Created attachment 57211 [details, diff]
Patch

Hiya, can you please try this patch on kernel-2.eclass; remerge linux-headers
and see how the compile goes after that. Thanks.
Comment 5 Tim Yamin (RETIRED) gentoo-dev 2005-04-25 12:24:52 UTC
Comment on attachment 57211 [details, diff]
Patch

>Index: kernel-2.eclass
>===================================================================
>RCS file: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v
>retrieving revision 1.122
>diff -u -r1.122 kernel-2.eclass
>--- kernel-2.eclass	14 Apr 2005 11:00:34 -0000	1.122
>+++ kernel-2.eclass	25 Apr 2005 19:22:10 -0000
>@@ -855,6 +855,7 @@
> 		-e "s/\([ "$'\t'"]\)s64\([ "$'\t'"]\)/\1__s64\2/g;" \
> 		-e 's/ \(u\|s\)\(8\|16\|32\|64\)$/ __\1\2/g' \
> 		-e 's/\([(, ]\)\(u\|s\)64\([, )]\)/\1__\264\3/g' \
>+		-e "s/^\(u\|s\)\(8\|16\|32\|64\)\([ "$'\t'"]\)/__\1\2\3/g;" \
> 		"$@"
> }
>
Comment 6 Tim Yamin (RETIRED) gentoo-dev 2005-04-25 12:25:58 UTC
Created attachment 57212 [details, diff]
Patch

Whoops, forgot to add on a trailing \
Comment 7 Markus Rothe (RETIRED) gentoo-dev 2005-04-27 00:30:25 UTC
Created attachment 57359 [details]
kbd-1.12-r4-output.txt

there are less errors, but it will still not compile..

(I'm now trying to compile -r4, as this is the latest version stable now)
Comment 8 Tim Yamin (RETIRED) gentoo-dev 2005-05-06 17:41:34 UTC
*** Bug 91723 has been marked as a duplicate of this bug. ***
Comment 9 Tim Yamin (RETIRED) gentoo-dev 2005-05-09 10:39:45 UTC
Fixed in CVS - please emerge sync and remerge headers; reopen bug if issue still persists. Thanks.