[Numpy-discussion] Build failure at rev8246

2010-05-21 Thread T J
Hi,

I tried upgrading today and had trouble building numpy (after rm -rf
build).  My full build log is here:

http://www.filedump.net/dumped/build1274454454.txt

If someone can point me in the right direction, I'd appreciate it very
much.  To excerpts from the log file:


Running from numpy source directory.numpy/core/setup_common.py:86:
MismatchCAPIWarning: API mismatch detected, the C API version numbers
have to be updated. Current C api version is 4, with checksum
59750b518272c8987f02d66445afd3f1, but recorded checksum for C API
version 4 in codegen_dir/cversions.txt is
3d8940bf7b0d2a4e25be4338c14c3c85. If functions were added in the C
API, you have to update C_API_VERSION  in numpy/core/setup_common.pyc.
  MismatchCAPIWarning)


In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:36:
numpy/core/src/multiarray/buffer.c: At top level:
numpy/core/src/multiarray/buffer.c:715: error: conflicting types for
‘_descriptor_from_pep3118_format’
numpy/core/src/multiarray/common.c:221: note: previous implicit
declaration of ‘_descriptor_from_pep3118_format’ was here
numpy/core/src/multiarray/buffer.c: In function
‘_descriptor_from_pep3118_format’:
numpy/core/src/multiarray/buffer.c:751: warning: assignment from
incompatible pointer type
In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:45:
numpy/core/src/multiarray/multiarraymodule.c: In function ‘initmultiarray’:
numpy/core/src/multiarray/multiarraymodule.c:3062: warning: implicit
declaration of function ‘_numpymemoryview_init’
error: Command gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv
-O2 -Wall -Wstrict-prototypes -fPIC -Inumpy/core/include
-Ibuild/src.linux-i686-2.6/numpy/core/include/numpy
-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core
-Inumpy/core/src/npymath -Inumpy/core/src/multiarray
-Inumpy/core/src/umath -Inumpy/core/include -I/usr/include/python2.6
-Ibuild/src.linux-i686-2.6/numpy/core/src/multiarray
-Ibuild/src.linux-i686-2.6/numpy/core/src/umath -c
numpy/core/src/multiarray/multiarraymodule_onefile.c -o
build/temp.linux-i686-2.6/numpy/core/src/multiarray/multiarraymodule_onefile.o
failed with exit status 1


Hope this helps.
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Build failure at rev8246

2010-05-21 Thread Pauli Virtanen
Fri, 21 May 2010 08:09:55 -0700, T J wrote:
 I tried upgrading today and had trouble building numpy (after rm -rf
 build).  My full build log is here:
 
 http://www.filedump.net/dumped/build1274454454.txt
 

Your SVN checkout might be corrupted, containing a mix of old and new 
files. Try building from a clean checkout.

-- 
Pauli Virtanen

___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] Build failure at rev8246

2010-05-21 Thread T J
On Fri, May 21, 2010 at 8:51 AM, Pauli Virtanen p...@iki.fi wrote:
 Fri, 21 May 2010 08:09:55 -0700, T J wrote:
 I tried upgrading today and had trouble building numpy (after rm -rf
 build).  My full build log is here:

     http://www.filedump.net/dumped/build1274454454.txt


 Your SVN checkout might be corrupted, containing a mix of old and new
 files. Try building from a clean checkout.


That was it!

When I did an svn update, I noticed conflicts all over the place and
accepted with tf but I guess that was not enough.  Given that I
haven't really touched this directory, what was the likely cause of
this corruption?  The last time I svn update'd was a few months ago.
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion