From owner-freebsd-bugs@FreeBSD.ORG Sun Feb 23 19:00:01 2014 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1586A1BA for ; Sun, 23 Feb 2014 19:00:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C790C1A2A for ; Sun, 23 Feb 2014 19:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1NJ00bi093730 for ; Sun, 23 Feb 2014 19:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1NJ00LP093718; Sun, 23 Feb 2014 19:00:00 GMT (envelope-from gnats) Resent-Date: Sun, 23 Feb 2014 19:00:00 GMT Resent-Message-Id: <201402231900.s1NJ00LP093718@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, David Naylor Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 33C4ADA4 for ; Sun, 23 Feb 2014 18:54:06 +0000 (UTC) Received: from newred.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1FE8019DC for ; Sun, 23 Feb 2014 18:54:06 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by newred.freebsd.org (8.14.7/8.14.7) with ESMTP id s1NIs5Sp030681 for ; Sun, 23 Feb 2014 18:54:05 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.7/8.14.7/Submit) id s1NIs5JV030680; Sun, 23 Feb 2014 18:54:05 GMT (envelope-from nobody) Message-Id: <201402231854.s1NIs5JV030680@cgiserv.freebsd.org> Date: Sun, 23 Feb 2014 18:54:05 GMT From: David Naylor To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: bin/186985: bsdpatch fails to apply patch when compiling FreeBSD 8.3 (aka '-b .orig' issue) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Feb 2014 19:00:01 -0000 >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@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: