ports/162988: port bug: math/octave fails to link libumfpack
Jason Bacon
jwbacon at tds.net
Thu Dec 1 04:40:10 UTC 2011
>Number: 162988
>Category: ports
>Synopsis: port bug: math/octave fails to link libumfpack
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Dec 01 04:40:09 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-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:45:57 UTC 2011 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
The octave configure script fails to link the test case for libumfpack and therefore does not include libumfpack in the build.
>How-To-Repeat:
Run "make configure" and examine config.log.
or
Download matpower 4.0 and try running runpf('case9'). It fails, claiming that umfpack is not installed, although it is there as part of suitesparse.
>Fix:
See attached diff for a quick fix.
Patch attached with submission follows:
diff -ruN octave/Makefile octave.new/Makefile
--- octave/Makefile 2011-11-22 05:14:06.000000000 -0600
+++ octave.new/Makefile 2011-11-30 21:40:25.000000000 -0600
@@ -101,6 +101,7 @@
post-patch:
${REINPLACE_CMD} 's+"makeinfo"+"${PREFIX}/bin/makeinfo"+' ${WRKSRC}/src/help.cc
+ ${REINPLACE_CMD} 's+-lumfpack+-lumfpack -lcholmod -lcolamd -llapack+' ${WRKSRC}/configure
post-install:
${MKDIR} ${DESKTOPDIR}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list