* Package: dev-python/pygpu-0.6.0 * Repository: gentoo * Maintainer: sci@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_4 userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking pygpu-0.6.0.tar.gz to /var/tmp/portage/dev-python/pygpu-0.6.0/work >>> Source unpacked in /var/tmp/portage/dev-python/pygpu-0.6.0/work >>> Preparing source in /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0 ... * python2_7: running distutils-r1_run_phase distutils-r1_python_compile /usr/bin/python2.7 setup.py build Compiling pygpu/gpuarray.pyx because it changed. Compiling pygpu/blas.pyx because it changed. Compiling pygpu/_elemwise.pyx because it changed. Compiling pygpu/collectives.pyx because it changed. [1/4] Cythonizing pygpu/_elemwise.pyx [2/4] Cythonizing pygpu/blas.pyx [3/4] Cythonizing pygpu/collectives.pyx [4/4] Cythonizing pygpu/gpuarray.pyx running build running build_py creating /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu copying pygpu/version.py -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu copying pygpu/tools.py -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu copying pygpu/reduction.py -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu copying pygpu/operations.py -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu copying pygpu/elemwise.py -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu copying pygpu/dtypes.py -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu copying pygpu/_array.py -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu copying pygpu/__init__.py -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu creating /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu/tests copying pygpu/tests/test_tools.py -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu/tests copying pygpu/tests/test_reduction.py -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu/tests copying pygpu/tests/test_operations.py -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu/tests copying pygpu/tests/test_gpu_ndarray.py -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu/tests copying pygpu/tests/test_elemwise.py -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu/tests copying pygpu/tests/test_blas.py -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu/tests copying pygpu/tests/support.py -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu/tests copying pygpu/tests/main.py -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu/tests copying pygpu/tests/__init__.py -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu/tests running egg_info creating pygpu.egg-info writing requirements to pygpu.egg-info/requires.txt writing pygpu.egg-info/PKG-INFO writing top-level names to pygpu.egg-info/top_level.txt writing dependency_links to pygpu.egg-info/dependency_links.txt writing manifest file 'pygpu.egg-info/SOURCES.txt' reading manifest file 'pygpu.egg-info/SOURCES.txt' writing manifest file 'pygpu.egg-info/SOURCES.txt' copying pygpu/_elemwise.c -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu copying pygpu/blas.c -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu copying pygpu/collectives.c -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu copying pygpu/gpuarray.c -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu copying pygpu/gpuarray.h -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu copying pygpu/gpuarray_api.h -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu copying pygpu/blas_api.h -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu copying pygpu/numpy_compat.h -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu copying pygpu/collectives.h -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu copying pygpu/collectives_api.h -> /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/lib/pygpu warning: build_py: byte-compiling is disabled, skipping. running build_ext building 'pygpu.gpuarray' extension creating /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/temp.linux-x86_64-2.7 creating /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/temp.linux-x86_64-2.7/pygpu x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -fPIC -DGPUARRAY_SHARED -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c pygpu/gpuarray.c -o /var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0-python2_7/temp.linux-x86_64-2.7/pygpu/gpuarray.o In file included from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1777:0, from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, from pygpu/gpuarray.c:460: /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it by " \ ^ pygpu/gpuarray.c: In function ‘__pyx_pf_5pygpu_8gpuarray_api_version’: pygpu/gpuarray.c:2866:36: error: ‘GPUARRAY_API_VERSION’ undeclared (first use in this function) __pyx_t_1 = __Pyx_PyInt_From_int(GPUARRAY_API_VERSION); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 14, __pyx_L1_error) ^ pygpu/gpuarray.c:2866:36: note: each undeclared identifier is reported only once for each function it appears in pygpu/gpuarray.c: In function ‘__pyx_pf_5pygpu_8gpuarray_2abi_version’: pygpu/gpuarray.c:2939:42: error: ‘GPUARRAY_ABI_VERSION’ undeclared (first use in this function) __pyx_v_major_version = __Pyx_div_long(GPUARRAY_ABI_VERSION, 0x3E8); ^ pygpu/gpuarray.c: In function ‘__pyx_pf_5pygpu_8gpuarray_34may_share_memory’: pygpu/gpuarray.c:10957:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_f_5pygpu_8gpuarray_array_share(__pyx_v_a, __pyx_v_b)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 804, __pyx_L1_error) ^ pygpu/gpuarray.c:10957:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/gpuarray.c: In function ‘__pyx_pf_5pygpu_8gpuarray_10GpuContext_4__cinit__’: pygpu/gpuarray.c:13240:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] __pyx_t_1 = gpucontext_error(NULL, __pyx_v_err); ^ pygpu/gpuarray.c: In function ‘__pyx_pf_5pygpu_8gpuarray_10GpuContext_16largest_memblock___get__’: pygpu/gpuarray.c:14727:67: error: ‘GA_CTX_PROP_LARGEST_MEMBLOCK’ undeclared (first use in this function) __pyx_t_1 = __pyx_f_5pygpu_8gpuarray_ctx_property(__pyx_v_self, GA_CTX_PROP_LARGEST_MEMBLOCK, (&__pyx_v_res)); if (unlikely(__pyx_t_1 == -1)) __PYX_ERR(0, 1152, __pyx_L1_error) ^ pygpu/gpuarray.c: In function ‘__pyx_pf_5pygpu_8gpuarray_5flags_8__richcmp__’: pygpu/gpuarray.c:16406:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_4 = __Pyx_PyBool_FromLong((__pyx_v_a->fl == __pyx_v_b->fl)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1248, __pyx_L1_error) ^ pygpu/gpuarray.c:16406:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/gpuarray.c:16439:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_4 = __Pyx_PyBool_FromLong((__pyx_v_a->fl != __pyx_v_b->fl)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1250, __pyx_L1_error) ^ pygpu/gpuarray.c:16439:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/gpuarray.c: In function ‘__pyx_pf_5pygpu_8gpuarray_5flags_12c_contiguous___get__’: pygpu/gpuarray.c:16525:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_1 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1255, __pyx_L1_error) ^ pygpu/gpuarray.c:16525:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/gpuarray.c: In function ‘__pyx_pf_5pygpu_8gpuarray_5flags_12f_contiguous___get__’: pygpu/gpuarray.c:16650:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_1 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1263, __pyx_L1_error) ^ pygpu/gpuarray.c:16650:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/gpuarray.c: In function ‘__pyx_pf_5pygpu_8gpuarray_5flags_12updateifcopy___get__’: pygpu/gpuarray.c:16769:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __Pyx_INCREF(Py_False); ^ pygpu/gpuarray.c: In function ‘__pyx_pf_5pygpu_8gpuarray_5flags_7owndata___get__’: pygpu/gpuarray.c:16822:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __Pyx_INCREF(Py_True); ^ pygpu/gpuarray.c: In function ‘__pyx_pf_5pygpu_8gpuarray_5flags_7aligned___get__’: pygpu/gpuarray.c:16881:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_1 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1281, __pyx_L1_error) ^ pygpu/gpuarray.c:16881:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/gpuarray.c: In function ‘__pyx_pf_5pygpu_8gpuarray_5flags_9writeable___get__’: pygpu/gpuarray.c:16946:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_1 = __Pyx_PyBool_FromLong((!(!__pyx_t_2))); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1285, __pyx_L1_error) ^ pygpu/gpuarray.c:16946:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/gpuarray.c: In function ‘__pyx_pf_5pygpu_8gpuarray_5flags_7behaved___get__’: pygpu/gpuarray.c:17006:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_1 = __Pyx_PyBool_FromLong(((__pyx_v_self->fl & GA_BEHAVED) == GA_BEHAVED)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1289, __pyx_L1_error) ^ pygpu/gpuarray.c:17006:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/gpuarray.c: In function ‘__pyx_pf_5pygpu_8gpuarray_5flags_6carray___get__’: pygpu/gpuarray.c:17066:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_1 = __Pyx_PyBool_FromLong(((__pyx_v_self->fl & GA_CARRAY) == GA_CARRAY)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1293, __pyx_L1_error) ^ pygpu/gpuarray.c:17066:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/gpuarray.c: In function ‘__pyx_pf_5pygpu_8gpuarray_5flags_4forc___get__’: pygpu/gpuarray.c:17131:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_3 = __Pyx_PyBool_FromLong(__pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1299, __pyx_L1_error) ^ pygpu/gpuarray.c:17131:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/gpuarray.c:17146:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_3 = __Pyx_PyBool_FromLong(__pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1300, __pyx_L1_error) ^ pygpu/gpuarray.c:17146:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/gpuarray.c: In function ‘__pyx_pf_5pygpu_8gpuarray_5flags_3fnc___get__’: pygpu/gpuarray.c:17215:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_3 = __Pyx_PyBool_FromLong(__pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1304, __pyx_L1_error) ^ pygpu/gpuarray.c:17215:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/gpuarray.c:17230:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_3 = __Pyx_PyBool_FromLong(__pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1305, __pyx_L1_error) ^ pygpu/gpuarray.c:17230:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/gpuarray.c: In function ‘__pyx_pf_5pygpu_8gpuarray_5flags_6farray___get__’: pygpu/gpuarray.c:17299:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_3 = __Pyx_PyBool_FromLong(__pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1309, __pyx_L1_error) ^ pygpu/gpuarray.c:17299:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/gpuarray.c:17314:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_3 = __Pyx_PyBool_FromLong(__pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1310, __pyx_L1_error) ^ pygpu/gpuarray.c:17314:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/gpuarray.c: In function ‘__pyx_f_5pygpu_8gpuarray_8GpuArray___index_helper’: pygpu/gpuarray.c:20261:38: warning: passing argument 1 of ‘PySlice_GetIndicesEx’ from incompatible pointer type [-Wincompatible-pointer-types] __pyx_t_9 = PySlice_GetIndicesEx(__pyx_v_key, (__pyx_v_self->ga.dimensions[__pyx_v_i]), ((Py_ssize_t *)__pyx_v_start), ((Py_ssize_t *)__pyx_v_stop), ((Py_ssize_t *)__pyx_v_step), (&__pyx_v_dummy)); if (unlikely(__pyx_t_9 == -1)) __PYX_ERR(0, 1551, __pyx_L1_error) ^ In file included from /usr/include/python2.7/Python.h:112:0, from pygpu/gpuarray.c:28: /usr/include/python2.7/sliceobject.h:37:17: note: expected ‘PySliceObject * {aka struct *}’ but argument is of type ‘PyObject * {aka struct _object *}’ PyAPI_FUNC(int) PySlice_GetIndicesEx(PySliceObject *r, Py_ssize_t length, ^ pygpu/gpuarray.c: In function ‘__Pyx_PyInt_EqObjC’: pygpu/gpuarray.c:36952:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Py_RETURN_TRUE; ^ pygpu/gpuarray.c:36959:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Py_RETURN_TRUE; ^ pygpu/gpuarray.c:36961:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Py_RETURN_FALSE; ^ pygpu/gpuarray.c:37009:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] default: Py_RETURN_FALSE; ^ pygpu/gpuarray.c:37014:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Py_RETURN_TRUE; ^ pygpu/gpuarray.c:37016:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Py_RETURN_FALSE; ^ pygpu/gpuarray.c:37024:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Py_RETURN_TRUE; ^ pygpu/gpuarray.c:37026:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Py_RETURN_FALSE; ^ pygpu/gpuarray.c: At top level: pygpu/gpuarray.c:21321:12: warning: ‘__pyx_pw_5pygpu_8gpuarray_8GpuArray_17__bool__’ defined but not used [-Wunused-function] static int __pyx_pw_5pygpu_8gpuarray_8GpuArray_17__bool__(PyObject *__pyx_v_self) { ^ error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1 * ERROR: dev-python/pygpu-0.6.0::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 115: Called src_compile * environment, line 2645: Called distutils-r1_src_compile * environment, line 786: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 345: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2178: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1486: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1484: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 536: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 777: Called distutils-r1_python_compile * environment, line 652: Called esetup.py 'build' * environment, line 1031: Called die * The specific snippet of code: * "${@}" || die "${die_args[@]}"; * * If you need support, post the output of `emerge --info '=dev-python/pygpu-0.6.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/pygpu-0.6.0::gentoo'`. * The complete build log is located at '/var/log/portage/dev-python:pygpu-0.6.0:20170306-191857.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/pygpu-0.6.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pygpu-0.6.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0' * S: '/var/tmp/portage/dev-python/pygpu-0.6.0/work/libgpuarray-0.6.0'