> > > Patch 7.1.246
> > > Problem:    Configure hangs when the man pager is something strange. 
> > > (lorien)
> > > Solution:   Set MANPAGER and PAGER to "cat". (Micah Cowan)
> > > Files:      src/auto/configure, src/configure.in
> >
> > Maybe I did something wrong, but when I try to update my Vim using
> > aap, it seems to fail on this patch:
> >
> > Aap: Updating recipe "main.aap"
> > Aap: Attempting download of "http://www.a-a-p.org/vim/main.aap";
> > Aap: Downloaded "http://www.a-a-p.org/vim/main.aap"; to
> > "/home/ingelres/Install/Vim/main.aap"
> > Getting Vim version 7.1 using ftp...
> > Aap: /usr/bin/patch -p0 -f < ../patches/7.1.246 2>&1 > 
> > ../patches/7.1.246.done
> > Aap: Error in recipe "/home/ingelres/Install/Vim/main.aap" line 179:
> > Shell command returned 256
> > Aap: All messages are in the logfile: /home/ingelres/Install/Vim/AAPDIR/log
> >
> > In 7.1.246.done, I get this:
> >
> > patching file src/auto/configure
> > Hunk #1 FAILED at 14259.
> > 1 out of 1 hunk FAILED -- saving rejects to file src/auto/configure.rej
> > patching file src/configure.in
> > Hunk #1 FAILED at 2726.
> > 1 out of 1 hunk FAILED -- saving rejects to file src/configure.in.rej
> > patching file src/version.c
> >
> > However, it works when I try to build it from scratch. Is there
> > something I should do before updating (e.g., make clean)?
>
> 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?

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

Raspunde prin e-mail lui