[Numpy-discussion] Commit PR 229 breaks build

Charles R Harris charlesr.harris@gmail....
Thu Mar 15 18:45:26 CDT 2012


On my machines anyway.

Running from numpy source directory.
non-existing path in 'numpy/distutils': 'site.cfg'
F2PY Version 2
numpy/core/setup_common.py:86: MismatchCAPIWarning: API mismatch detected,
the C API version numbers have to be updated. Current C api version is 6,
with checksum eb54c77ff4149bab310324cd7c0cb176, but recorded checksum for C
API version 6 in codegen_dir/cversions.txt is
e61d5dc51fa1c6459328266e215d6987. If functions were added in the C API, you
have to update C_API_VERSION  in numpy/core/setup_common.pyc.
  MismatchCAPIWarning)
blas_opt_info:
blas_mkl_info:
  libraries mkl,vml,guide not found in ['/usr/local/lib64',
'/usr/local/lib', '/usr/lib64', '/usr/lib']
  NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
Setting PTATLAS=ATLAS
Traceback (most recent call last):
  File "setup.py", line 214, in <module>
    setup_package()
  File "setup.py", line 207, in setup_package
    configuration=configuration )
  File "/home/charris/Workspace/numpy.git/numpy/distutils/core.py", line
152, in setup
    config = configuration()
  File "setup.py", line 147, in configuration
    config.add_subpackage('numpy')
  File "/home/charris/Workspace/numpy.git/numpy/distutils/misc_util.py",
line 1002, in add_subpackage
    caller_level = 2)
  File "/home/charris/Workspace/numpy.git/numpy/distutils/misc_util.py",
line 971, in get_subpackage
    caller_level = caller_level + 1)
  File "/home/charris/Workspace/numpy.git/numpy/distutils/misc_util.py",
line 908, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "numpy/setup.py", line 9, in configuration
    config.add_subpackage('core')
  File "/home/charris/Workspace/numpy.git/numpy/distutils/misc_util.py",
line 1002, in add_subpackage
    caller_level = 2)
  File "/home/charris/Workspace/numpy.git/numpy/distutils/misc_util.py",
line 971, in get_subpackage
    caller_level = caller_level + 1)
  File "/home/charris/Workspace/numpy.git/numpy/distutils/misc_util.py",
line 908, in _get_configuration_from_setup_py
    config = setup_module.configuration(*args)
  File "numpy/core/setup.py", line 901, in configuration
    blas_info = get_info('blas_opt',0)
  File "/home/charris/Workspace/numpy.git/numpy/distutils/system_info.py",
line 325, in get_info
    return cl().get_info(notfound_action)
  File "/home/charris/Workspace/numpy.git/numpy/distutils/system_info.py",
line 478, in get_info
    self.calc_info()
  File "/home/charris/Workspace/numpy.git/numpy/distutils/system_info.py",
line 1465, in calc_info
    atlas_info = get_info('atlas_blas_threads')
  File "/home/charris/Workspace/numpy.git/numpy/distutils/system_info.py",
line 325, in get_info
    return cl().get_info(notfound_action)
  File "/home/charris/Workspace/numpy.git/numpy/distutils/system_info.py",
line 478, in get_info
    self.calc_info()
  File "/home/charris/Workspace/numpy.git/numpy/distutils/system_info.py
numpy/distutils/system_info.py", line 1090, in calc_info
    dict_append(atlas, **atlas_extra_info)
NameError: global name 'atlas_extra_info' is not defined


Commenting out line 1090 in numpy/distutils/system_info.py fixes the
problem, but I'm pretty sure that isn't the right fix.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20120315/c0aed0e0/attachment.html 


More information about the NumPy-Discussion mailing list