Building a new Gentoo system. Athlon MP 2800+, 512MB memory, 1GB swap (active), still booting from the 2004.0 livecd. Bootstrapped using /usr/portage/scripts/bootstrap-2.6.sh succesfully (after unmasking the 2.6.3-r1 headers ebuild). emerge system fetches xfree-4.3.0-r5 and associated patch set. patch 0100-all-4.3.0-xf-4_3-branch-01-19.patch fails. As I'm currently in a console and using links2, I am unable to post the entire error file from here. I will post it in a matter of minutes.
Created attachment 26184 [details] Patch Error File This is the patch error file. Refer to this. Let me know if I can do anything else!
patching file programs/Xserver/hw/darwin/darwinClut8.h Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file programs/Xserver/hw/darwin/darwinClut8.h.rej OK, not sure why nobody else has been hitting this. Before I remake the patch, I'd like a little info: The output of `patch --version` and `cat /var/db/pkg/sys-devel/patch-[0-9]*/CFLAGS`.
Request 1: Output of patch --version ____________________________________ livecd / # patch --version patch 2.5.9 Copyright (C) 1988 Larry Wall Copyright (C) 2003 Free Software Foundation, Inc. This program comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of this program under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. written by Larry Wall and Paul Eggert Request 2: Output of cat /var/db/pkg/sys-devel/patch-[0-9]*/CFLAGS __________________________________________________________________ livecd / # cat /var/db/pkg/sys-devel/patch-[0-9]*/CFLAGS -O2 -march=athlon-mp -fomit-frame-pointer -pipe -msse -mfpmath=sse -malign-double -m3dnow -mmmx -maccumulate-outgoing-args -DLINUX -D_XOPEN_SOURCE=500 Let me know if you need anything else
Could you remerge sys-devel/patch with more sane CFLAGS? For example, "-O2 -march=athlon-mp -fomit-frame-pointer -pipe".
Hmm... I completely apologize for wasting your time. All patches were applied successfully and xfree is compiling happily. Thank you for your help, and ... for the sanity check.
Thanks for working with us. *** This bug has been marked as a duplicate of 41361 ***