in /var/tmp/portage/xfree-4.3.0-r3/work/wc/programs/Xserver/hw/xfree86/os-support/linux/lnx_io.c and in the same directory lnx_kbd.c the patch does not fix the problem. the block which checks the kernel version and defines rate is only in one of the files. it needs to be in both (as they contain the same block of code) and one is also missing the #include <linux/version.h> after #include <linux/kd.h> after the source is unpacked while it's compiling i had to manually fix the files and then it compiled fine. Reproducible: Always Steps to Reproduce: 1. starting from scratch, extract the stage1 files (following install instructions exactly) 2. chroot to /mnt/gentoo, env-update, etc. 3. emerge sync and then /usr/portage/scripts/bootstrap.sh 4. emerge system and when it gets to xfree-4.3.0-r3 it crashes. (ftp://sunsite.ualberta.ca mirror) Actual Results: lnx_kbd.c:XXX: error: structure has no member named 'rate' and the emerge system grinds to a halt. Expected Results: compiled xfree no idea how to cut & paste in bash, attached "emerge.info" (emerge info > emerge.info) instead.
Created attachment 24767 [details] output from emerge info
Created attachment 24768 [details, diff] patch to fix files lnx_kbd.c and lnx_io.c downloaded from http://dev.gentoo.org/~spyderous/xfree/patchsets/4.3.0/patch/
You should only hit this error with 2.6 kernel headers.
Created attachment 24791 [details, diff] Patch for xfree-4.3.0-r4.ebuild (coming soon) Spyderous: heres a patch for 4.3.0-r4 (fetched today from your overlay). Uses has_version to determine if linux-headers-2.6.0 is installed, not very portable but thats the only version in portage currently anyway.
Ok; -r3 worked for me, but -r4 is failing to compile: ... including in ./doc... make[2]: Entering directory `/var/tmp/portage/xfree-4.3.0-r4/work/xc/doc' make[2]: *** No rule to make target `includes'. Stop. make[2]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r4/work/xc/doc' make[1]: *** [includes] Error 2 make[1]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r4/work/xc' make: *** [World] Error 2 !!! ERROR: x11-base/xfree-4.3.0-r4 failed. !!! Function src_compile, Line 583, Exitcode 2 !!! (no error message) There are a ton more of those messages (no rule to make target includes) prior to the failure.
Sean, could you please open a new bug, as that's an unrelated issue. Attach the output of `emerge info` and a full compilation log. You can easily get such a log by setting PORT_LOGDIR in make.conf. *** This bug has been marked as a duplicate of 17345 ***