[MacPorts] #46990: Error: Processing of port py27-matplotlib failed
MacPorts
noreply at macports.org
Sat Feb 28 10:53:13 PST 2015
#46990: Error: Processing of port py27-matplotlib failed
------------------------------+--------------------
Reporter: harrison@… | Owner: sean@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: py27-matplotlib |
------------------------------+--------------------
Changes (by ryandesign@…):
* owner: macports-tickets@… => sean@…
* port: => py27-matplotlib
Comment:
This was not a clean build. Please
[https://guide.macports.org/chunked/project.html#project.tickets clean and
try again] and attach the new main.log if it fails again.
The error in your log is:
{{{
ImportError:
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/numpy/core/multiarray.so, 2): no suitable image found. Did
find:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/numpy/core/multiarray.so: mach-o, but wrong architecture
}}}
If that same error persists after cleaning and trying again, the first
question would be: what is the architecture of that file? You can find out
by running:
{{{
lipo -info
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/numpy/core/multiarray.so
}}}
I see you are requesting a universal build. The above file is provided by
the py27-numpy port, which is listed as a dependency of py27-matplotlib,
so MacPorts should have already ensured that py27-matplotlib is installed
with the universal variant (meaning: with the correct architectures)
before ever attempting to build py27-matplotlib. To verify this, you can
also run:
{{{
port -v installed py27-numpy
}}}
--
Ticket URL: <https://trac.macports.org/ticket/46990#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list