FS#11987 - Python 2.6 rebuilds: Numpy 'need' 2.5

Attached to Project: Community Packages
Opened by Kazuo Teramoto (kazuo) - Tuesday, 04 November 2008, 10:39 GMT
Last edited by Douglas Soares de Andrade (dsa) - Friday, 13 February 2009, 23:45 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Douglas Soares de Andrade (dsa)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

It need to be rebuild for new python. Version 1.2.0 (currently on arch repo) don't build on x86_64. Updating it to 1.2.1 fix and build correctly.

But in this thread: http://www.nabble.com/scipy-0.6-build-error-td20046479.html we have the following

"David Cournapeau"
> You should not use python 2.6 for the time being. Numpy and scipy
> cannot not (yet) be considered as 2.6 compatible.

-----------------
Errors of 1.2.0:

compile options: '-Ibuild/src.linux-x86_64-2.6/numpy/core/src -Inumpy/core/include -Ibuild/src.linux-x86_64-2.6/numpy/core/include/numpy -Inumpy/core/src -Inumpy/core/include -I/usr/include/python2.6 -c'
gcc: build/src.linux-x86_64-2.6/numpy/core/src/umathmodule.c
numpy/core/src/umathmodule.c.src:79: error: static declaration of ‘acosh’ follows non-static declaration
numpy/core/src/umathmodule.c.src:85: error: static declaration of ‘asinh’ follows non-static declaration
numpy/core/src/umathmodule.c.src:105: error: static declaration of ‘atanh’ follows non-static declaration
numpy/core/src/umathmodule.c.src:173: error: static declaration of ‘acoshf’ follows non-static declaration
numpy/core/src/umathmodule.c.src:181: error: static declaration of ‘asinhf’ follows non-static declaration
numpy/core/src/umathmodule.c.src:189: error: static declaration of ‘atanhf’ follows non-static declaration
numpy/core/src/umathmodule.c.src:255: error: static declaration of ‘acoshl’ follows non-static declaration
numpy/core/src/umathmodule.c.src:263: error: static declaration of ‘asinhl’ follows non-static declaration
numpy/core/src/umathmodule.c.src:271: error: static declaration of ‘atanhl’ follows non-static declaration
numpy/core/src/umathmodule.c.src:308: error: static declaration of ‘rint’ follows non-static declaration
numpy/core/src/umathmodule.c.src:597: error: static declaration of ‘expm1l’ follows non-static declaration
numpy/core/src/umathmodule.c.src:614: error: static declaration of ‘expm1f’ follows non-static declaration
numpy/core/src/umathmodule.c.src:79: error: static declaration of ‘acosh’ follows non-static declaration
numpy/core/src/umathmodule.c.src:85: error: static declaration of ‘asinh’ follows non-static declaration
numpy/core/src/umathmodule.c.src:105: error: static declaration of ‘atanh’ follows non-static declaration
numpy/core/src/umathmodule.c.src:173: error: static declaration of ‘acoshf’ follows non-static declaration
numpy/core/src/umathmodule.c.src:181: error: static declaration of ‘asinhf’ follows non-static declaration
numpy/core/src/umathmodule.c.src:189: error: static declaration of ‘atanhf’ follows non-static declaration
numpy/core/src/umathmodule.c.src:255: error: static declaration of ‘acoshl’ follows non-static declaration
numpy/core/src/umathmodule.c.src:263: error: static declaration of ‘asinhl’ follows non-static declaration
numpy/core/src/umathmodule.c.src:271: error: static declaration of ‘atanhl’ follows non-static declaration
numpy/core/src/umathmodule.c.src:308: error: static declaration of ‘rint’ follows non-static declaration
numpy/core/src/umathmodule.c.src:597: error: static declaration of ‘expm1l’ follows non-static declaration
numpy/core/src/umathmodule.c.src:614: error: static declaration of ‘expm1f’ follows non-static declaration
error: Command "gcc -pthread -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fPIC -Ibuild/src.linux-x86_64-2.6/numpy/core/src -Inumpy/core/include -Ibuild/src.linux-x86_64-2.6/numpy/core/include/numpy -Inumpy/core/src -Inumpy/core/include -I/usr/include/python2.6 -c build/src.linux-x86_64-2.6/numpy/core/src/umathmodule.c -o build/temp.linux-x86_64-2.6/build/src.linux-x86_64-2.6/numpy/core/src/umathmodule.o" failed with exit status 1
This task depends upon

Closed by  Douglas Soares de Andrade (dsa)
Friday, 13 February 2009, 23:45 GMT
Reason for closing:  Fixed
Comment by Andrea Scarpino (BaSh) - Tuesday, 04 November 2008, 12:45 GMT
btw, I updated python-numpy to 1.2.1 and it builds with python2.6

Loading...