ports/157746: port bug: net/openmpi has incorrect path for sge depend
Jason Bacon
jwbacon at tds.net
Fri Jun 10 21:40:09 UTC 2011
>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 at 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:
More information about the freebsd-ports-bugs
mailing list