From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Apr 22 04:30:10 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD50E106566B for ; Sun, 22 Apr 2012 04:30:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8EA898FC15 for ; Sun, 22 Apr 2012 04:30:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q3M4UAZv061773 for ; Sun, 22 Apr 2012 04:30:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q3M4UAt9061770; Sun, 22 Apr 2012 04:30:10 GMT (envelope-from gnats) Resent-Date: Sun, 22 Apr 2012 04:30:10 GMT Resent-Message-Id: <201204220430.q3M4UAt9061770@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Garrett Cooper Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DCD0106566C for ; Sun, 22 Apr 2012 04:29:57 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 1AC9C8FC08 for ; Sun, 22 Apr 2012 04:29:57 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q3M4TuVn053099 for ; Sun, 22 Apr 2012 04:29:56 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q3M4Tu2f053098; Sun, 22 Apr 2012 04:29:56 GMT (envelope-from nobody) Message-Id: <201204220429.q3M4Tu2f053098@red.freebsd.org> Date: Sun, 22 Apr 2012 04:29:56 GMT From: Garrett Cooper To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/167191: [PATCH] [bsd.port.mk] fix make package-recursive X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Apr 2012 04:30:10 -0000 >Number: 167191 >Category: ports >Synopsis: [PATCH] [bsd.port.mk] fix make package-recursive >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 22 04:30:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Garrett Cooper >Release: 9.0-RELEASE >Organization: EMC Isilon >Environment: FreeBSD fuji-9.local 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: make package-recursive frequently fails because of already installed packages and the fact that check-already-installed fails. The attached patch hacks around the issue (and introduces another problem by not explicitly calling out the package dependency, which could confuse make with -j > 1), but I'm working on a proper (more invasive) change. >How-To-Repeat: cd /usr/ports/devel/talloc make package make package-recursive >Fix: Patch attached with submission follows: >From acc6b59558b204ef99a1cca3615f5433409b7705 Mon Sep 17 00:00:00 2001 From: Garrett Cooper Date: Sat, 21 Apr 2012 18:16:14 -0700 Subject: [PATCH] Make package-recursive work Signed-off-by: Garrett Cooper --- bsd.port.mk | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/bsd.port.mk b/bsd.port.mk index eee7e3c..984b06a 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -5488,7 +5488,8 @@ actual-package-depends: # Build packages for port and dependencies -package-recursive: package +package-recursive: + @${MAKE} -DFORCE_PKG_REGISTER package @for dir in $$(${ALL-DEPENDS-LIST}); do \ (cd $$dir; ${MAKE} package-noinstall); \ done -- 1.7.6 >Release-Note: >Audit-Trail: >Unformatted: