#29294 closed defect (invalid)
py26-scipy fails to build
Reported by: | kernelblaha@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | jmroot (Joshua Root), skymoo (Adam Mercer) | |
Port: | py26-scipy |
Description
Trying to install py26-scipy fails with the following error:
~$ sudo port install py26-scipy
---> Computing dependencies for py26-scipy
---> Building py26-scipy
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for py26-scipy is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-scipy/main.log
Error: Status 1 encountered during processing.
The log file throws up some errors; I've attached the log file.
Any ideas? Thanks in advance!
Attachments (2)
Change History (12)
Changed 14 years ago by kernelblaha@…
Attachment: | py26-scipy_main.log added |
---|
comment:1 follow-up: 4 Changed 14 years ago by jmroot (Joshua Root)
Cc: | jmr@… ram@… added |
---|
Please remember to cc the maintainers.
comment:2 follow-up: 3 Changed 14 years ago by jmroot (Joshua Root)
Did you install numpy from an egg or something?
comment:3 Changed 14 years ago by kernelblaha@…
Replying to jmr@…:
Did you install numpy from an egg or something?
No, I have py26-numpy from macports installed.
comment:4 Changed 14 years ago by kernelblaha@…
comment:5 follow-up: 6 Changed 14 years ago by jmroot (Joshua Root)
On my machine, py26-numpy is installed in /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy. Your log shows files in /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy-1.5.1-py2.6-macosx-10.5-i386.egg being used. Please double check that those are the paths listed in 'port contents py26-numpy'.
comment:6 Changed 14 years ago by kernelblaha@…
Replying to jmr@…:
On my machine, py26-numpy is installed in /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy. Your log shows files in /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy-1.5.1-py2.6-macosx-10.5-i386.egg being used. Please double check that those are the paths listed in 'port contents py26-numpy'.
Looks like both are being used (?):
port contents py26-numpy returns
/opt/local/bin/f2py-2.6 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/config.py
. . .
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/version.py /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/version.pyc /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy-1.5.1-py2.6.egg-info
I've omitted many lines in between, but can copy in/attach a file if helpful. Thanks!
comment:7 follow-ups: 8 10 Changed 14 years ago by jmroot (Joshua Root)
I don't see numpy-1.5.1-py2.6-macosx-10.5-i386.egg in that list.
Changed 14 years ago by kernelblaha@…
Attachment: | port_contents_py26-numpy.txt added |
---|
output of port contents py26-numpy
comment:8 Changed 14 years ago by kernelblaha@…
Replying to jmr@…:
I don't see numpy-1.5.1-py2.6-macosx-10.5-i386.egg in that list.
I'm not sure where the .egg came from, although it's possible it was there from previous installation attempts using easy_install. Is that the cause maybe?
comment:9 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Almost certainly. Delete the egg (you can use 'port provides' on the files inside it to confirm that it wasn't put there by any port), clean py26-scipy, and try again.
py-scipy installation log file