* Package: dev-python/pygpu-0.6.7 * Repository: gentoo * Maintainer: sci@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_5 test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking pygpu-0.6.7.tar.gz to /var/tmp/portage/dev-python/pygpu-0.6.7/work >>> Source unpacked in /var/tmp/portage/dev-python/pygpu-0.6.7/work >>> Preparing source in /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7 ... * 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.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu copying pygpu/version.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu copying pygpu/tools.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu copying pygpu/reduction.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu copying pygpu/operations.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu copying pygpu/elemwise.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu copying pygpu/dtypes.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu copying pygpu/basic.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu copying pygpu/_array.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu copying pygpu/__init__.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu creating /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests copying pygpu/tests/test_tools.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests copying pygpu/tests/test_reduction.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests copying pygpu/tests/test_operations.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests copying pygpu/tests/test_gpu_ndarray.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests copying pygpu/tests/test_elemwise.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests copying pygpu/tests/test_blas.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests copying pygpu/tests/test_basic.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests copying pygpu/tests/support.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests copying pygpu/tests/main.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests copying pygpu/tests/__init__.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-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.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu copying pygpu/blas.c -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu copying pygpu/collectives.c -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu copying pygpu/gpuarray.c -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu copying pygpu/gpuarray.h -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu copying pygpu/gpuarray_api.h -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu copying pygpu/blas_api.h -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu copying pygpu/numpy_compat.h -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu copying pygpu/collectives.h -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu copying pygpu/collectives_api.h -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-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.7/work/libgpuarray-0.6.7-python2_7/temp.linux-x86_64-2.7 creating /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-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.7/work/libgpuarray-0.6.7-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:1809: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:514: /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_34may_share_memory’: pygpu/gpuarray.c:11340: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, 834, __pyx_L1_error) ^~~~~~~~~ pygpu/gpuarray.c:11340:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/gpuarray.c: In function ‘__pyx_pf_5pygpu_8gpuarray_5flags_8__richcmp__’: pygpu/gpuarray.c:16778: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, 1284, __pyx_L1_error) ^~~~~~~~~ pygpu/gpuarray.c:16778:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/gpuarray.c:16811: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, 1286, __pyx_L1_error) ^~~~~~~~~ pygpu/gpuarray.c:16811: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:16897: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, 1291, __pyx_L1_error) ^~~~~~~~~ pygpu/gpuarray.c:16897: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:17022: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, 1299, __pyx_L1_error) ^~~~~~~~~ pygpu/gpuarray.c:17022: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:17141: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:17194: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:17253: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, 1317, __pyx_L1_error) ^~~~~~~~~ pygpu/gpuarray.c:17253: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:17318: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, 1321, __pyx_L1_error) ^~~~~~~~~ pygpu/gpuarray.c:17318: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:17378: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, 1325, __pyx_L1_error) ^~~~~~~~~ pygpu/gpuarray.c:17378: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:17438: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, 1329, __pyx_L1_error) ^~~~~~~~~ pygpu/gpuarray.c:17438: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:17503: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, 1335, __pyx_L1_error) ^~~~~~~~~ pygpu/gpuarray.c:17503:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/gpuarray.c:17518: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, 1336, __pyx_L1_error) ^~~~~~~~~ pygpu/gpuarray.c:17518: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:17587: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, 1340, __pyx_L1_error) ^~~~~~~~~ pygpu/gpuarray.c:17587:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/gpuarray.c:17602: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, 1341, __pyx_L1_error) ^~~~~~~~~ pygpu/gpuarray.c:17602: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:17671: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, 1345, __pyx_L1_error) ^~~~~~~~~ pygpu/gpuarray.c:17671:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/gpuarray.c:17686: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, 1346, __pyx_L1_error) ^~~~~~~~~ pygpu/gpuarray.c:17686: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:20736: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, 1606, __pyx_L1_error) ^~~~~~~~~~~ In file included from /usr/include/python2.7/Python.h:112:0, from pygpu/gpuarray.c:32: /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_gb_5pygpu_8gpuarray_8GpuArray_11__getitem___2generator2’: pygpu/gpuarray.c:24068:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __Pyx_INCREF(Py_True); ^~~~~~~~~~~~ pygpu/gpuarray.c:24076:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __Pyx_INCREF(Py_False); ^~~~~~~~~~~~ pygpu/gpuarray.c: In function ‘__pyx_gb_5pygpu_8gpuarray_8GpuArray_11__getitem___5generator3’: pygpu/gpuarray.c:24208:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __Pyx_INCREF(Py_False); ^~~~~~~~~~~~ pygpu/gpuarray.c:24216:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __Pyx_INCREF(Py_True); ^~~~~~~~~~~~ pygpu/gpuarray.c: In function ‘__pyx_gb_5pygpu_8gpuarray_8GpuArray_11__setitem___2generator5’: pygpu/gpuarray.c:26353:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __Pyx_INCREF(Py_True); ^~~~~~~~~~~~ pygpu/gpuarray.c:26361:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __Pyx_INCREF(Py_False); ^~~~~~~~~~~~ pygpu/gpuarray.c: In function ‘__pyx_gb_5pygpu_8gpuarray_8GpuArray_11__setitem___5generator6’: pygpu/gpuarray.c:26493:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __Pyx_INCREF(Py_False); ^~~~~~~~~~~~ pygpu/gpuarray.c:26501:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __Pyx_INCREF(Py_True); ^~~~~~~~~~~~ pygpu/gpuarray.c: In function ‘__Pyx_PyInt_EqObjC’: pygpu/gpuarray.c:41196:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Py_RETURN_TRUE; ^~~~~~~~~~~~~~ pygpu/gpuarray.c:41203:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Py_RETURN_TRUE; ^~~~~~~~~~~~~~ pygpu/gpuarray.c:41205:13: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Py_RETURN_FALSE; ^~~~~~~~~~~~~~~ pygpu/gpuarray.c:41253:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] default: Py_RETURN_FALSE; ^~~~~~~ pygpu/gpuarray.c:41258:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Py_RETURN_TRUE; ^~~~~~~~~~~~~~ pygpu/gpuarray.c:41260:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Py_RETURN_FALSE; ^~~~~~~~~~~~~~~ pygpu/gpuarray.c:41268:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Py_RETURN_TRUE; ^~~~~~~~~~~~~~ pygpu/gpuarray.c:41270:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Py_RETURN_FALSE; ^~~~~~~~~~~~~~~ At top level: pygpu/gpuarray.c:21857: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) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native -Wall /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/temp.linux-x86_64-2.7/pygpu/gpuarray.o -L/usr/lib64 -lgpuarray -lpython2.7 -o /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/gpuarray.so building 'pygpu.blas' extension 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/blas.c -o /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/temp.linux-x86_64-2.7/pygpu/blas.o In file included from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1809: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/blas.c:514: /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/blas.c: In function ‘__pyx_pf_5pygpu_4blas_dot’: pygpu/blas.c:2586:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __Pyx_INCREF(Py_True); ^~~~~~~~~~~~ pygpu/blas.c: In function ‘__pyx_pf_5pygpu_4blas_2gemv’: pygpu/blas.c:3028:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __Pyx_INCREF(Py_True); ^~~~~~~~~~~~ pygpu/blas.c: In function ‘__pyx_pf_5pygpu_4blas_4gemm’: pygpu/blas.c:3593:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __Pyx_INCREF(Py_True); ^~~~~~~~~~~~ pygpu/blas.c: In function ‘__pyx_pf_5pygpu_4blas_6ger’: pygpu/blas.c:3877:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __Pyx_INCREF(Py_True); ^~~~~~~~~~~~ At top level: pygpu/blas.c:1528:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_concatenate’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_concatenate)(GpuArray const **, size_t, unsigned int, int, PyObject *, struct PyGpuContextObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/blas.c:1527:14: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_transfer’ defined but not used [-Wunused-variable] static int (*__pyx_f_5pygpu_8gpuarray_pygpu_transfer)(struct PyGpuArrayObject *, struct PyGpuArrayObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/blas.c:1526:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_transpose’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_transpose)(struct PyGpuArrayObject *, unsigned int const *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/blas.c:1525:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_reshape’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_reshape)(struct PyGpuArrayObject *, unsigned int, size_t const *, ga_order, int, int); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/blas.c:1524:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_index’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_index)(struct PyGpuArrayObject *, Py_ssize_t const *, Py_ssize_t const *, Py_ssize_t const *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/blas.c:1523:25: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_as_ndarray’ defined but not used [-Wunused-variable] static PyArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_as_ndarray)(struct PyGpuArrayObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/blas.c:1522:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_empty_like’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_empty_like)(struct PyGpuArrayObject *, ga_order, int); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/blas.c:1521:14: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_sync’ defined but not used [-Wunused-variable] static int (*__pyx_f_5pygpu_8gpuarray_pygpu_sync)(struct PyGpuArrayObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/blas.c:1520:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_view’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_view)(struct PyGpuArrayObject *, PyObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/blas.c:1519:14: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_move’ defined but not used [-Wunused-variable] static int (*__pyx_f_5pygpu_8gpuarray_pygpu_move)(struct PyGpuArrayObject *, struct PyGpuArrayObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/blas.c:1517:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_fromgpudata’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_fromgpudata)(gpudata *, size_t, int, unsigned int, size_t const *, Py_ssize_t const *, struct PyGpuContextObject *, int, PyObject *, PyObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/blas.c:1516:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_fromhostdata’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_fromhostdata)(void *, int, unsigned int, size_t const *, Py_ssize_t const *, struct PyGpuContextObject *, PyObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/blas.c:1513:37: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_init’ defined but not used [-Wunused-variable] static struct PyGpuContextObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_init)(PyObject *, int); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/blas.c:1512:14: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_GpuArray_Check’ defined but not used [-Wunused-variable] static int (*__pyx_f_5pygpu_8gpuarray_pygpu_GpuArray_Check)(PyObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/blas.c:1511:37: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_default_context’ defined but not used [-Wunused-variable] static struct PyGpuContextObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_default_context)(void); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/blas.c:1510:14: warning: ‘__pyx_f_5pygpu_8gpuarray_get_typecode’ defined but not used [-Wunused-variable] static int (*__pyx_f_5pygpu_8gpuarray_get_typecode)(PyObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/blas.c:1509:25: warning: ‘__pyx_f_5pygpu_8gpuarray_typecode_to_dtype’ defined but not used [-Wunused-variable] static PyArray_Descr *(*__pyx_f_5pygpu_8gpuarray_typecode_to_dtype)(int); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native -Wall /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/temp.linux-x86_64-2.7/pygpu/blas.o -L/usr/lib64 -lgpuarray -lpython2.7 -o /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/blas.so building 'pygpu._elemwise' extension 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/_elemwise.c -o /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/temp.linux-x86_64-2.7/pygpu/_elemwise.o In file included from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1809: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/_elemwise.c:514: /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/_elemwise.c: In function ‘__pyx_pf_5pygpu_9_elemwise_3arg_2__init__’: pygpu/_elemwise.c:2098:8: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] free(__pyx_v_self->a.name); ^~~~~~~~~~~~ In file included from /usr/include/python2.7/Python.h:42:0, from pygpu/_elemwise.c:32: /usr/include/stdlib.h:448:13: note: expected ‘void *’ but argument is of type ‘const char *’ extern void free (void *__ptr) __THROW; ^~~~ pygpu/_elemwise.c: In function ‘__pyx_pf_5pygpu_9_elemwise_3arg_4__dealloc__’: pygpu/_elemwise.c:2341:8: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] free(__pyx_v_self->a.name); ^~~~~~~~~~~~ In file included from /usr/include/python2.7/Python.h:42:0, from pygpu/_elemwise.c:32: /usr/include/stdlib.h:448:13: note: expected ‘void *’ but argument is of type ‘const char *’ extern void free (void *__ptr) __THROW; ^~~~ At top level: pygpu/_elemwise.c:1644:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_concatenate’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_concatenate)(GpuArray const **, size_t, unsigned int, int, PyObject *, struct PyGpuContextObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/_elemwise.c:1643:14: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_transfer’ defined but not used [-Wunused-variable] static int (*__pyx_f_5pygpu_8gpuarray_pygpu_transfer)(struct PyGpuArrayObject *, struct PyGpuArrayObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/_elemwise.c:1642:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_transpose’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_transpose)(struct PyGpuArrayObject *, unsigned int const *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/_elemwise.c:1641:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_reshape’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_reshape)(struct PyGpuArrayObject *, unsigned int, size_t const *, ga_order, int, int); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/_elemwise.c:1640:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_index’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_index)(struct PyGpuArrayObject *, Py_ssize_t const *, Py_ssize_t const *, Py_ssize_t const *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/_elemwise.c:1639:25: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_as_ndarray’ defined but not used [-Wunused-variable] static PyArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_as_ndarray)(struct PyGpuArrayObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/_elemwise.c:1638:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_empty_like’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_empty_like)(struct PyGpuArrayObject *, ga_order, int); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/_elemwise.c:1637:14: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_sync’ defined but not used [-Wunused-variable] static int (*__pyx_f_5pygpu_8gpuarray_pygpu_sync)(struct PyGpuArrayObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/_elemwise.c:1636:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_view’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_view)(struct PyGpuArrayObject *, PyObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/_elemwise.c:1635:14: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_move’ defined but not used [-Wunused-variable] static int (*__pyx_f_5pygpu_8gpuarray_pygpu_move)(struct PyGpuArrayObject *, struct PyGpuArrayObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/_elemwise.c:1634:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_copy’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_copy)(struct PyGpuArrayObject *, ga_order); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/_elemwise.c:1633:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_fromgpudata’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_fromgpudata)(gpudata *, size_t, int, unsigned int, size_t const *, Py_ssize_t const *, struct PyGpuContextObject *, int, PyObject *, PyObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/_elemwise.c:1632:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_fromhostdata’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_fromhostdata)(void *, int, unsigned int, size_t const *, Py_ssize_t const *, struct PyGpuContextObject *, PyObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/_elemwise.c:1631:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_empty’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_empty)(unsigned int, size_t const *, int, ga_order, struct PyGpuContextObject *, PyObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/_elemwise.c:1630:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_zeros’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_zeros)(unsigned int, size_t const *, int, ga_order, struct PyGpuContextObject *, PyObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/_elemwise.c:1629:37: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_init’ defined but not used [-Wunused-variable] static struct PyGpuContextObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_init)(PyObject *, int); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/_elemwise.c:1628:14: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_GpuArray_Check’ defined but not used [-Wunused-variable] static int (*__pyx_f_5pygpu_8gpuarray_pygpu_GpuArray_Check)(PyObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/_elemwise.c:1627:37: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_default_context’ defined but not used [-Wunused-variable] static struct PyGpuContextObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_default_context)(void); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native -Wall /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/temp.linux-x86_64-2.7/pygpu/_elemwise.o -L/usr/lib64 -lgpuarray -lpython2.7 -o /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/_elemwise.so building 'pygpu.collectives' extension 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/collectives.c -o /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/temp.linux-x86_64-2.7/pygpu/collectives.o In file included from /usr/lib64/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1809: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/collectives.c:514: /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/collectives.c: In function ‘__pyx_pf_5pygpu_11collectives_15GpuCommCliqueId_8__richcmp__’: pygpu/collectives.c:3496:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_3 = __Pyx_PyBool_FromLong((__pyx_v_res < 0)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 86, __pyx_L1_error) ^~~~~~~~~ pygpu/collectives.c:3496:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/collectives.c:3528:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_3 = __Pyx_PyBool_FromLong((__pyx_v_res <= 0)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 88, __pyx_L1_error) ^~~~~~~~~ pygpu/collectives.c:3528:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/collectives.c:3560:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_3 = __Pyx_PyBool_FromLong((__pyx_v_res == 0)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 90, __pyx_L1_error) ^~~~~~~~~ pygpu/collectives.c:3560:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/collectives.c:3592:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_3 = __Pyx_PyBool_FromLong((__pyx_v_res != 0)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 92, __pyx_L1_error) ^~~~~~~~~ pygpu/collectives.c:3592:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/collectives.c:3624:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_3 = __Pyx_PyBool_FromLong((__pyx_v_res > 0)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 94, __pyx_L1_error) ^~~~~~~~~ pygpu/collectives.c:3624:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/collectives.c:3648:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_3 = __Pyx_PyBool_FromLong((__pyx_v_res >= 0)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 96, __pyx_L1_error) ^~~~~~~~~ pygpu/collectives.c:3648:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/collectives.c: In function ‘__pyx_array_get_memview’: pygpu/collectives.c:11352:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_self->dtype_is_object); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 226, __pyx_L1_error) ^~~~~~~~~ pygpu/collectives.c:11352:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/collectives.c: In function ‘__pyx_memoryview_is_slice’: pygpu/collectives.c:13576:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_7 = __Pyx_PyBool_FromLong(__pyx_v_self->dtype_is_object); if (unlikely(!__pyx_t_7)) __PYX_ERR(2, 426, __pyx_L4_error) ^~~~~~~~~ pygpu/collectives.c:13576:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/collectives.c: In function ‘__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16is_c_contig’: pygpu/collectives.c:16016:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_memviewslice_is_contig((__pyx_v_mslice[0]), 'C', __pyx_v_self->view.ndim)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 611, __pyx_L1_error) ^~~~~~~~~ pygpu/collectives.c:16016:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/collectives.c: In function ‘__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18is_f_contig’: pygpu/collectives.c:16087:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_memviewslice_is_contig((__pyx_v_mslice[0]), 'F', __pyx_v_self->view.ndim)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 617, __pyx_L1_error) ^~~~~~~~~ pygpu/collectives.c:16087:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/collectives.c: In function ‘__pyx_memoryview_new’: pygpu/collectives.c:16428:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_dtype_is_object); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 646, __pyx_L1_error) ^~~~~~~~~ pygpu/collectives.c:16428:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/collectives.c: In function ‘_unellipsify’: pygpu/collectives.c:16937:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_4 = __Pyx_PyBool_FromLong(__pyx_v_have_slices); if (unlikely(!__pyx_t_4)) __PYX_ERR(2, 686, __pyx_L1_error) ^~~~~~~~~ pygpu/collectives.c:16937:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] pygpu/collectives.c: In function ‘__pyx_memoryview_fromslice’: pygpu/collectives.c:19346:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_dtype_is_object); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1001, __pyx_L1_error) ^~~~~~~~~ pygpu/collectives.c:19346:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] At top level: pygpu/collectives.c:2196:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_concatenate’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_concatenate)(GpuArray const **, size_t, unsigned int, int, PyObject *, struct PyGpuContextObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/collectives.c:2195:14: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_transfer’ defined but not used [-Wunused-variable] static int (*__pyx_f_5pygpu_8gpuarray_pygpu_transfer)(struct PyGpuArrayObject *, struct PyGpuArrayObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/collectives.c:2194:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_transpose’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_transpose)(struct PyGpuArrayObject *, unsigned int const *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/collectives.c:2193:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_reshape’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_reshape)(struct PyGpuArrayObject *, unsigned int, size_t const *, ga_order, int, int); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/collectives.c:2192:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_index’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_index)(struct PyGpuArrayObject *, Py_ssize_t const *, Py_ssize_t const *, Py_ssize_t const *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/collectives.c:2191:25: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_as_ndarray’ defined but not used [-Wunused-variable] static PyArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_as_ndarray)(struct PyGpuArrayObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/collectives.c:2189:14: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_sync’ defined but not used [-Wunused-variable] static int (*__pyx_f_5pygpu_8gpuarray_pygpu_sync)(struct PyGpuArrayObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/collectives.c:2188:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_view’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_view)(struct PyGpuArrayObject *, PyObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/collectives.c:2187:14: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_move’ defined but not used [-Wunused-variable] static int (*__pyx_f_5pygpu_8gpuarray_pygpu_move)(struct PyGpuArrayObject *, struct PyGpuArrayObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/collectives.c:2186:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_copy’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_copy)(struct PyGpuArrayObject *, ga_order); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/collectives.c:2185:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_fromgpudata’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_fromgpudata)(gpudata *, size_t, int, unsigned int, size_t const *, Py_ssize_t const *, struct PyGpuContextObject *, int, PyObject *, PyObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/collectives.c:2184:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_fromhostdata’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_fromhostdata)(void *, int, unsigned int, size_t const *, Py_ssize_t const *, struct PyGpuContextObject *, PyObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/collectives.c:2182:35: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_zeros’ defined but not used [-Wunused-variable] static struct PyGpuArrayObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_zeros)(unsigned int, size_t const *, int, ga_order, struct PyGpuContextObject *, PyObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/collectives.c:2181:37: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_init’ defined but not used [-Wunused-variable] static struct PyGpuContextObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_init)(PyObject *, int); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/collectives.c:2180:14: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_GpuArray_Check’ defined but not used [-Wunused-variable] static int (*__pyx_f_5pygpu_8gpuarray_pygpu_GpuArray_Check)(PyObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/collectives.c:2179:37: warning: ‘__pyx_f_5pygpu_8gpuarray_pygpu_default_context’ defined but not used [-Wunused-variable] static struct PyGpuContextObject *(*__pyx_f_5pygpu_8gpuarray_pygpu_default_context)(void); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/collectives.c:2177:14: warning: ‘__pyx_f_5pygpu_8gpuarray_get_typecode’ defined but not used [-Wunused-variable] static int (*__pyx_f_5pygpu_8gpuarray_get_typecode)(PyObject *); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pygpu/collectives.c:2176:25: warning: ‘__pyx_f_5pygpu_8gpuarray_typecode_to_dtype’ defined but not used [-Wunused-variable] static PyArray_Descr *(*__pyx_f_5pygpu_8gpuarray_typecode_to_dtype)(int); /*proto*/ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native -Wall /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/temp.linux-x86_64-2.7/pygpu/collectives.o -L/usr/lib64 -lgpuarray -lpython2.7 -o /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/collectives.so * python3_5: running distutils-r1_run_phase distutils-r1_python_compile /usr/bin/python3.5 setup.py build running build running build_py creating /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu copying pygpu/version.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu copying pygpu/tools.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu copying pygpu/reduction.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu copying pygpu/operations.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu copying pygpu/elemwise.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu copying pygpu/dtypes.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu copying pygpu/basic.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu copying pygpu/_array.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu copying pygpu/__init__.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu creating /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu/tests copying pygpu/tests/test_tools.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu/tests copying pygpu/tests/test_reduction.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu/tests copying pygpu/tests/test_operations.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu/tests copying pygpu/tests/test_gpu_ndarray.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu/tests copying pygpu/tests/test_elemwise.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu/tests copying pygpu/tests/test_blas.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu/tests copying pygpu/tests/test_basic.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu/tests copying pygpu/tests/support.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu/tests copying pygpu/tests/main.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu/tests copying pygpu/tests/__init__.py -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu/tests running egg_info writing pygpu.egg-info/PKG-INFO writing dependency_links to pygpu.egg-info/dependency_links.txt writing requirements to pygpu.egg-info/requires.txt writing top-level names to pygpu.egg-info/top_level.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.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu copying pygpu/blas.c -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu copying pygpu/collectives.c -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu copying pygpu/gpuarray.c -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu copying pygpu/gpuarray.h -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu copying pygpu/gpuarray_api.h -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu copying pygpu/blas_api.h -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu copying pygpu/numpy_compat.h -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu copying pygpu/collectives.h -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu copying pygpu/collectives_api.h -> /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/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.7/work/libgpuarray-0.6.7-python3_5/temp.linux-x86_64-3.5 creating /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/temp.linux-x86_64-3.5/pygpu x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -fPIC -DGPUARRAY_SHARED -I/usr/lib64/python3.5/site-packages/numpy/core/include -I/usr/include/python3.5m -c pygpu/gpuarray.c -o /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/temp.linux-x86_64-3.5/pygpu/gpuarray.o -Wno-unused-variable -Wno-unused-function In file included from /usr/lib64/python3.5/site-packages/numpy/core/include/numpy/ndarraytypes.h:1809:0, from /usr/lib64/python3.5/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, from /usr/lib64/python3.5/site-packages/numpy/core/include/numpy/arrayobject.h:4, from pygpu/gpuarray.c:514: /usr/lib64/python3.5/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 " \ ^~~~~~~ x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native -Wall /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/temp.linux-x86_64-3.5/pygpu/gpuarray.o -L/usr/lib64 -lgpuarray -lpython3.5m -o /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu/gpuarray.cpython-35m-x86_64-linux-gnu.so building 'pygpu.blas' extension x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -fPIC -DGPUARRAY_SHARED -I/usr/lib64/python3.5/site-packages/numpy/core/include -I/usr/include/python3.5m -c pygpu/blas.c -o /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/temp.linux-x86_64-3.5/pygpu/blas.o -Wno-unused-variable -Wno-unused-function In file included from /usr/lib64/python3.5/site-packages/numpy/core/include/numpy/ndarraytypes.h:1809:0, from /usr/lib64/python3.5/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, from /usr/lib64/python3.5/site-packages/numpy/core/include/numpy/arrayobject.h:4, from pygpu/blas.c:514: /usr/lib64/python3.5/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 " \ ^~~~~~~ x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native -Wall /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/temp.linux-x86_64-3.5/pygpu/blas.o -L/usr/lib64 -lgpuarray -lpython3.5m -o /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu/blas.cpython-35m-x86_64-linux-gnu.so building 'pygpu._elemwise' extension x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -fPIC -DGPUARRAY_SHARED -I/usr/lib64/python3.5/site-packages/numpy/core/include -I/usr/include/python3.5m -c pygpu/_elemwise.c -o /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/temp.linux-x86_64-3.5/pygpu/_elemwise.o -Wno-unused-variable -Wno-unused-function In file included from /usr/lib64/python3.5/site-packages/numpy/core/include/numpy/ndarraytypes.h:1809:0, from /usr/lib64/python3.5/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, from /usr/lib64/python3.5/site-packages/numpy/core/include/numpy/arrayobject.h:4, from pygpu/_elemwise.c:514: /usr/lib64/python3.5/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/_elemwise.c: In function ‘__pyx_pf_5pygpu_9_elemwise_3arg_2__init__’: pygpu/_elemwise.c:2098:8: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] free(__pyx_v_self->a.name); ^~~~~~~~~~~~ In file included from /usr/include/python3.5m/Python.h:34:0, from pygpu/_elemwise.c:32: /usr/include/stdlib.h:448:13: note: expected ‘void *’ but argument is of type ‘const char *’ extern void free (void *__ptr) __THROW; ^~~~ pygpu/_elemwise.c: In function ‘__pyx_pf_5pygpu_9_elemwise_3arg_4__dealloc__’: pygpu/_elemwise.c:2341:8: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] free(__pyx_v_self->a.name); ^~~~~~~~~~~~ In file included from /usr/include/python3.5m/Python.h:34:0, from pygpu/_elemwise.c:32: /usr/include/stdlib.h:448:13: note: expected ‘void *’ but argument is of type ‘const char *’ extern void free (void *__ptr) __THROW; ^~~~ x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native -Wall /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/temp.linux-x86_64-3.5/pygpu/_elemwise.o -L/usr/lib64 -lgpuarray -lpython3.5m -o /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu/_elemwise.cpython-35m-x86_64-linux-gnu.so building 'pygpu.collectives' extension x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -fPIC -DGPUARRAY_SHARED -I/usr/lib64/python3.5/site-packages/numpy/core/include -I/usr/include/python3.5m -c pygpu/collectives.c -o /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/temp.linux-x86_64-3.5/pygpu/collectives.o -Wno-unused-variable -Wno-unused-function In file included from /usr/lib64/python3.5/site-packages/numpy/core/include/numpy/ndarraytypes.h:1809:0, from /usr/lib64/python3.5/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, from /usr/lib64/python3.5/site-packages/numpy/core/include/numpy/arrayobject.h:4, from pygpu/collectives.c:514: /usr/lib64/python3.5/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 " \ ^~~~~~~ x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native -Wall /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/temp.linux-x86_64-3.5/pygpu/collectives.o -L/usr/lib64 -lgpuarray -lpython3.5m -o /var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python3_5/lib/pygpu/collectives.cpython-35m-x86_64-linux-gnu.so >>> Source compiled. >>> Test phase: dev-python/pygpu-0.6.7 * python2_7: running distutils-r1_run_phase python_test Failure: RuntimeError (No test device specified. Specify one using the DEVICE or GPUARRAY_TEST_DEVICE environment variables.) ... ERROR Failure: RuntimeError (No test device specified. Specify one using the DEVICE or GPUARRAY_TEST_DEVICE environment variables.) ... ERROR Failure: RuntimeError (No test device specified. Specify one using the DEVICE or GPUARRAY_TEST_DEVICE environment variables.) ... ERROR Failure: RuntimeError (No test device specified. Specify one using the DEVICE or GPUARRAY_TEST_DEVICE environment variables.) ... ERROR Failure: RuntimeError (No test device specified. Specify one using the DEVICE or GPUARRAY_TEST_DEVICE environment variables.) ... ERROR Failure: RuntimeError (No test device specified. Specify one using the DEVICE or GPUARRAY_TEST_DEVICE environment variables.) ... ERROR Failure: RuntimeError (No test device specified. Specify one using the DEVICE or GPUARRAY_TEST_DEVICE environment variables.) ... ERROR ====================================================================== ERROR: Failure: RuntimeError (No test device specified. Specify one using the DEVICE or GPUARRAY_TEST_DEVICE environment variables.) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib64/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib64/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests/test_basic.py", line 5, in from .support import (gen_gpuarray, context) File "/var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests/support.py", line 37, in context = gpuarray.init(get_env_dev()) File "/var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests/support.py", line 33, in get_env_dev "No test device specified. Specify one using the DEVICE " RuntimeError: No test device specified. Specify one using the DEVICE or GPUARRAY_TEST_DEVICE environment variables. ====================================================================== ERROR: Failure: RuntimeError (No test device specified. Specify one using the DEVICE or GPUARRAY_TEST_DEVICE environment variables.) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib64/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib64/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests/test_blas.py", line 5, in from .support import (guard_devsup, gen_gpuarray, context) File "/var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests/support.py", line 37, in context = gpuarray.init(get_env_dev()) File "/var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests/support.py", line 33, in get_env_dev "No test device specified. Specify one using the DEVICE " RuntimeError: No test device specified. Specify one using the DEVICE or GPUARRAY_TEST_DEVICE environment variables. ====================================================================== ERROR: Failure: RuntimeError (No test device specified. Specify one using the DEVICE or GPUARRAY_TEST_DEVICE environment variables.) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib64/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib64/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests/test_elemwise.py", line 13, in from .support import (guard_devsup, context, gen_gpuarray, check_meta_content) File "/var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests/support.py", line 37, in context = gpuarray.init(get_env_dev()) File "/var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests/support.py", line 33, in get_env_dev "No test device specified. Specify one using the DEVICE " RuntimeError: No test device specified. Specify one using the DEVICE or GPUARRAY_TEST_DEVICE environment variables. ====================================================================== ERROR: Failure: RuntimeError (No test device specified. Specify one using the DEVICE or GPUARRAY_TEST_DEVICE environment variables.) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib64/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib64/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests/test_gpu_ndarray.py", line 15, in from .support import (guard_devsup, check_meta, check_flags, check_all, File "/var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests/support.py", line 37, in context = gpuarray.init(get_env_dev()) File "/var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests/support.py", line 33, in get_env_dev "No test device specified. Specify one using the DEVICE " RuntimeError: No test device specified. Specify one using the DEVICE or GPUARRAY_TEST_DEVICE environment variables. ====================================================================== ERROR: Failure: RuntimeError (No test device specified. Specify one using the DEVICE or GPUARRAY_TEST_DEVICE environment variables.) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib64/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib64/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests/test_operations.py", line 4, in from .support import (gen_gpuarray, context, SkipTest) File "/var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests/support.py", line 37, in context = gpuarray.init(get_env_dev()) File "/var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests/support.py", line 33, in get_env_dev "No test device specified. Specify one using the DEVICE " RuntimeError: No test device specified. Specify one using the DEVICE or GPUARRAY_TEST_DEVICE environment variables. ====================================================================== ERROR: Failure: RuntimeError (No test device specified. Specify one using the DEVICE or GPUARRAY_TEST_DEVICE environment variables.) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib64/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib64/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests/test_reduction.py", line 8, in from .support import (guard_devsup, check_meta_content, context, gen_gpuarray, File "/var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests/support.py", line 37, in context = gpuarray.init(get_env_dev()) File "/var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests/support.py", line 33, in get_env_dev "No test device specified. Specify one using the DEVICE " RuntimeError: No test device specified. Specify one using the DEVICE or GPUARRAY_TEST_DEVICE environment variables. ====================================================================== ERROR: Failure: RuntimeError (No test device specified. Specify one using the DEVICE or GPUARRAY_TEST_DEVICE environment variables.) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib64/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib64/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests/test_tools.py", line 3, in from .support import context, gen_gpuarray File "/var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests/support.py", line 37, in context = gpuarray.init(get_env_dev()) File "/var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7-python2_7/lib/pygpu/tests/support.py", line 33, in get_env_dev "No test device specified. Specify one using the DEVICE " RuntimeError: No test device specified. Specify one using the DEVICE or GPUARRAY_TEST_DEVICE environment variables. ---------------------------------------------------------------------- Ran 7 tests in 0.287s FAILED (errors=7) * ERROR: dev-python/pygpu-0.6.7::gentoo failed (test phase): * (no error message) * * Call stack: * ebuild.sh, line 124: Called src_test * environment, line 2701: Called distutils-r1_src_test * environment, line 875: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 321: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2223: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1529: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1527: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 545: Called distutils-r1_run_phase 'python_test' * environment, line 806: Called python_test * environment, line 2581: Called die * The specific snippet of code: * nosetests -svw "${BUILD_DIR}/lib/" || die * * If you need support, post the output of `emerge --info '=dev-python/pygpu-0.6.7::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/pygpu-0.6.7::gentoo'`. * The complete build log is located at '/var/log/portage/dev-python:pygpu-0.6.7:20171201-221209.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/pygpu-0.6.7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pygpu-0.6.7/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7' * S: '/var/tmp/portage/dev-python/pygpu-0.6.7/work/libgpuarray-0.6.7'