Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#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)

py26-scipy_main.log (45.3 KB) - added by kernelblaha@… 13 years ago.
py-scipy installation log file
port_contents_py26-numpy.txt (82.0 KB) - added by kernelblaha@… 13 years ago.
output of port contents py26-numpy

Download all attachments as: .zip

Change History (12)

Changed 13 years ago by kernelblaha@…

Attachment: py26-scipy_main.log added

py-scipy installation log file

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Cc: jmr@… ram@… added

Please remember to cc the maintainers.

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Did you install numpy from an egg or something?

comment:3 in reply to:  2 Changed 13 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 in reply to:  1 Changed 13 years ago by kernelblaha@…

Replying to jmr@…:

Please remember to cc the maintainers.

oops, will do.

comment:5 Changed 13 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 in reply to:  5 Changed 13 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 Changed 13 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 13 years ago by kernelblaha@…

output of port contents py26-numpy

comment:8 in reply to:  7 Changed 13 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 13 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed

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.

comment:10 in reply to:  7 Changed 13 years ago by kernelblaha@…

that worked! Thanks for your help.

Note: See TracTickets for help on using tickets.