[SciPy-dev] Now new svn of numpy is ready

John Hunter jdhunter at ace.bsd.uchicago.edu
Thu Jan 5 08:42:23 CST 2006


>>>>> "Travis" == Travis Oliphant <oliphant at ee.byu.edu> writes:

    Travis> My previous post was pre-mature as the fixed numpy was
    Travis> only in the numpy branch.  I have now finished *merging*
    Travis> the changes from the numpy branch into the trunk so

    Travis> svn co http://svn.scipy.org/svn/numpy/trunk numpy

I just tried an install with a fresh svn co on solaris 8, and failed.
There were some problems apparently linking with libatlas, I don't
know if these were fatal, but the build eventually dies with 

  File "/home/titan/johnh/python/svn/numpy/numpy/distutils/misc_util.py", line 443, in add_data_dir
    self.add_data_files((ds,filenames))
  File "/home/titan/johnh/python/svn/numpy/numpy/distutils/misc_util.py", line 498, in add_data_files
    dist.data_files.extend(data_dict.items())
AttributeError: 'NoneType' object has no attribute 'extend'

Below is my complete build and version info.

Thanks,
JDH

Running from numpy source directory.
Assuming default configuration (numpy/distutils/command/{setup_command,setup}.py was not found)
Appending numpy.distutils.command configuration to numpy.distutils
Assuming default configuration (numpy/distutils/fcompiler/{setup_fcompiler,setup}.py was not found)
Appending numpy.distutils.fcompiler configuration to numpy.distutils
Appending numpy.distutils configuration to numpy
Appending numpy.testing configuration to numpy
No module named __svn_version__
Creating numpy/f2py/__svn_version__.py (version='1825')
F2PY Version 2_1825
Appending numpy.f2py configuration to numpy
blas_opt_info:
blas_mkl_info:
  NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
Setting PTATLAS=ATLAS
Setting PTATLAS=ATLAS
  FOUND:
    libraries = ['ptf77blas', 'ptcblas', 'atlas']
    library_dirs = ['/opt/lib']
    language = c
    include_dirs = ['/opt/include']

running build_src
building extension "atlas_version" sources
creating build
creating build/src
  adding 'build/src/atlas_version_0x4568501b.c' to sources.
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building 'atlas_version' extension
compiling C sources
gcc options: '-fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC'
creating build/temp.solaris-2.8-i86pc-2.3
creating build/temp.solaris-2.8-i86pc-2.3/build
creating build/temp.solaris-2.8-i86pc-2.3/build/src
compile options: '-I/opt/include -Inumpy/core/include -I/opt/lang/python/include/python2.3 -c'
gcc: build/src/atlas_version_0x4568501b.c
gcc -shared build/temp.solaris-2.8-i86pc-2.3/build/src/atlas_version_0x4568501b.o -L/opt/lib -lptf77blas -lptcblas -latlas -o build/temp.solaris-2.8-i86pc-2.3/atlas_version.so
Text relocation remains                 	referenced
    against symbol		    offset	in file
<unknown>                           0x7       	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0xc       	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x11      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x16      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x23      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x28      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x38      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x3d      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x4a      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x4f      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x5f      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x64      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x71      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x76      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x8b      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x95      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x9a      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x9f      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0xa4      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0xb4      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0xb9      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0xc3      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0xc8      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0xcd      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0xd2      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0xe2      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0xe7      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0xf1      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0xf6      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0xfb      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x100     	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x110     	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x115     	/opt/lib/libatlas.a(ATL_buildinfo.o)
printf                              0x1b      	/opt/lib/libatlas.a(ATL_buildinfo.o)
printf                              0x2d      	/opt/lib/libatlas.a(ATL_buildinfo.o)
printf                              0x42      	/opt/lib/libatlas.a(ATL_buildinfo.o)
printf                              0x54      	/opt/lib/libatlas.a(ATL_buildinfo.o)
printf                              0x69      	/opt/lib/libatlas.a(ATL_buildinfo.o)
printf                              0x7b      	/opt/lib/libatlas.a(ATL_buildinfo.o)
printf                              0x90      	/opt/lib/libatlas.a(ATL_buildinfo.o)
printf                              0xa9      	/opt/lib/libatlas.a(ATL_buildinfo.o)
printf                              0xbe      	/opt/lib/libatlas.a(ATL_buildinfo.o)
printf                              0xd7      	/opt/lib/libatlas.a(ATL_buildinfo.o)
printf                              0xec      	/opt/lib/libatlas.a(ATL_buildinfo.o)
printf                              0x105     	/opt/lib/libatlas.a(ATL_buildinfo.o)
printf                              0x11a     	/opt/lib/libatlas.a(ATL_buildinfo.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
Text relocation remains                 	referenced
    against symbol		    offset	in file
<unknown>                           0x7       	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0xc       	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x11      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x16      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x23      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x28      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x38      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x3d      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x4a      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x4f      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x5f      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x64      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x71      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x76      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x8b      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x95      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x9a      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x9f      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0xa4      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0xb4      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0xb9      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0xc3      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0xc8      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0xcd      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0xd2      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0xe2      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0xe7      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0xf1      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0xf6      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0xfb      	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x100     	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x110     	/opt/lib/libatlas.a(ATL_buildinfo.o)
<unknown>                           0x115     	/opt/lib/libatlas.a(ATL_buildinfo.o)
printf                              0x1b      	/opt/lib/libatlas.a(ATL_buildinfo.o)
printf                              0x2d      	/opt/lib/libatlas.a(ATL_buildinfo.o)
printf                              0x42      	/opt/lib/libatlas.a(ATL_buildinfo.o)
printf                              0x54      	/opt/lib/libatlas.a(ATL_buildinfo.o)
printf                              0x69      	/opt/lib/libatlas.a(ATL_buildinfo.o)
printf                              0x7b      	/opt/lib/libatlas.a(ATL_buildinfo.o)
printf                              0x90      	/opt/lib/libatlas.a(ATL_buildinfo.o)
printf                              0xa9      	/opt/lib/libatlas.a(ATL_buildinfo.o)
printf                              0xbe      	/opt/lib/libatlas.a(ATL_buildinfo.o)
printf                              0xd7      	/opt/lib/libatlas.a(ATL_buildinfo.o)
printf                              0xec      	/opt/lib/libatlas.a(ATL_buildinfo.o)
printf                              0x105     	/opt/lib/libatlas.a(ATL_buildinfo.o)
printf                              0x11a     	/opt/lib/libatlas.a(ATL_buildinfo.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
##### msg: error: Command "gcc -shared build/temp.solaris-2.8-i86pc-2.3/build/src/atlas_version_0x4568501b.o -L/opt/lib -lptf77blas -lptcblas -latlas -o build/temp.solaris-2.8-i86pc-2.3/atlas_version.so" failed with exit status 1
error: Command "gcc -shared build/temp.solaris-2.8-i86pc-2.3/build/src/atlas_version_0x4568501b.o -L/opt/lib -lptf77blas -lptcblas -latlas -o build/temp.solaris-2.8-i86pc-2.3/atlas_version.so" failed with exit status 1
  FOUND:
    libraries = ['ptf77blas', 'ptcblas', 'atlas']
    library_dirs = ['/opt/lib']
    language = c
    define_macros = [('NO_ATLAS_INFO', 2)]
    include_dirs = ['/opt/include']

distutils distribution has been initialized, it may be too late to add an extension _dotblas
Traceback (most recent call last):
  File "setup.py", line 73, in ?
    setup_package()
  File "setup.py", line 58, in setup_package
    config.add_subpackage('numpy')
  File "/home/titan/johnh/python/svn/numpy/numpy/distutils/misc_util.py", line 399, in add_subpackage
    config = self.get_subpackage(subpackage_name,subpackage_path)
  File "/home/titan/johnh/python/svn/numpy/numpy/distutils/misc_util.py", line 389, in get_subpackage
    config = setup_module.configuration(*args)
  File "/home/titan/johnh/python/svn/numpy/numpy/setup.py", line 10, in configuration
    config.add_subpackage('core')
  File "/home/titan/johnh/python/svn/numpy/numpy/distutils/misc_util.py", line 399, in add_subpackage
    config = self.get_subpackage(subpackage_name,subpackage_path)
  File "/home/titan/johnh/python/svn/numpy/numpy/distutils/misc_util.py", line 389, in get_subpackage
    config = setup_module.configuration(*args)
  File "numpy/core/setup.py", line 195, in configuration
    config.add_data_dir('tests')
  File "/home/titan/johnh/python/svn/numpy/numpy/distutils/misc_util.py", line 443, in add_data_dir
    self.add_data_files((ds,filenames))
  File "/home/titan/johnh/python/svn/numpy/numpy/distutils/misc_util.py", line 498, in add_data_files
    dist.data_files.extend(data_dict.items())
AttributeError: 'NoneType' object has no attribute 'extend'
removed numpy/f2py/__svn_version__.py
removed numpy/f2py/__svn_version__.pyc

Python 2.3.4 (#12, Jul  2 2004, 09:48:10)
[GCC 3.3.2] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.platform
'sunos5'
>>>




More information about the Scipy-dev mailing list