When building XFree86 the following error appears and the build stops. * Failed Patch: 0127_all_4.3.0-makefile-fastbuild.patch! * * Include in your bugreport the contents of: * * /usr/src/portage/xfree-4.3.0-r3/temp/0127_all_4.3.0-makefile-fastbuild.patch-23838.out !!! ERROR: x11-base/xfree-4.3.0-r3 failed. !!! Function epatch, Line 322, Exitcode 0 !!! Failed Patch: 0127_all_4.3.0-makefile-fastbuild.patch! The package XFree86-4.3.0-patches-2.1.13.tar.bz2 has >>> md5 src_uri ;-) so I have not tried to download it again. The contents of /usr/src/portage/xfree-4.3.0-r3/temp/0127_all_4.3.0-makefile-fastbuild.patch-23838.out are the following: ***** 0127_all_4.3.0-makefile-fastbuild.patch ***** =================================================== PATCH COMMAND: patch -g0 -p0 < /usr/src/portage/xfree-4.3.0-r3/work/patch/0127_all_4.3.0-makefile-fastbuild.patch =================================================== can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- xc/Makefile.makefile-fastbuild 2003-02-26 04:21:31.000000000 -0500 |+++ xc/Makefile 2003-04-06 11:40:20.000000000 -0400 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored =================================================== PATCH COMMAND: patch -g0 -p1 < /usr/src/portage/xfree-4.3.0-r3/work/patch/0127_all_4.3.0-makefile-fastbuild.patch =================================================== patching file Makefile Hunk #1 FAILED at 83. 1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej =================================================== PATCH COMMAND: patch -g0 -p2 < /usr/src/portage/xfree-4.3.0-r3/work/patch/0127_all_4.3.0-makefile-fastbuild.patch =================================================== missing header for unified diff at line 3 of patch can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- xc/Makefile.makefile-fastbuild 2003-02-26 04:21:31.000000000 -0500 |+++ xc/Makefile 2003-04-06 11:40:20.000000000 -0400 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored =================================================== PATCH COMMAND: patch -g0 -p3 < /usr/src/portage/xfree-4.3.0-r3/work/patch/0127_all_4.3.0-makefile-fastbuild.patch =================================================== missing header for unified diff at line 3 of patch can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- xc/Makefile.makefile-fastbuild 2003-02-26 04:21:31.000000000 -0500 |+++ xc/Makefile 2003-04-06 11:40:20.000000000 -0400 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored =================================================== PATCH COMMAND: patch -g0 -p4 < /usr/src/portage/xfree-4.3.0-r3/work/patch/0127_all_4.3.0-makefile-fastbuild.patch =================================================== missing header for unified diff at line 3 of patch can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- xc/Makefile.makefile-fastbuild 2003-02-26 04:21:31.000000000 -0500 |+++ xc/Makefile 2003-04-06 11:40:20.000000000 -0400 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored
This looks like it's related to: http://bugs.gentoo.org/show_bug.cgi?id=22283
Fixed in patchset 2.1.14.