> > No idea.  You could check the log files to check if you see a hint.
> > Is the file patches/7.1.246 corrupted in some way?
> >
> > I just tried and both with CVS and with patches Vim builds fine.
>
> The patch is not corrupted. I've the checked the files
> "src/auto/configure" and "src/configure.in", and it seems they are
> already patched, as they contain the new modified line. That's why the
> patch command does not work.
>
> However, I don't understand why the command failed on the first run if
> the patching process did succeed. The first log file from today seems
> to be log6:
>
> -rw-r--r-- 1 ingelres 121K 2008-02-13 13:09 log
> -rw-r--r-- 1 ingelres 121K 2008-02-13 13:07 log1
> -rw-r--r-- 1 ingelres 121K 2008-02-13 13:01 log2
> -rw-r--r-- 1 ingelres 121K 2008-02-13 12:56 log3
> -rw-r--r-- 1 ingelres 121K 2008-02-13 12:51 log4
> -rw-r--r-- 1 ingelres 121K 2008-02-13 12:51 log5
> -rw-r--r-- 1 ingelres 121K 2008-02-13 12:50 log6
> -rw-r--r-- 1 root     295K 2008-02-11 08:22 log7
> -rw-r--r-- 1 ingelres 308K 2008-02-11 08:06 log8
> -rw-r--r-- 1 ingelres  704 2008-02-11 08:01 log9
>
> So log6 should be the log of the first run, and it only says that the
> patch could not be applied:
>
> depend: 3 - updating target "patches/7.1.246.done"
> depend: 4 - Using build rule "patches/%.done : patches/%" for target
> "patches/7.1.246.done"
> depend: 5 - updating target "patches/7.1.246"
> extra:  Looking up local name for 
> ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.246
> info:   Attempting download of "ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.246";
> info:   Downloaded "ftp://ftp.vim.org/pub/vim/patches/7.1/7.1.246"; to
> "/home/ingelres/.aap/cache/21068251.1.246"
> info:   Copied file from cache: "patches/7.1.246"
> depend: 5 - Target has no build commands and exists: "patches/7.1.246"
> depend: 5 - Unknown type of file, no dependency check for "patches/7.1.246"
> depend: 3 - Updating "patches/7.1.246.done" from "patches/7.1.246": no
> old signature for "patches/7.1.246"
> changedir:      Entering directory `/home/ingelres/Install/Vim'
> changedir:      Entering directory `/home/ingelres/Install/Vim/vim'
> extra:  Shell commands for updating "patches/7.1.246.done":
> system: /usr/bin/patch -p0 -f < ../patches/7.1.246 2>&1 >
> ../patches/7.1.246.done
> error:  Error in recipe "/home/ingelres/Install/Vim/main.aap" line 179:
> Shell command returned 256
>
> So I don't know what happened. Maybe this has nothing to do, but log7
> belongs to root, that's certainly the log generated the last time I
> ran "aap install". Could it be that some other files now also belong
> to root and aap could not overwrite them during the first run?

I don't know why, but your patch assumes that the modified line in
"src/auto/configure" is at line 14262 while in my file, it's located
at line 14507.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui