[MacPorts] #51419: py-scipy fails to build with +openblas

MacPorts noreply at macports.org
Fri Oct 14 02:51:48 CEST 2016


#51419: py-scipy fails to build with +openblas
-------------------------------+--------------------
  Reporter:  david.w.watson@…  |      Owner:  sean@…
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.3.4
Resolution:                    |   Keywords:
      Port:  py-scipy          |
-------------------------------+--------------------

Comment (by michaelld@…):

 This issue is related to #51250.

 I just attached a patch for NumPy that fixed this build error for me. It
 should work on at least 10.9 and newer (libc++). I don't have a 10.[6-8]
 box around for testing (libstdc++ via GCC 4.2.1). I did verify that the
 rpath setting works on a modern Linux box running GCC 4.9 ("-Wl,-rpath
 -Wl,"/R/P/A/T/H", where "/R/P/A/T/H" is the actual desired rpath, in ""s
 to allow for spaces in directory names).

 Could others please test & verify? You'll need to do roughly the following
 (assuming the patch is in ~/Downloads/patch-numpy_rpath.diff):
 {{{
 pushd $(port dir py27-numpy)
 sudo patch -p0 < ~/Downloads/patch-numpy_rpath.diff
 sudo port upgrade py27-numpy
 }}}
 assuming that works, then do:
 {{{
 sudo patch -R -p0 < ~/Downloads/patch-numpy_rpath.diff
 sudo port clean "py*-scipy"
 sudo port install py27-scipy +openblas
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/51419#comment:18>
MacPorts <https://www.macports.org/>
Ports system for the Mac operating system



More information about the macports-tickets mailing list