Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 2014 18:58:42 GMT
From:      David Naylor <dbn@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/186984: bsdpatch fails to apply patch when compiling FreeBSD 8.3 (aka '-b .orig' issue)
Message-ID:  <201402231858.s1NIwgVS032226@cgiserv.freebsd.org>
Resent-Message-ID: <201402231900.s1NJ0038093696@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         186984
>Category:       bin
>Synopsis:       bsdpatch fails to apply patch when compiling FreeBSD 8.3 (aka '-b .orig' issue)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 23 19:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     David Naylor
>Release:        
>Organization:
>Environment:
FreeBSD dragonbsd 10.0-RELEASE FreeBSD 10.0-RELEASE #0 d44ce30(releng/10.0): Sun Feb  9 20:11:55 SAST 2014     root@dragon.dg:/tmp/home/freebsd/10.0/src/sys/MODULAR  amd64
>Description:
On a fresh checkout of the source code to FreeBSD 8.3 (under /home/freebsd/8.3/src), I get the following compilation error:

patch -s -b .orig -o context.c < /home/freebsd/8.3/src/gnu/usr.bin/diff/context.c.diff /home/freebsd/8.3/src/gnu/usr.bin/diff/../../../contrib/diff/src/context.c
  I can't seem to find a patch in there anywhere.
*** Error code 2
>How-To-Repeat:
Checkout 8.3 source code and run the above command.  
>Fix:
Remove the '-b .orig' parameter.  

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402231858.s1NIwgVS032226>