I've managed to compile binutils, gcc and linux headers from chapter 5. I began glibc but got stuck trying to run the patch. I tried running it anyway. Got stopped at 'make check' with fatal errors.
I've tried running the patch from different directories but always get the same result: [EMAIL PROTECTED]:/mnt/lfs/sources$ patch -Np1 -i glibc-2.5-branch_update-3.patch can't find file to patch at input line 16 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Submitted By: Robert Connolly <robert at linuxfromscratch dot org> (ashes) | Dan Nicholson <dnicholson at linuxfromscratch dot org> |Date: 2007-07-12 |Initial Package Version: 2.5 |Upstream Status: From Upstream |Origin: cvs -d :pserver:[EMAIL PROTECTED]:/cvs/glibc \ | co -r glibc-2_5-branch -d glibc-2.5-branch libc | diff -pNur -x CVS -x libidn glibc-2.5 glibc-2.5-branch |Description: This is a branch update for Glibc-2.5, and should be | rechecked periodically. See the "Changelog" and | "localedata/ChangeLog" files for specific details. | |diff -pNur -x CVS -x libidn glibc-2.5/argp/argp-help.c glibc-2.5-branch/argp/argp-help.c |--- glibc-2.5/argp/argp-help.c 2006-05-09 23:28:06.000000000 -0700 |+++ glibc-2.5-branch/argp/argp-help.c 2007-07-12 09:58:01.000000000 -0700 -------------------------- File to patch: glibc-2.5-branch_update-3.patch patching file glibc-2.5-branch_update-3.patch Hunk #1 FAILED at 1. Hunk #2 FAILED at 673. Hunk #3 FAILED at 988. 3 out of 3 hunks FAILED -- saving rejects to file glibc-2.5-branch_update-3.patch.rej can't find file to patch at input line 48 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -pNur -x CVS -x libidn glibc-2.5/argp/Makefile glibc-2.5-branch/argp/Makefile |--- glibc-2.5/argp/Makefile 2006-05-09 15:42:24.000000000 -0700 |+++ glibc-2.5-branch/argp/Makefile 2007-07-12 09:58:01.000000000 -0700 -------------------------- File to patch: One thing I'm not clear on is the displayed syntax: patch -Np1 -i ../glibc-2.5-branch_update-3.patch To me, this implies going down one level. If that's the case, what is the pwd? I've been placing my build dirs in $LFS/xxx-build. The tools directory appears to be populating correctly so I'm assuming my build directories are OK where they are. Thanks, Burt -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
