Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159671 - x11-base/xorg-server-1.1.1 fails on sparc with sanitized headers
Summary: x11-base/xorg-server-1.1.1 fails on sparc with sanitized headers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Sparc Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks: sane-linux-headers
  Show dependency tree
 
Reported: 2007-01-01 20:14 UTC by SpanKY
Modified: 2007-01-22 05:59 UTC (History)
1 user (show)

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


Attachments
Patch to get rid of asm/kbio.h (xorg-server-1.1.1-sparc-includes.patch,1.19 KB, patch)
2007-01-19 14:39 UTC, Gustavo Zacarias (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2007-01-01 20:14:19 UTC
two failures here with linux-2.6.19 headers

... -c lnx_io.c  -fPIC -DPIC -o .libs/lnx_io.o
lnx_io.c:77:22: asm/kbio.h: No such file or directory
make: *** [lnx_io.lo] Error 1

... -c lnx_kbd.c  -fPIC -DPIC -o .libs/lnx_kbd.o
lnx_kbd.c:107:22: asm/kbio.h: No such file or directory
lnx_kbd.c: In function `SetKbdRepeat':
lnx_kbd.c:196: warning: unused variable `i'
lnx_kbd.c:197: warning: unused variable `timeout'
lnx_kbd.c:198: warning: unused variable `value'
lnx_kbd.c:208: warning: unused variable `valid_rates'
lnx_kbd.c:214: warning: unused variable `valid_delays'
make: *** [lnx_kbd.lo] Error 1
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2007-01-01 20:27:07 UTC
I think there's an upstream fix for this, or maybe I just saw it on another bug.
Comment 2 SpanKY gentoo-dev 2007-01-01 20:28:57 UTC
that header doesnt even exist anymore ... simply removing the include seems to work OK for me
Comment 3 Gustavo Zacarias (RETIRED) gentoo-dev 2007-01-16 17:44:33 UTC
Can we get this patched Donnie?
We'd like to ship gcc4 and newer headers for 2007.0 and basically this is one of the big showstoppers.
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2007-01-16 19:49:46 UTC
Yeah I've just had other things to do lately. The "Inclusion" keyword indicates that it's on our small (10 bugs) todo list.
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2007-01-18 16:08:10 UTC
If someone would like to attach patches against 1.1 and 1.1.99xxxx, that would be helpful.
Comment 6 Gustavo Zacarias (RETIRED) gentoo-dev 2007-01-19 14:39:07 UTC
Created attachment 107437 [details, diff]
Patch to get rid of asm/kbio.h

Tested against current 2.6 stable headers and 2.6.17-r2 (candidate stable).
Not tested against 2.4 headers though...
Comment 7 Ferris McCormick (RETIRED) gentoo-dev 2007-01-19 16:42:22 UTC
(In reply to comment #6)
> Created an attachment (id=107437) [edit]
> Patch to get rid of asm/kbio.h
> 
> Tested against current 2.6 stable headers and 2.6.17-r2 (candidate stable).
> Not tested against 2.4 headers though...
> 
It built and runs on my U2 system running kernel 2.4.31-sparc-r2 and with sys-kernel/linux-headers-2.4.26-r1.
Comment 8 Gustavo Zacarias (RETIRED) gentoo-dev 2007-01-19 16:46:43 UTC
Donnie: apply then, kthxbye!
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2007-01-22 05:59:33 UTC
I've just fixed this in 1.1.1-r4, v1.9, and 1.1.99.903-r1, v1.3.