[SciPy-Dev] Bento build - Test failures

Scott Sinclair scott.sinclair.za at gmail.com
Mon Feb 20 01:23:24 EST 2012


Hi,

I guess this is aimed at David C..

When scipy has been built with Bento/waf there are several test
failures related to undefined Fortran symbols (see an example below).
Pauli thinks it's related to library link order (see discussion at
https://github.com/scipy/scipy/pull/158).

It's not yet clear to me how to define the order of the flags at link
time. I'm guessing that waf needs to be told about this in the package
level bscript?

ERROR: Failure: ImportError
(/home/scott/.virtualenvs/scipy-sandbox/local/lib/python2.7/site-packages/scipy/special/_cephes.so:
undefined symbol: _gfortran_transfer_character_write)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/scott/.local/lib/python2.7/site-packages/nose/loader.py",
line 390, in loadTestsFromName
    addr.filename, addr.module)
  File "/home/scott/.local/lib/python2.7/site-packages/nose/importer.py",
line 39, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/home/scott/.local/lib/python2.7/site-packages/nose/importer.py",
line 86, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/home/scott/.virtualenvs/scipy-sandbox/local/lib/python2.7/site-packages/scipy/integrate/__init__.py",
line 50, in <module>
    from quadrature import *
  File "/home/scott/.virtualenvs/scipy-sandbox/local/lib/python2.7/site-packages/scipy/integrate/quadrature.py",
line 5, in <module>
    from scipy.special.orthogonal import p_roots
  File "/home/scott/.virtualenvs/scipy-sandbox/local/lib/python2.7/site-packages/scipy/special/__init__.py",
line 525, in <module>
    from _cephes import *
ImportError: /home/scott/.virtualenvs/scipy-sandbox/local/lib/python2.7/site-packages/scipy/special/_cephes.so:
undefined symbol: _gfortran_transfer_character_write

Cheers,
Scott



More information about the SciPy-Dev mailing list