[MacPorts] #43676: py27-scipy update failure
#43676: py27-scipy update failure -------------------------+-------------------------------- Reporter: dmopalmer@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: py27-scipy -------------------------+-------------------------------- py27-scipy fails with :info:build ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/core/multiarray.so, 2): Symbol not found: _PyUnicodeUCS2_AsASCIIString :info:build Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/core/multiarray.so The variants are default for python27, and +gcc48 for py27-scipy. I am running into this problem on two different computers that have similar but not identical setups. -- Ticket URL: <https://trac.macports.org/ticket/43676> MacPorts <http://www.macports.org/> Ports system for OS X
#43676: py27-scipy: Symbol not found: _PyUnicodeUCS2_AsASCIIString --------------------------+-------------------------------- Reporter: dmopalmer@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: py27-scipy | --------------------------+-------------------------------- Changes (by ryandesign@…): * cc: sean@…, michaelld@…, jwa@… (added) Old description:
py27-scipy fails with
:info:build ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/core/multiarray.so, 2): Symbol not found: _PyUnicodeUCS2_AsASCIIString :info:build Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/core/multiarray.so
The variants are default for python27, and +gcc48 for py27-scipy.
I am running into this problem on two different computers that have similar but not identical setups.
New description: py27-scipy fails with {{{ :info:build ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/core/multiarray.so, 2): Symbol not found: _PyUnicodeUCS2_AsASCIIString :info:build Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/numpy/core/multiarray.so }}} The variants are default for python27, and +gcc48 for py27-scipy. I am running into this problem on two different computers that have similar but not identical setups. -- Comment: Please confirm what variants of python27 are installed, by showing the output of: {{{ port installed python27 }}} I suspect you have actually selected the +ucs4 variant of python27, which will cause problems like this. See #36107 for a similar report against a different module. To avoid this problem, I suggest you don't use the +ucs4 variant of python27. Perhaps we should remove this variant from the python ports. -- Ticket URL: <https://trac.macports.org/ticket/43676#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43676: py27-scipy: Symbol not found: _PyUnicodeUCS2_AsASCIIString --------------------------+-------------------------------- Reporter: dmopalmer@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: py27-scipy | --------------------------+-------------------------------- Comment (by dmopalmer@…): You are correct. {{{ % port installed python27 The following ports are currently installed: python27 @2.7.6_0 python27 @2.7.6_0+ucs4 python27 @2.7.6_0+ucs4+universal (active) }}} (I was using the 'port variants' command expecting it to mark the installed version. The installed py27-scipy is @0.13.3_0+gcc45) With the variant-less python27 @2.7.6_0, I get a successful upgrade of py27-scipy. -- Ticket URL: <https://trac.macports.org/ticket/43676#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#43676: py27-scipy: Symbol not found: _PyUnicodeUCS2_AsASCIIString --------------------------+-------------------------------- Reporter: dmopalmer@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: py27-scipy | --------------------------+-------------------------------- Comment (by yamaneko1212@…): I've got the same issue when selecting +ucs4 variant of python27.[[BR]] I checked the package that is download from macports.org and found that binary files(.so) in it are compiled with python27 with ucs2.[[BR]] I tried to install numpy using option s and it seems to work fine. {{{ port install -s py27-numpy port install -s py27-scipy }}} -- Ticket URL: <https://trac.macports.org/ticket/43676#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts