trying to emerge xorg-server-1.1.1-r1 gives : sparc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../../include -I../../../../include -I../../../../include -I../../../../include -I../../../../include -I../../../../include -I../../../../include -I../../../../include -I../../../../hw/xfree86 -I../../../../hw/xfree86/include -I../../../../hw/xfree86/common -I../../../../hw/xfree86/os-support -I../../../../hw/xfree86/os-support/bus -I../../../../os -I/usr/include/drm -DUSESTDRES -DHAVE_SYSV_IPC -DHAVE_XORG_CONFIG_H -DXF86PM -DHAVE_APM -DXFree86Server -DXFree86LOADER -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I../../../../include -I../../../../include -I../../../../Xext -I../../../../composite -I../../../../damageext -I../../../../xfixes -I../../../../Xi -I../../../../mi -I../../../../miext/shadow -I../../../../miext/damage -I../../../../render -I../../../../randr -I../../../../fb -mcpu=ultrasparc -mtune=v9 -O2 -MT lnx_io.lo -MD -MP -MF .deps/lnx_io.Tpo -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[5]: *** [lnx_io.lo] Error 1 I did find a patch on the ubuntu archive for this problem : https://lists.ubuntu.com/archives/ubuntu-patches/2006-July/000620.html
Created attachment 100389 [details, diff] The correct, upstream fix Here's the right patch, from upstream, instead of the temporary hack Ubuntu added.
Looks like that still needs a line removed for kbio.h in configure.ac, however. If you remove that line and change 1061,25 to 1061,24, it oughta work as expected.
I did create the patch and changed the ebuild to use it and all compiled OK. Thank you for the fast answer.
sorry, but i was wrong, the patch didn't apply :( PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/x11-base/xorg-server/files/1.1.1-sparc64-kbio-fix.patch ======================================== patching file configure.ac Hunk #1 FAILED at 1071. 1 out of 1 hunk FAILED -- saving rejects to file configure.ac.rej patching file hw/xfree86/os-support/linux/lnx_io.c Hunk #1 succeeded at 67 with fuzz 1. Hunk #2 FAILED at 75. 1 out of 3 hunks FAILED -- saving rejects to file hw/xfree86/os-support/linux/lnx_io.c.rej patching file hw/xfree86/os-support/linux/lnx_kbd.c Hunk #3 FAILED at 113. 1 out of 4 hunks FAILED -- saving rejects to file hw/xfree86/os-support/linux/lnx_kbd.c.rej patching file include/xorg-config.h.in Hunk #1 succeeded at 112 (offset 6 lines). ======================================== I will try to correct and make it succeed
Cool. If you don't have any luck, let me know and I'll have a go at it. I just posted the patch straight from git.
Created attachment 100514 [details, diff] the "corrected" upstream patch here is the patch, it did pass compilation. Note that you need to add it in the ebuild (ebuild patch attached too).
Created attachment 100515 [details, diff] patch for the ebuild patch for the ebuild
Donnie, I'll let you make the call on whether this is ready for inclusion.
It's pretty much good. I'd like it split into the original upstream patch, then the new fix layered on top of it, though. Might be able to generate that by reverse-patching the original fix in git checkout, then applying this and generating a diff.
Is this still an issue in xorg-server 1.3? Please reopen when you reply.