From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 10 21:40:09 2011 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 3B192106566C for ; Fri, 10 Jun 2011 21:40:09 +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 EDD7C8FC13 for ; Fri, 10 Jun 2011 21:40:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p5ALe845046803 for ; Fri, 10 Jun 2011 21:40:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p5ALe8Vf046802; Fri, 10 Jun 2011 21:40:08 GMT (envelope-from gnats) Resent-Date: Fri, 10 Jun 2011 21:40:08 GMT Resent-Message-Id: <201106102140.p5ALe8Vf046802@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, Jason Bacon Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47F60106566C for ; Fri, 10 Jun 2011 21:34:44 +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 3866A8FC18 for ; Fri, 10 Jun 2011 21:34:44 +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 p5ALYhub036646 for ; Fri, 10 Jun 2011 21:34:43 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p5ALYh4s036645; Fri, 10 Jun 2011 21:34:43 GMT (envelope-from nobody) Message-Id: <201106102134.p5ALYh4s036645@red.freebsd.org> Date: Fri, 10 Jun 2011 21:34:43 GMT From: Jason Bacon To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/157746: port bug: net/openmpi has incorrect path for sge depend 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: Fri, 10 Jun 2011 21:40:09 -0000 >Number: 157746 >Category: ports >Synopsis: port bug: net/openmpi has incorrect path for sge depend >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 10 21:40:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jason Bacon >Release: 8.2-RELEASE >Organization: Acadix Consulting, LLC >Environment: FreeBSD sculpin.jbacon.dyndns.org 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: When building openmpi with Sun Grid Engine (SGE) 6.2 as a dependency, the port Makefile incorrectly looks for the executable qrsh in ${SGE_ROOT}/fbsd-${ARCH}/qrsh:${PORTSDIR}/sysutils/sge62 to determine whether SGE is installed. The correct path is ${SGE_ROOT}/bin/fbsd-${ARCH}/qrsh:${PORTSDIR}/sysutils/sge62. >How-To-Repeat: 1. Install sysutils/sge62 2. cd ${PORTSDIR}/net/openmpi 3. make config, select SGE option 4. make install >Fix: Attached. Patch attached with submission follows: diff -ruN openmpi.2011.06.06.22.14.01/Makefile openmpi/Makefile --- openmpi.2011.06.06.22.14.01/Makefile 2011-06-06 22:13:46.000000000 -0500 +++ openmpi/Makefile 2011-06-06 22:15:28.000000000 -0500 @@ -54,7 +54,7 @@ SGE_BASE?= sge SGE_ROOT= ${LOCALBASE}/${SGE_BASE} SGE_ARCH= fbsd-${ARCH} -RUN_DEPENDS+= ${SGE_ROOT}/fbsd-${ARCH}/qrsh:${PORTSDIR}/sysutils/sge62 +RUN_DEPENDS+= ${SGE_ROOT}/bin/fbsd-${ARCH}/qrsh:${PORTSDIR}/sysutils/sge62 CONFIGURE_ARGS+= --with-sge CONFIGURE_ENV+= SGE_ROOT=${SGE_ROOT} PLIST_FILES+= ${MPIDIR}/lib/openmpi/mca_ras_gridengine.la \ >Release-Note: >Audit-Trail: >Unformatted: