[lfs-dev] chapter 6 coreutils-8.28

Bruce Dubbs bruce.dubbs at gmail.com
Tue Oct 31 11:56:47 PDT 2017


Christoph Feikes wrote:
> Well, I did apply the patch. Shortened output from patch is:
>
> patching file src/cut.c
> patching file src/expand.c
> Hunk #2 succeeded at 101 (offset -2 lines).
> Hunk #3 succeeded at 145 (offset -2 lines).
> Hunk #4 succeeded at 205 (offset -2 lines).
> patching file src/expand-common.c
> ...
> Hunk #31 succeeded at 5455 (offset -5 lines).
> patching file src/unexpand.c
> patching file src/uniq.c
>
> and there is a file expand.c.orig after applying the patch:
>
> find . -iname "*.rej" -o -iname "*.orig"
> ./src/sort.c.orig
> ./src/expand.c.orig
> ./src/join.c.orig
> ./src/expand-common.c.orig
> ./src/pr.c.orig
> ./tests/misc/expand.pl.orig
> ./tests/local.mk.orig
> ./bootstrap.conf.orig
> ./configure.ac.orig
>
> md5sum of the patch is eaxctly as given in the current version of
> Development LFS on the web (SVN-20171028), but it doesn't apply clean,
> as it seems.
>
> Sorry, I can't get replying and quoting the meassage I'm replying to
> working in this ubuntu / firefox / thunderbird - combo I'm trying to use.

We don't normally rediff patches if the apply OK.  If you follow the book, 
you do not get those .orig files.  For that you need the -b option to 
patch.  I do not know what else you may have done different form the book. 
  Our automated tests do not show your problem.

   -- Bruce








More information about the lfs-dev mailing list