LFS's Chapter 6.16. Coreutils-6.9 - uname patch asks for a file name

Chris Staub chris at beaker67.com
Tue Jun 3 02:51:53 PDT 2008


Rafael Lopez wrote:
> At LFS's Chapter 6.16. Coreutils-6.9 when trying to apply
> coreutils-6.9-uname-1.patch a file name for a "File to patch" is asked
> for.
> What would said file name be?
> 
> Here is copy-paste of what I get on the screen:
> 
> root:/sources# ls
> coreutils-6.9               coreutils-6.9-suppress_uptime_kill_su-1.patch
> coreutils-6.9-i18n-1.patch  coreutils-6.9-uname-1.patch
> root:/sources# cd coreutils-6.9
> root:/sources/coreutils-6.9# ls -l
> total 184
> -rw-r--r-- 1 root root 80541 Jan 14  2007 ABOUT-NLS
> -rw-r--r-- 1 root root 17987 Mar 18  2007 COPYING
> -rw-r--r-- 1 root root  2804 Mar 18  2007 Makefile.am
> -rw-r--r-- 1 root root  1655 Mar 18  2007 Makefile.cfg
> -rw-r--r-- 1 root root 36181 Mar 22  2007 Makefile.in
> -rw-r--r-- 1 root root  8867 Mar 22  2007 configure.ac
> drwx------ 2 root root  4096 Jun  2 10:38 doc
> drwxrwxrwx 2 root root 16384 Mar 22  2007 lib
> drwxrwxrwx 2 root root  4096 Mar 22  2007 man
> root:/sources/coreutils-6.9# patch -Np1 -i ../coreutils-6.9-uname-1.patch
> can't find file to patch at input line 18
> Perhaps you used the wrong -p or --strip option?
That coreutils-6.9 dir is missing a few things...among others, a 
"configure" script and a "src" dir (which is where the patch is 
looking). Looks like either you have an incomplete tarball, or there was 
some kind of problem unpacking it.



More information about the lfs-support mailing list