[Python-modules-team] Bug#545606: python-scipy: FTBFS: TypeError: add_extension() got multiple values for keyword argument 'include_dirs'
Lucas Nussbaum
lucas at lucas-nussbaum.net
Tue Sep 8 09:32:45 UTC 2009
Package: python-scipy
Version: 0.7.0-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20090907 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part:
> /usr/bin/fakeroot debian/rules binary
> QUILT_PATCHES=debian/patches quilt push -a || test $? = 2
> File series fully applied, ends at patch swig_ftbfs.dpatch
> dh_testdir
> touch build-stamp
> dh_testdir
> dh_testroot
> dh_clean -k
> dh_installdirs -A
> set -e; for v in 2.4 2.5; do \
> d=/build/user-python-scipy_0.7.0-1-amd64-EIbc74/python-scipy-0.7.0/debian/python-scipy; \
> mkdir -m 755 -p $d/usr/share/doc/python-scipy; \
> python$v setup.py config_fc --noarch build; \
> python$v setup.py install --prefix $d/usr --no-compile;\
> rm $d/usr/lib/python$v/site-packages/scipy/LICENSE.txt;\
> python$v setup.py clean --all; \
> done
> Warning: No configuration returned, assuming unavailable.
> blas_opt_info:
> blas_mkl_info:
> libraries mkl,vml,guide not found in /usr/local/lib
> libraries mkl,vml,guide not found in /usr/lib64
> libraries mkl,vml,guide not found in /usr/lib
> NOT AVAILABLE
>
> atlas_blas_threads_info:
> Setting PTATLAS=ATLAS
> Disabled atlas_blas_threads_info: (ATLAS is None)
> NOT AVAILABLE
>
> atlas_blas_info:
> Disabled atlas_blas_info: (ATLAS is None)
> NOT AVAILABLE
>
> /usr/lib/python2.4/site-packages/numpy/distutils/system_info.py:1383: UserWarning:
> Atlas (http://math-atlas.sourceforge.net/) libraries not found.
> Directories to search for the libraries can be specified in the
> numpy/distutils/site.cfg file (section [atlas]) or by setting
> the ATLAS environment variable.
> warnings.warn(AtlasNotFoundError.__doc__)
> blas_info:
> libraries blas not found in /usr/local/lib
> FOUND:
> libraries = ['blas']
> library_dirs = ['/usr/lib64']
> language = f77
>
> FOUND:
> libraries = ['blas']
> library_dirs = ['/usr/lib64']
> define_macros = [('NO_ATLAS_INFO', 1)]
> language = f77
>
> lapack_opt_info:
> lapack_mkl_info:
> mkl_info:
> libraries mkl,vml,guide not found in /usr/local/lib
> libraries mkl,vml,guide not found in /usr/lib64
> libraries mkl,vml,guide not found in /usr/lib
> NOT AVAILABLE
>
> NOT AVAILABLE
>
> atlas_threads_info:
> Setting PTATLAS=ATLAS
> Disabled atlas_threads_info: (ATLAS is None)
> numpy.distutils.system_info.atlas_threads_info
> NOT AVAILABLE
>
> atlas_info:
> Disabled atlas_info: (ATLAS is None)
> numpy.distutils.system_info.atlas_info
> NOT AVAILABLE
>
> /usr/lib/python2.4/site-packages/numpy/distutils/system_info.py:1290: UserWarning:
> Atlas (http://math-atlas.sourceforge.net/) libraries not found.
> Directories to search for the libraries can be specified in the
> numpy/distutils/site.cfg file (section [atlas]) or by setting
> the ATLAS environment variable.
> warnings.warn(AtlasNotFoundError.__doc__)
> lapack_info:
> libraries lapack not found in /usr/local/lib
> FOUND:
> libraries = ['lapack']
> library_dirs = ['/usr/lib64']
> language = f77
>
> FOUND:
> libraries = ['lapack', 'blas']
> library_dirs = ['/usr/lib64']
> define_macros = [('NO_ATLAS_INFO', 1)]
> language = f77
>
> umfpack_info:
> libraries umfpack not found in /usr/local/lib
> amd_info:
> libraries amd not found in /usr/local/lib
> FOUND:
> libraries = ['amd']
> library_dirs = ['/usr/lib64']
> swig_opts = ['-I/usr/include/suitesparse']
> define_macros = [('SCIPY_AMD_H', None)]
> include_dirs = ['/usr/include/suitesparse']
>
> FOUND:
> libraries = ['umfpack', 'amd']
> library_dirs = ['/usr/lib64']
> swig_opts = ['-I/usr/include/suitesparse', '-I/usr/include/suitesparse']
> define_macros = [('SCIPY_UMFPACK_H', None), ('SCIPY_AMD_H', None)]
> include_dirs = ['/usr/include/suitesparse']
>
> Traceback (most recent call last):
> File "setup.py", line 92, in ?
> setup_package()
> File "setup.py", line 84, in setup_package
> configuration=configuration )
> File "/usr/lib/python2.4/site-packages/numpy/distutils/core.py", line 150, in setup
> config = configuration()
> File "setup.py", line 54, in configuration
> config.add_subpackage('scipy')
> File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 852, in add_subpackage
> caller_level = 2)
> File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 835, in get_subpackage
> caller_level = caller_level + 1)
> File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 782, in _get_configuration_from_setup_py
> config = setup_module.configuration(*args)
> File "scipy/setup.py", line 19, in configuration
> config.add_subpackage('sparse')
> File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 852, in add_subpackage
> caller_level = 2)
> File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 835, in get_subpackage
> caller_level = caller_level + 1)
> File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 782, in _get_configuration_from_setup_py
> config = setup_module.configuration(*args)
> File "scipy/sparse/setup.py", line 12, in configuration
> config.add_subpackage('linalg')
> File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 852, in add_subpackage
> caller_level = 2)
> File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 835, in get_subpackage
> caller_level = caller_level + 1)
> File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 782, in _get_configuration_from_setup_py
> config = setup_module.configuration(*args)
> File "scipy/sparse/linalg/setup.py", line 9, in configuration
> config.add_subpackage(('dsolve'))
> File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 852, in add_subpackage
> caller_level = 2)
> File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 835, in get_subpackage
> caller_level = caller_level + 1)
> File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 782, in _get_configuration_from_setup_py
> config = setup_module.configuration(*args)
> File "scipy/sparse/linalg/dsolve/setup.py", line 58, in configuration
> config.add_subpackage('umfpack')
> File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 852, in add_subpackage
> caller_level = 2)
> File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 835, in get_subpackage
> caller_level = caller_level + 1)
> File "/usr/lib/python2.4/site-packages/numpy/distutils/misc_util.py", line 782, in _get_configuration_from_setup_py
> config = setup_module.configuration(*args)
> File "scipy/sparse/linalg/dsolve/umfpack/setup.py", line 27, in configuration
> include_dirs = ['/usr/include'],
> TypeError: add_extension() got multiple values for keyword argument 'include_dirs'
> make: *** [install] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2009/09/07/python-scipy_0.7.0-1_lsid64.buildlog
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot. Internet was not
accessible from the build systems.
--
| Lucas Nussbaum
| lucas at lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr GPG: 1024D/023B3F4F |
More information about the Python-modules-team
mailing list