bin/186985: bsdpatch fails to apply patch when compiling FreeBSD 8.3 (aka '-b .orig' issue)

David Naylor dbn at FreeBSD.org
Sun Feb 23 19:00:01 UTC 2014


>Number:         186985
>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 at 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:


More information about the freebsd-bugs mailing list