Xymon Mailing List Archive search

4.3.26 build fail

list Richard Hamilton
Mon, 21 Mar 2016 12:12:58 -0400
Message-Id: <CAKsL-o5Av6N4K0sXLjc9L=shhxzcC02R8oHVW1etsukbs=user-c5cf363e7b24@xymon.invalid>

The attachment.bin from that link is 115 lines, but does not have a newline
at the end of the 115th line.  There have been a lot of versions of "patch"
commands, and not all of them may be equally tolerant.

You could try getting a fresh copy of attachment.bin, and then modifying it
by adding the newline
echo >>attachment.bin

and then using that.

I don't recall having any problems, but I'm working on a Mac, which may
have a different version of "patch" than what you're using.

On Mon, Mar 21, 2016 at 9:40 AM, Matthew Daubenspeck <user-8598f5922460@xymon.invalid>
wrote:
On Fri, Mar 18, 2016 at 11:28:40AM -0800, John Thurston wrote:
patching file xymonnet/contest.c
patching file configure.server
patching file build/ssl.sh
patching file build/test-ssl3.c
patching file build/Makefile.test-ssl3
patch unexpectedly ends in middle of line
patch: **** malformed patch at line 114:

Did I patch it wrong?
I suspect you have a truncated patch file.
The attached text is 115 lines long.
I must be doing something wrong then. I downloaded the patch directly
from the user list archives, and get the same error. Line 115 has
nothing but a + and a blank line. I tried the patch attachment via mutt,
and downloading it via here:

http://lists.xymon.com/archive/2016-March/043228.html