[MacPorts] #51419: py27-scipy faols to upgrade/install
#51419: py27-scipy faols to upgrade/install ------------------------------+-------------------------------- Reporter: david.w.watson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: py27-scipy ------------------------------+-------------------------------- Using numpy with openblas, get "-rpath=" error. see log -- Ticket URL: <https://trac.macports.org/ticket/51419> MacPorts <https://www.macports.org/> Ports system for OS X
#51419: py27-scipy faols to upgrade/install -------------------------------+-------------------- Reporter: david.w.watson@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-scipy | -------------------------------+-------------------- Changes (by mf2k@…): * cc: sean@…, openmaintainer@… (removed) * owner: macports-tickets@… => sean@… * port: py27-scipy => py-scipy Comment: Please do not Cc openmaintainer@macports.org because it is [wiki:MacPortsDevelopers#special not a valid email address]. -- Ticket URL: <https://trac.macports.org/ticket/51419#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#51419: py27-scipy fails to upgrade/install -------------------------------+-------------------- Reporter: david.w.watson@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-scipy | -------------------------------+-------------------- -- Ticket URL: <https://trac.macports.org/ticket/51419#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#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 mf2k@…): See also the reverse problem for py-numpy #51250 (fails with +atlas but works with +openblas). -- Ticket URL: <https://trac.macports.org/ticket/51419#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#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 david.w.watson@…): Is there any resolution to this problem? It's beginning to affect upgrading other packages (py-seaborn). -- Ticket URL: <https://trac.macports.org/ticket/51419#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#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 sean@…): Ah, this is the rpath option error. I haven't had anytime to look at this, unfortunately. Was anyone else able to make progress? -- Ticket URL: <https://trac.macports.org/ticket/51419#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#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 | -------------------------------+-------------------- Changes (by mf2k@…): * cc: paulomal@… (added) Comment: Cc reporter of duplicate #52030. -- Ticket URL: <https://trac.macports.org/ticket/51419#comment:13> MacPorts <https://www.macports.org/> Ports system for OS X
#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 astroboylrx@…): Does anyone have a workaround now? I tried to find the files that contain "rpath=" in the building directory, but I found none. Unlike the numpy package, there is also no gnu.py. Thanks a lot in advanced. -- Ticket URL: <https://trac.macports.org/ticket/51419#comment:17> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#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
#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 sean@…): Yep, this patch fixes it for me. I would say go ahead and push it. -- Ticket URL: <https://trac.macports.org/ticket/51419#comment:19> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#51419: py-scipy fails to build with +openblas -------------------------------+-------------------- Reporter: david.w.watson@… | Owner: sean@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: Port: py-scipy | -------------------------------+-------------------- Changes (by michaelld@…): * status: new => closed * resolution: => fixed Comment: OK. done in r153885. -- Ticket URL: <https://trac.macports.org/ticket/51419#comment:20> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
participants (1)
-
MacPorts