Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jun 2011 21:34:43 GMT
From:      Jason Bacon <jwbacon@tds.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/157746: port bug: net/openmpi has incorrect path for sge depend
Message-ID:  <201106102134.p5ALYh4s036645@red.freebsd.org>
Resent-Message-ID: <201106102140.p5ALe8Vf046802@freefall.freebsd.org>

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

>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:



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