Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 403757 - dev-python/numpy fails to build with pypy
Summary: dev-python/numpy fails to build with pypy
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-15 03:20 UTC by Patrick Lauer
Modified: 2012-02-20 15:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2012-02-15 03:20:17 UTC
In file included from numpy/core/src/multiarray/multiarraymodule_onefile.c:36:0:
numpy/core/src/multiarray/buffer.c: In function ‘array_getbuffer’:
numpy/core/src/multiarray/buffer.c:596:18: error: ‘PyBUF_C_CONTIGUOUS’ undeclared (first use in this function)
numpy/core/src/multiarray/buffer.c:601:18: error: ‘PyBUF_F_CONTIGUOUS’ undeclared (first use in this function)
numpy/core/src/multiarray/buffer.c:606:18: error: ‘PyBUF_ANY_CONTIGUOUS’ undeclared (first use in this function)
numpy/core/src/multiarray/buffer.c:611:18: error: ‘PyBUF_STRIDES’ undeclared (first use in this function)
numpy/core/src/multiarray/buffer.c:612:18: error: ‘PyBUF_ND’ undeclared (first use in this function)
numpy/core/src/multiarray/buffer.c:618:18: error: ‘PyBUF_WRITEABLE’ undeclared (first use in this function)
numpy/core/src/multiarray/buffer.c:636:9: error: ‘Py_buffer’ has no member named ‘suboffsets’
numpy/core/src/multiarray/buffer.c:637:9: error: ‘Py_buffer’ has no member named ‘itemsize’
numpy/core/src/multiarray/buffer.c:638:9: error: ‘Py_buffer’ has no member named ‘readonly’
numpy/core/src/multiarray/buffer.c:639:9: error: ‘Py_buffer’ has no member named ‘internal’
numpy/core/src/multiarray/buffer.c:641:18: error: ‘PyBUF_FORMAT’ undeclared (first use in this function)
numpy/core/src/multiarray/buffer.c:642:13: error: ‘Py_buffer’ has no member named ‘format’
numpy/core/src/multiarray/buffer.c:644:13: error: ‘Py_buffer’ has no member named ‘format’
numpy/core/src/multiarray/buffer.c:647:13: error: ‘Py_buffer’ has no member named ‘ndim’
numpy/core/src/multiarray/buffer.c:648:13: error: ‘Py_buffer’ has no member named ‘shape’
numpy/core/src/multiarray/buffer.c:651:13: error: ‘Py_buffer’ has no member named ‘ndim’
numpy/core/src/multiarray/buffer.c:652:13: error: ‘Py_buffer’ has no member named ‘shape’
numpy/core/src/multiarray/buffer.c:655:13: error: ‘Py_buffer’ has no member named ‘strides’
numpy/core/src/multiarray/buffer.c:658:13: error: ‘Py_buffer’ has no member named ‘strides’
error: Command "x86_64-pc-linux-gnu-gcc -O2 -pipe -O2 -pipe -fno-strict-aliasing -fPIC -Inumpy/core/include -Ibuild-2.7-pypy-1.7/src.linux-x86_64-2.7/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/lib64/pypy1.7/include -Ibuild-2.7-pypy-1.7/src.linux-x86_64-2.7/numpy/core/src/multiarray -Ibuild-2.7-pypy-1.7/src.linux-x86_64-2.7/numpy/core/src/umath -c numpy/core/src/multiarray/multiarraymodule_onefile.c -o build-2.7-pypy-1.7/temp.linux-x86_64-2.7/numpy/core/src/multiarray/multiarraymodule_onefile.o" failed with exit status 1
 * ERROR: dev-python/numpy-1.6.1-r1 failed (compile phase):
 *   Building failed with PyPy 1.7 (Python 2.7) in distutils_building() function
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 5641:  Called distutils_src_compile
 *   environment, line 1495:  Called python_execute_function 'distutils_building'
 *   environment, line 3867:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 * 
 * If you need support, post the output of 'emerge --info =dev-python/numpy-1.6.1-r1',
 * the complete build log and the output of 'emerge -pqv =dev-python/numpy-1.6.1-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-python/numpy-1.6.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/numpy-1.6.1-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-python/numpy-1.6.1-r1/work/numpy-1.6.1'

>>> Failed to emerge dev-python/numpy-1.6.1-r1, Log file:

Upstream pypy is working on porting it, until that is finished we need to restrict it.
Comment 1 Patrick Lauer gentoo-dev 2012-02-20 15:36:49 UTC
+  20 Feb 2012; Patrick Lauer <patrick@gentoo.org> numpy-1.5.1.ebuild,
+  numpy-1.6.0.ebuild, numpy-1.6.1-r1.ebuild, numpy-1.6.1.ebuild:
+  Restricting pypy #403757