[SciPy-Dev] Bento build - Test failures

David Cournapeau cournape@gmail....
Mon Feb 20 02:27:54 CST 2012


Le 20 févr. 2012 06:23, "Scott Sinclair" <scott.sinclair.za@gmail.com> a
écrit :
>
> 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?

Pauli is most likely right. Solving link order dependency is not so simple
unless you hardcode things: I am working on a way to add the feature to waf
in a generic way.

David
>
> 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
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-dev/attachments/20120220/772bf66c/attachment.html 


More information about the SciPy-Dev mailing list