Opened 9 years ago

Closed 9 years ago

#45926 closed defect (fixed)

py-numpy: oportunistic linking agaist openblas results in build failure

Reported by: epaell Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: Cc: dh@…, michaelld (Michael Dickens), petrrr
Port: py-numpy

Description

While attempting to upgrade py27-ipython macports failed to upgrade py27-numpy (running on Yosemite). The previous version of python/numpy worked fine. The upgrade also fails for py34-ipython with the same apparent mode of failure.

$ sudo port upgrade py27-ipython
--->  Computing dependencies for py27-numpy
--->  Fetching archive for py27-numpy
--->  Attempting to fetch py27-numpy-1.9.1_0+atlas+gcc48.darwin_14.x86_64.tbz2 from http://packages.macports.org/py27-numpy
--->  Attempting to fetch py27-numpy-1.9.1_0+atlas+gcc48.darwin_14.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/py27-numpy
--->  Attempting to fetch py27-numpy-1.9.1_0+atlas+gcc48.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/py27-numpy
--->  Fetching distfiles for py27-numpy
--->  Verifying checksums for py27-numpy
--->  Extracting py27-numpy
--->  Applying patches to py27-numpy
--->  Configuring py27-numpy
--->  Building py27-numpy
Error: org.macports.build for port py27-numpy returned: command execution failed
Please see the log file for port py27-numpy for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-numpy/py27-numpy/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

Attachments (1)

main.log (255.7 KB) - added by epaell 9 years ago.
Build log for py27-numpy

Download all attachments as: .zip

Change History (10)

Changed 9 years ago by epaell

Attachment: main.log added

Build log for py27-numpy

comment:1 Changed 9 years ago by larryv (Lawrence Velázquez)

Cc: openmaintainer@… removed
Keywords: Yosemite removed

comment:2 Changed 9 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:3 Changed 9 years ago by anddam (Andrea D'Amore)

Is this still actual since @1.9.2 is out?

comment:4 Changed 9 years ago by michaelld (Michael Dickens)

Looks like surreptitious linking with OpenBLAS; probably need to tell NumPy to disable OpenBLAS support, so that it won't be used even when it is installed already. If you don't need OpenBLAS, can you deactivate it, clean py27-numpy, and then try the install again:

sudo port clean py27-numpy
sudo port -f deactivate openblas
sudo port install py27-numpy

you can even "activate" openblas again now if you want to. I'll look into disabling the surreptitious linking.

comment:5 Changed 9 years ago by michaelld (Michael Dickens)

After installing OpenBLAS, I see this error too; so it really is surreptitious linking with OpenBLAS.

comment:6 Changed 9 years ago by petrrr

I recall, I have already observed this opportunistic linking against OpenBLAS before. Apparently, that was for py-scipy, but it might be related as py-scipy relies on py-numpy and its build system. There the ticket for reference: #46763.

comment:7 Changed 9 years ago by mf2k (Frank Schima)

Port: py-numpy added; py27-numpy removed

comment:8 Changed 9 years ago by petrrr

Summary: Error upgrading py27-numpy from 1.9.0_0 to 1.9.1_0py-numpy: oportunistic linking agaist openblas results in build failure

comment:9 Changed 9 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: newclosed

Hopefully fixed in r139293.

Note: See TracTickets for help on using tickets.