AMBER Archive (2009)

Subject: Re: [AMBER] Trying to patch amber 9

From: case (
Date: Wed Jun 24 2009 - 09:58:48 CDT

On Wed, Jun 24, 2009, Jack Shultz wrote:
> $ patch -p0 -N -r patch_rejects < bugfix.all
> patching file `src/ptraj/ptraj.c'
> Assertion failed: hunk, file patch.c, line 321

This appears to be some problem with patch, not with our files. Do a "which
patch" to make sure you are running the correct executable. What OS are you
using? It's possible that line endings in the patch file might not match your
system -- use a text editor to be sure that the bugfix.all file looks OK.

Even with bad input, patch should not exit with an assertion failure. And, I
just re-verified that the patch file for Amber9 works fine for me. So
something weird is happening here.


AMBER mailing list