Opened 8 years ago

Closed 8 years ago

#53203 closed defect (fixed)

py-astropy @1.3: Symbol not found: _eraEceq06

Reported by: rjderosa (Robert De Rosa) Owned by: robitaille@…
Priority: Normal Milestone:
Component: ports Version: 2.3.5
Keywords: Cc:
Port: py-astropy

Description

Some functionality of astropy appears to be broken in the recently posted 1.3 release, both in python2.7 and python3.4. An easy way to reproduce this bug is to run astropy.test().

I tried reinstalling the packages (with and without the -s option), and got the same error.

Output from 2.7:

Python 2.7.13 (default, Dec 19 2016, 14:41:31) 
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import astropy
>>> astropy.test()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/astropy/utils/decorators.py", line 860, in test
    func = make_function_with_signature(func, name=name, **wrapped_args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/astropy/tests/runner.py", line 205, in test
    return runner.run_tests(**kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/astropy/tests/runner.py", line 496, in run_tests
    from ..table import Table  # pylint: disable=W0611
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/astropy/table/__init__.py", line 43, in <module>
    from .column import Column, MaskedColumn
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/astropy/table/column.py", line 20, in <module>
    from . import groups
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/astropy/table/groups.py", line 11, in <module>
    from .index import get_index
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/astropy/table/index.py", line 42, in <module>
    from ..time import Time
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/astropy/time/__init__.py", line 2, in <module>
    from .formats import *
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/astropy/time/formats.py", line 15, in <module>
    from .. import _erfa as erfa
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/astropy/_erfa/__init__.py", line 4, in <module>
    from .core import *
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/astropy/_erfa/core.py", line 43, in <module>
    from . import _core
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/astropy/_erfa/_core.so, 2): Symbol not found: _eraEceq06
  Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/astropy/_erfa/_core.so
  Expected in: flat namespace
 in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/astropy/_erfa/_core.so
>>> 

Output from 3.4:

Python 3.4.5 (default, Dec 19 2016, 15:01:39) 
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import astropy
>>> astropy.test()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/astropy/utils/decorators.py", line 860, in test
    func = make_function_with_signature(func, name=name, **wrapped_args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/astropy/tests/runner.py", line 205, in test
    return runner.run_tests(**kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/astropy/tests/runner.py", line 496, in run_tests
    from ..table import Table  # pylint: disable=W0611
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/astropy/table/__init__.py", line 43, in <module>
    from .column import Column, MaskedColumn
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/astropy/table/column.py", line 20, in <module>
    from . import groups
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/astropy/table/groups.py", line 11, in <module>
    from .index import get_index
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/astropy/table/index.py", line 42, in <module>
    from ..time import Time
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/astropy/time/__init__.py", line 2, in <module>
    from .formats import *
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/astropy/time/formats.py", line 15, in <module>
    from .. import _erfa as erfa
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/astropy/_erfa/__init__.py", line 4, in <module>
    from .core import *
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/astropy/_erfa/core.py", line 43, in <module>
    from . import _core
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/astropy/_erfa/_core.so, 2): Symbol not found: _eraEceq06
  Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/astropy/_erfa/_core.so
  Expected in: flat namespace
 in /opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/astropy/_erfa/_core.so
>>> 

Change History (2)

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

Owner: set to robitaille@…
Port: py-astropy added; py27-astropy py34-astropy removed
Status: newassigned
Summary: Astropy-1.3 -- Symbol not found: _eraEceq06py-astropy @1.3: Symbol not found: _eraEceq06

comment:2 Changed 8 years ago by Schamschula (Marius Schamschula)

Resolution: fixed
Status: assignedclosed

In 62f75861/macports-ports:

erfa: update to version 1.3.0

Closes: #53203

Note: See TracTickets for help on using tickets.