Opened 11 years ago

Closed 11 years ago

#39271 closed defect (duplicate)

py26-scipy build error due to numpy

Reported by: dominikfriese@… Owned by: dh@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: michaelld (Michael Dickens)
Port: py-numpy

Description

For the last few weeks I wasn't able to install any new ports because the py26-scipy package is doing stange things. Whenever I try to upgrade it I receive the following message:

[Users/domi] > upgrade py26-scipy
--->  Computing dependencies for py26-numpy
--->  Cleaning py26-numpy
--->  Computing dependencies for py26-scipy
--->  Building py26-scipy
Error: org.macports.build for port py26-scipy returned: command execution failed
Please see the log file for port py26-scipy for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-scipy/py26-scipy/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

What is wrong with my ports?

Attachments (1)

main.log (15.1 KB) - added by dominikfriese@… 11 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: michaelld@… added
Owner: changed from macports-tickets@… to dh@…
Port: py26-scipy added

Please clean and try again and attach the main.log file.

Changed 11 years ago by dominikfriese@…

Attachment: main.log added

comment:2 Changed 11 years ago by dominikfriese@…

Same error after clean py26-scipy.

comment:3 Changed 11 years ago by mf2k (Frank Schima)

Port: py-numpy added; py26-scipy removed
Resolution: duplicate
Status: newclosed
Summary: py26-scipy won't install leading to no new ports being installedpy26-scipy build error due to numpy

Actual error is:

:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-scipy/py26-scipy/work/scipy-0.12.0" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg config_fc --fcompiler gnu95 --f77exec /opt/local/bin/gfortran-mp-4.4 --f90exec /opt/local/bin/gfortran-mp-4.4 config --cc /opt/local/bin/gcc-mp-4.4 --include-dirs /opt/local/include --library-dirs /opt/local/lib build 
:info:build Traceback (most recent call last):
:info:build   File "setup.py", line 165, in <module>
:info:build     setup_package()
:info:build   File "setup.py", line 145, in setup_package
:info:build     from numpy.distutils.core import setup
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/__init__.py", line 137, in <module>
:info:build     import add_newdocs
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/add_newdocs.py", line 9, in <module>
:info:build     from numpy.lib import add_newdoc
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/lib/__init__.py", line 13, in <module>
:info:build     from polynomial import *
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/lib/polynomial.py", line 17, in <module>
:info:build     from numpy.linalg import eigvals, lstsq, inv
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/linalg/__init__.py", line 48, in <module>
:info:build     from linalg import *
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/linalg/linalg.py", line 23, in <module>
:info:build     from numpy.linalg import lapack_lite
:info:build ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/linalg/lapack_lite.so, 2): Symbol not found: _omp_get_num_threads
:info:build   Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/linalg/lapack_lite.so
:info:build   Expected in: flat namespace
:info:build  in /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/numpy/linalg/lapack_lite.so

This is a duplicate of #37415.

Note: See TracTickets for help on using tickets.