2019-06-27T00:50:59 Created temporary directory: /tmp/pip-ephem-wheel-cache-0d1hba4r 2019-06-27T00:50:59 Created temporary directory: /tmp/pip-req-tracker-1r86ts9k 2019-06-27T00:50:59 Created requirements tracker '/tmp/pip-req-tracker-1r86ts9k' 2019-06-27T00:50:59 Created temporary directory: /tmp/pip-wheel-0plxkxgi 2019-06-27T00:50:59 Collecting ncreduce==0.2 2019-06-27T00:50:59 1 location(s) to search for versions of ncreduce: 2019-06-27T00:50:59 * https://pypi.org/simple/ncreduce/ 2019-06-27T00:50:59 Getting page https://pypi.org/simple/ncreduce/ 2019-06-27T00:50:59 Analyzing links from page https://pypi.org/simple/ncreduce/ 2019-06-27T00:50:59 Found link https://files.pythonhosted.org/packages/0f/8d/4103c604f5b89fa762f23b7537dc4ca7e23f0a7795ec069d3e9da406b6f1/ncreduce-0.2.tar.gz#sha256=5e525c74849af0abef8b3d1b4e806e6ebecd9cfcb1b8553feddc392a2fde1661 (from https://pypi.org/simple/ncreduce/), version: 0.2 2019-06-27T00:50:59 Using version 0.2 (newest of versions: 0.2) 2019-06-27T00:50:59 Created temporary directory: /tmp/pip-unpack-pvi3qzdy 2019-06-27T00:51:00 Downloading https://files.pythonhosted.org/packages/0f/8d/4103c604f5b89fa762f23b7537dc4ca7e23f0a7795ec069d3e9da406b6f1/ncreduce-0.2.tar.gz 2019-06-27T00:51:00 Downloading from URL https://files.pythonhosted.org/packages/0f/8d/4103c604f5b89fa762f23b7537dc4ca7e23f0a7795ec069d3e9da406b6f1/ncreduce-0.2.tar.gz#sha256=5e525c74849af0abef8b3d1b4e806e6ebecd9cfcb1b8553feddc392a2fde1661 (from https://pypi.org/simple/ncreduce/) 2019-06-27T00:51:00 Added ncreduce==0.2 from https://files.pythonhosted.org/packages/0f/8d/4103c604f5b89fa762f23b7537dc4ca7e23f0a7795ec069d3e9da406b6f1/ncreduce-0.2.tar.gz#sha256=5e525c74849af0abef8b3d1b4e806e6ebecd9cfcb1b8553feddc392a2fde1661 to build tracker '/tmp/pip-req-tracker-1r86ts9k' 2019-06-27T00:51:00 Running setup.py (path:/tmp/pip-wheel-0plxkxgi/ncreduce/setup.py) egg_info for package ncreduce 2019-06-27T00:51:00 Running command python setup.py egg_info 2019-06-27T00:51:03 running egg_info 2019-06-27T00:51:03 running build_src 2019-06-27T00:51:03 build_src 2019-06-27T00:51:03 building extension "ncreduce" sources 2019-06-27T00:51:03 - nothing done with h_files = ['ncreduce/numpy_utils.hpp'] 2019-06-27T00:51:03 build_src: building npy-pkg config files 2019-06-27T00:51:03 creating pip-egg-info/ncreduce.egg-info 2019-06-27T00:51:03 writing pip-egg-info/ncreduce.egg-info/PKG-INFO 2019-06-27T00:51:03 writing dependency_links to pip-egg-info/ncreduce.egg-info/dependency_links.txt 2019-06-27T00:51:03 writing top-level names to pip-egg-info/ncreduce.egg-info/top_level.txt 2019-06-27T00:51:03 writing manifest file 'pip-egg-info/ncreduce.egg-info/SOURCES.txt' 2019-06-27T00:51:03 reading manifest file 'pip-egg-info/ncreduce.egg-info/SOURCES.txt' 2019-06-27T00:51:03 writing manifest file 'pip-egg-info/ncreduce.egg-info/SOURCES.txt' 2019-06-27T00:51:03 Source in /tmp/pip-wheel-0plxkxgi/ncreduce has version 0.2, which satisfies requirement ncreduce==0.2 from https://files.pythonhosted.org/packages/0f/8d/4103c604f5b89fa762f23b7537dc4ca7e23f0a7795ec069d3e9da406b6f1/ncreduce-0.2.tar.gz#sha256=5e525c74849af0abef8b3d1b4e806e6ebecd9cfcb1b8553feddc392a2fde1661 2019-06-27T00:51:03 Removed ncreduce==0.2 from https://files.pythonhosted.org/packages/0f/8d/4103c604f5b89fa762f23b7537dc4ca7e23f0a7795ec069d3e9da406b6f1/ncreduce-0.2.tar.gz#sha256=5e525c74849af0abef8b3d1b4e806e6ebecd9cfcb1b8553feddc392a2fde1661 from build tracker '/tmp/pip-req-tracker-1r86ts9k' 2019-06-27T00:51:03 Building wheels for collected packages: ncreduce 2019-06-27T00:51:03 Created temporary directory: /tmp/pip-wheel-6tpmoqte 2019-06-27T00:51:03 Building wheel for ncreduce (setup.py): started 2019-06-27T00:51:03 Destination directory: /tmp/pip-wheel-6tpmoqte 2019-06-27T00:51:03 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-0plxkxgi/ncreduce/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-6tpmoqte 2019-06-27T00:51:06 running bdist_wheel 2019-06-27T00:51:06 running build 2019-06-27T00:51:06 running config_cc 2019-06-27T00:51:06 unifing config_cc, config, build_clib, build_ext, build commands --compiler options 2019-06-27T00:51:06 running config_fc 2019-06-27T00:51:06 unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options 2019-06-27T00:51:06 running build_src 2019-06-27T00:51:06 build_src 2019-06-27T00:51:06 building extension "ncreduce" sources 2019-06-27T00:51:06 - nothing done with h_files = ['ncreduce/numpy_utils.hpp'] 2019-06-27T00:51:06 build_src: building npy-pkg config files 2019-06-27T00:51:06 running build_ext 2019-06-27T00:51:06 customize UnixCCompiler 2019-06-27T00:51:06 customize UnixCCompiler using build_ext 2019-06-27T00:51:06 customize UnixCCompiler 2019-06-27T00:51:06 customize UnixCCompiler using build_ext 2019-06-27T00:51:06 building 'ncreduce' extension 2019-06-27T00:51:06 compiling C++ sources 2019-06-27T00:51:06 C compiler: arm-linux-gnueabihf-g++ -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 2019-06-27T00:51:06 creating build/temp.linux-armv7l-3.7/ncreduce 2019-06-27T00:51:06 compile options: '-I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.7m -c' 2019-06-27T00:51:06 extra options: '-Wno-sign-compare' 2019-06-27T00:51:06 arm-linux-gnueabihf-g++: ncreduce/reduce.cpp 2019-06-27T00:51:07 In file included from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1822, 2019-06-27T00:51:07 from /usr/lib/python3/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, 2019-06-27T00:51:07 from ncreduce/reduce.cpp:11: 2019-06-27T00:51:07 /usr/lib/python3/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 2019-06-27T00:51:07 #warning "Using deprecated NumPy API, disable it with " \ 2019-06-27T00:51:07 ^~~~~~~ 2019-06-27T00:51:08 In file included from ncreduce/reduce.cpp:14: 2019-06-27T00:51:08 ncreduce/numpy_utils.hpp: In function ‘PyObject* numpy_utils::build_pyobject(T) [with T = int; PyObject = _object]’: 2019-06-27T00:51:08 ncreduce/numpy_utils.hpp:192:12: error: ‘PyInt_FromLong’ was not declared in this scope 2019-06-27T00:51:08 return PyInt_FromLong(val); 2019-06-27T00:51:08 ^~~~~~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/numpy_utils.hpp:192:12: note: suggested alternative: ‘PyLong_FromLong’ 2019-06-27T00:51:08 return PyInt_FromLong(val); 2019-06-27T00:51:08 ^~~~~~~~~~~~~~ 2019-06-27T00:51:08 PyLong_FromLong 2019-06-27T00:51:08 ncreduce/numpy_utils.hpp: In function ‘PyObject* numpy_utils::build_pyobject(T) [with T = char; PyObject = _object]’: 2019-06-27T00:51:08 ncreduce/numpy_utils.hpp:198:12: error: ‘PyInt_FromLong’ was not declared in this scope 2019-06-27T00:51:08 return PyInt_FromLong(val); 2019-06-27T00:51:08 ^~~~~~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/numpy_utils.hpp:198:12: note: suggested alternative: ‘PyLong_FromLong’ 2019-06-27T00:51:08 return PyInt_FromLong(val); 2019-06-27T00:51:08 ^~~~~~~~~~~~~~ 2019-06-27T00:51:08 PyLong_FromLong 2019-06-27T00:51:08 ncreduce/numpy_utils.hpp: In function ‘PyObject* numpy_utils::build_pyobject(T) [with T = unsigned char; PyObject = _object]’: 2019-06-27T00:51:08 ncreduce/numpy_utils.hpp:204:12: error: ‘PyInt_FromLong’ was not declared in this scope 2019-06-27T00:51:08 return PyInt_FromLong(val); 2019-06-27T00:51:08 ^~~~~~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/numpy_utils.hpp:204:12: note: suggested alternative: ‘PyLong_FromLong’ 2019-06-27T00:51:08 return PyInt_FromLong(val); 2019-06-27T00:51:08 ^~~~~~~~~~~~~~ 2019-06-27T00:51:08 PyLong_FromLong 2019-06-27T00:51:08 ncreduce/numpy_utils.hpp: In function ‘PyObject* numpy_utils::build_pyobject(T) [with T = short unsigned int; PyObject = _object]’: 2019-06-27T00:51:08 ncreduce/numpy_utils.hpp:210:12: error: ‘PyInt_FromLong’ was not declared in this scope 2019-06-27T00:51:08 return PyInt_FromLong(val); 2019-06-27T00:51:08 ^~~~~~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/numpy_utils.hpp:210:12: note: suggested alternative: ‘PyLong_FromLong’ 2019-06-27T00:51:08 return PyInt_FromLong(val); 2019-06-27T00:51:08 ^~~~~~~~~~~~~~ 2019-06-27T00:51:08 PyLong_FromLong 2019-06-27T00:51:08 ncreduce/numpy_utils.hpp: In function ‘PyObject* numpy_utils::build_pyobject(T) [with T = short int; PyObject = _object]’: 2019-06-27T00:51:08 ncreduce/numpy_utils.hpp:216:12: error: ‘PyInt_FromLong’ was not declared in this scope 2019-06-27T00:51:08 return PyInt_FromLong(val); 2019-06-27T00:51:08 ^~~~~~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/numpy_utils.hpp:216:12: note: suggested alternative: ‘PyLong_FromLong’ 2019-06-27T00:51:08 return PyInt_FromLong(val); 2019-06-27T00:51:08 ^~~~~~~~~~~~~~ 2019-06-27T00:51:08 PyLong_FromLong 2019-06-27T00:51:08 ncreduce/reduce.cpp: In static member function ‘static ResultsType {anonymous}::MinCompute::initial_value()’: 2019-06-27T00:51:08 ncreduce/reduce.cpp:203:54: error: ‘numeric_limits’ is not a member of ‘std’ 2019-06-27T00:51:08 static ResultsType initial_value() { return std::numeric_limits::max(); } 2019-06-27T00:51:08 ^~~~~~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp:203:80: error: expected primary-expression before ‘>’ token 2019-06-27T00:51:08 static ResultsType initial_value() { return std::numeric_limits::max(); } 2019-06-27T00:51:08 ^ 2019-06-27T00:51:08 ncreduce/reduce.cpp:203:83: error: ‘::max’ has not been declared 2019-06-27T00:51:08 static ResultsType initial_value() { return std::numeric_limits::max(); } 2019-06-27T00:51:08 ^~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp:203:83: note: suggested alternative: 2019-06-27T00:51:08 In file included from /usr/include/c++/8/bits/char_traits.h:39, 2019-06-27T00:51:08 from /usr/include/c++/8/ios:40, 2019-06-27T00:51:08 from /usr/include/c++/8/ostream:38, 2019-06-27T00:51:08 from /usr/include/c++/8/iterator:64, 2019-06-27T00:51:08 from ncreduce/reduce.cpp:6: 2019-06-27T00:51:08 /usr/include/c++/8/bits/stl_algobase.h:265:5: note: ‘std::max’ 2019-06-27T00:51:08 max(const _Tp& __a, const _Tp& __b, _Compare __comp) 2019-06-27T00:51:08 ^~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp: In static member function ‘static ResultsType {anonymous}::MaxCompute::initial_value()’: 2019-06-27T00:51:08 ncreduce/reduce.cpp:216:54: error: ‘numeric_limits’ is not a member of ‘std’ 2019-06-27T00:51:08 static ResultsType initial_value() { return std::numeric_limits::min(); } 2019-06-27T00:51:08 ^~~~~~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp:216:80: error: expected primary-expression before ‘>’ token 2019-06-27T00:51:08 static ResultsType initial_value() { return std::numeric_limits::min(); } 2019-06-27T00:51:08 ^ 2019-06-27T00:51:08 ncreduce/reduce.cpp:216:83: error: ‘::min’ has not been declared 2019-06-27T00:51:08 static ResultsType initial_value() { return std::numeric_limits::min(); } 2019-06-27T00:51:08 ^~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp:216:83: note: suggested alternative: 2019-06-27T00:51:08 In file included from /usr/include/c++/8/bits/char_traits.h:39, 2019-06-27T00:51:08 from /usr/include/c++/8/ios:40, 2019-06-27T00:51:08 from /usr/include/c++/8/ostream:38, 2019-06-27T00:51:08 from /usr/include/c++/8/iterator:64, 2019-06-27T00:51:08 from ncreduce/reduce.cpp:6: 2019-06-27T00:51:08 /usr/include/c++/8/bits/stl_algobase.h:243:5: note: ‘std::min’ 2019-06-27T00:51:08 min(const _Tp& __a, const _Tp& __b, _Compare __comp) 2019-06-27T00:51:08 ^~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp: In function ‘PyObject* {anonymous}::ncr_stddev(PyArrayObject*, PyObject*, PyObject*)’: 2019-06-27T00:51:08 ncreduce/reduce.cpp:408:75: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 static char *kwlist[] = {"array", "axis", "dtype", "out", "ddof", NULL}; 2019-06-27T00:51:08 ^ 2019-06-27T00:51:08 ncreduce/reduce.cpp:408:75: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 ncreduce/reduce.cpp:408:75: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 ncreduce/reduce.cpp:408:75: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 ncreduce/reduce.cpp:408:75: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 ncreduce/reduce.cpp: In function ‘PyObject* {anonymous}::ncr_var(PyArrayObject*, PyObject*, PyObject*)’: 2019-06-27T00:51:08 ncreduce/reduce.cpp:432:75: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 static char *kwlist[] = {"array", "axis", "dtype", "out", "ddof", NULL}; 2019-06-27T00:51:08 ^ 2019-06-27T00:51:08 ncreduce/reduce.cpp:432:75: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 ncreduce/reduce.cpp:432:75: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 ncreduce/reduce.cpp:432:75: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 ncreduce/reduce.cpp:432:75: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 ncreduce/reduce.cpp: In function ‘PyObject* {anonymous}::ncr_mean(PyArrayObject*, PyObject*, PyObject*)’: 2019-06-27T00:51:08 ncreduce/reduce.cpp:455:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 static char *kwlist[] = {"arrat","axis", "dtype", "out", NULL}; 2019-06-27T00:51:08 ^ 2019-06-27T00:51:08 ncreduce/reduce.cpp:455:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 ncreduce/reduce.cpp:455:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 ncreduce/reduce.cpp:455:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 ncreduce/reduce.cpp:473:22: error: ‘PyInt_FromLong’ was not declared in this scope 2019-06-27T00:51:08 PyObject* Nobj = PyInt_FromLong(N); 2019-06-27T00:51:08 ^~~~~~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp:473:22: note: suggested alternative: ‘PyLong_FromLong’ 2019-06-27T00:51:08 PyObject* Nobj = PyInt_FromLong(N); 2019-06-27T00:51:08 ^~~~~~~~~~~~~~ 2019-06-27T00:51:08 PyLong_FromLong 2019-06-27T00:51:08 ncreduce/reduce.cpp:478:25: error: ‘PyNumber_InPlaceDivide’ was not declared in this scope 2019-06-27T00:51:08 PyObject* output2 = PyNumber_InPlaceDivide(output,Nobj); 2019-06-27T00:51:08 ^~~~~~~~~~~~~~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp:478:25: note: suggested alternative: ‘PyNumber_InPlaceTrueDivide’ 2019-06-27T00:51:08 PyObject* output2 = PyNumber_InPlaceDivide(output,Nobj); 2019-06-27T00:51:08 ^~~~~~~~~~~~~~~~~~~~~~ 2019-06-27T00:51:08 PyNumber_InPlaceTrueDivide 2019-06-27T00:51:08 ncreduce/reduce.cpp: In function ‘PyObject* {anonymous}::ncr_ptp(PyArrayObject*, PyObject*, PyObject*)’: 2019-06-27T00:51:08 ncreduce/reduce.cpp:490:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 static char *kwlist[] = {"arrat","axis", "dtype", "out", NULL}; 2019-06-27T00:51:08 ^ 2019-06-27T00:51:08 ncreduce/reduce.cpp:490:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 ncreduce/reduce.cpp:490:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 ncreduce/reduce.cpp:490:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 ncreduce/reduce.cpp: In function ‘PyObject* {anonymous}::ncr_any(PyArrayObject*, PyObject*, PyObject*)’: 2019-06-27T00:51:08 ncreduce/reduce.cpp:517:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 static char *kwlist[] = {"array","axis", "out", NULL}; 2019-06-27T00:51:08 ^ 2019-06-27T00:51:08 ncreduce/reduce.cpp:517:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 ncreduce/reduce.cpp:517:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 ncreduce/reduce.cpp:515:20: warning: unused variable ‘dtype’ [-Wunused-variable] 2019-06-27T00:51:08 PyArray_Descr *dtype=NULL; 2019-06-27T00:51:08 ^~~~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp: In function ‘PyObject* {anonymous}::ncr_all(PyArrayObject*, PyObject*, PyObject*)’: 2019-06-27T00:51:08 ncreduce/reduce.cpp:537:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 static char *kwlist[] = {"array","axis", "out", NULL}; 2019-06-27T00:51:08 ^ 2019-06-27T00:51:08 ncreduce/reduce.cpp:537:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 ncreduce/reduce.cpp:537:57: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 ncreduce/reduce.cpp:535:20: warning: unused variable ‘dtype’ [-Wunused-variable] 2019-06-27T00:51:08 PyArray_Descr *dtype=NULL; 2019-06-27T00:51:08 ^~~~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp: In function ‘PyObject* {anonymous}::ncr_sum(PyArrayObject*, PyObject*, PyObject*)’: 2019-06-27T00:51:08 ncreduce/reduce.cpp:558:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 static char *kwlist[] = {"array","axis", "dtype", "out", NULL}; \ 2019-06-27T00:51:08 ^ 2019-06-27T00:51:08 ncreduce/reduce.cpp:574:1: note: in expansion of macro ‘BASIC_FUNC’ 2019-06-27T00:51:08 BASIC_FUNC(ncr_sum,SumCompute) 2019-06-27T00:51:08 ^~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp:558:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 static char *kwlist[] = {"array","axis", "dtype", "out", NULL}; \ 2019-06-27T00:51:08 ^ 2019-06-27T00:51:08 ncreduce/reduce.cpp:574:1: note: in expansion of macro ‘BASIC_FUNC’ 2019-06-27T00:51:08 BASIC_FUNC(ncr_sum,SumCompute) 2019-06-27T00:51:08 ^~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp:558:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 static char *kwlist[] = {"array","axis", "dtype", "out", NULL}; \ 2019-06-27T00:51:08 ^ 2019-06-27T00:51:08 ncreduce/reduce.cpp:574:1: note: in expansion of macro ‘BASIC_FUNC’ 2019-06-27T00:51:08 BASIC_FUNC(ncr_sum,SumCompute) 2019-06-27T00:51:08 ^~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp:558:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 static char *kwlist[] = {"array","axis", "dtype", "out", NULL}; \ 2019-06-27T00:51:08 ^ 2019-06-27T00:51:08 ncreduce/reduce.cpp:574:1: note: in expansion of macro ‘BASIC_FUNC’ 2019-06-27T00:51:08 BASIC_FUNC(ncr_sum,SumCompute) 2019-06-27T00:51:08 ^~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp: In function ‘PyObject* {anonymous}::ncr_prod(PyArrayObject*, PyObject*, PyObject*)’: 2019-06-27T00:51:08 ncreduce/reduce.cpp:558:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 static char *kwlist[] = {"array","axis", "dtype", "out", NULL}; \ 2019-06-27T00:51:08 ^ 2019-06-27T00:51:08 ncreduce/reduce.cpp:575:1: note: in expansion of macro ‘BASIC_FUNC’ 2019-06-27T00:51:08 BASIC_FUNC(ncr_prod,ProdCompute) 2019-06-27T00:51:08 ^~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp:558:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 static char *kwlist[] = {"array","axis", "dtype", "out", NULL}; \ 2019-06-27T00:51:08 ^ 2019-06-27T00:51:08 ncreduce/reduce.cpp:575:1: note: in expansion of macro ‘BASIC_FUNC’ 2019-06-27T00:51:08 BASIC_FUNC(ncr_prod,ProdCompute) 2019-06-27T00:51:08 ^~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp:558:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 static char *kwlist[] = {"array","axis", "dtype", "out", NULL}; \ 2019-06-27T00:51:08 ^ 2019-06-27T00:51:08 ncreduce/reduce.cpp:575:1: note: in expansion of macro ‘BASIC_FUNC’ 2019-06-27T00:51:08 BASIC_FUNC(ncr_prod,ProdCompute) 2019-06-27T00:51:08 ^~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp:558:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 static char *kwlist[] = {"array","axis", "dtype", "out", NULL}; \ 2019-06-27T00:51:08 ^ 2019-06-27T00:51:08 ncreduce/reduce.cpp:575:1: note: in expansion of macro ‘BASIC_FUNC’ 2019-06-27T00:51:08 BASIC_FUNC(ncr_prod,ProdCompute) 2019-06-27T00:51:08 ^~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp: In function ‘PyObject* {anonymous}::ncr_max(PyArrayObject*, PyObject*, PyObject*)’: 2019-06-27T00:51:08 ncreduce/reduce.cpp:558:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 static char *kwlist[] = {"array","axis", "dtype", "out", NULL}; \ 2019-06-27T00:51:08 ^ 2019-06-27T00:51:08 ncreduce/reduce.cpp:576:1: note: in expansion of macro ‘BASIC_FUNC’ 2019-06-27T00:51:08 BASIC_FUNC(ncr_max,MaxCompute) 2019-06-27T00:51:08 ^~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp:558:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 static char *kwlist[] = {"array","axis", "dtype", "out", NULL}; \ 2019-06-27T00:51:08 ^ 2019-06-27T00:51:08 ncreduce/reduce.cpp:576:1: note: in expansion of macro ‘BASIC_FUNC’ 2019-06-27T00:51:08 BASIC_FUNC(ncr_max,MaxCompute) 2019-06-27T00:51:08 ^~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp:558:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 static char *kwlist[] = {"array","axis", "dtype", "out", NULL}; \ 2019-06-27T00:51:08 ^ 2019-06-27T00:51:08 ncreduce/reduce.cpp:576:1: note: in expansion of macro ‘BASIC_FUNC’ 2019-06-27T00:51:08 BASIC_FUNC(ncr_max,MaxCompute) 2019-06-27T00:51:08 ^~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp:558:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 static char *kwlist[] = {"array","axis", "dtype", "out", NULL}; \ 2019-06-27T00:51:08 ^ 2019-06-27T00:51:08 ncreduce/reduce.cpp:576:1: note: in expansion of macro ‘BASIC_FUNC’ 2019-06-27T00:51:08 BASIC_FUNC(ncr_max,MaxCompute) 2019-06-27T00:51:08 ^~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp: In function ‘PyObject* {anonymous}::ncr_min(PyArrayObject*, PyObject*, PyObject*)’: 2019-06-27T00:51:08 ncreduce/reduce.cpp:558:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 static char *kwlist[] = {"array","axis", "dtype", "out", NULL}; \ 2019-06-27T00:51:08 ^ 2019-06-27T00:51:08 ncreduce/reduce.cpp:577:1: note: in expansion of macro ‘BASIC_FUNC’ 2019-06-27T00:51:08 BASIC_FUNC(ncr_min,MinCompute) 2019-06-27T00:51:08 ^~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp:558:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 static char *kwlist[] = {"array","axis", "dtype", "out", NULL}; \ 2019-06-27T00:51:08 ^ 2019-06-27T00:51:08 ncreduce/reduce.cpp:577:1: note: in expansion of macro ‘BASIC_FUNC’ 2019-06-27T00:51:08 BASIC_FUNC(ncr_min,MinCompute) 2019-06-27T00:51:08 ^~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp:558:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 static char *kwlist[] = {"array","axis", "dtype", "out", NULL}; \ 2019-06-27T00:51:08 ^ 2019-06-27T00:51:08 ncreduce/reduce.cpp:577:1: note: in expansion of macro ‘BASIC_FUNC’ 2019-06-27T00:51:08 BASIC_FUNC(ncr_min,MinCompute) 2019-06-27T00:51:08 ^~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp:558:66: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 2019-06-27T00:51:08 static char *kwlist[] = {"array","axis", "dtype", "out", NULL}; \ 2019-06-27T00:51:08 ^ 2019-06-27T00:51:08 ncreduce/reduce.cpp:577:1: note: in expansion of macro ‘BASIC_FUNC’ 2019-06-27T00:51:08 BASIC_FUNC(ncr_min,MinCompute) 2019-06-27T00:51:08 ^~~~~~~~~~ 2019-06-27T00:51:08 In file included from /usr/include/unistd.h:226, 2019-06-27T00:51:08 from /usr/include/python3.7m/Python.h:36, 2019-06-27T00:51:08 from ncreduce/reduce.cpp:10: 2019-06-27T00:51:08 ncreduce/reduce.cpp: In function ‘void initncreduce()’: 2019-06-27T00:51:08 /usr/lib/python3/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1541:35: error: return-statement with a value, in function returning ‘void’ [-fpermissive] 2019-06-27T00:51:08 #define NUMPY_IMPORT_ARRAY_RETVAL NULL 2019-06-27T00:51:08 ^~~~ 2019-06-27T00:51:08 /usr/lib/python3/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1546:151: note: in expansion of macro ‘NUMPY_IMPORT_ARRAY_RETVAL’ 2019-06-27T00:51:08 #define import_array() {if (_import_array() < 0) {PyErr_Print(); PyErr_SetString(PyExc_ImportError, "numpy.core.multiarray failed to import"); return NUMPY_IMPORT_ARRAY_RETVAL; } } 2019-06-27T00:51:08 ^~~~~~~~~~~~~~~~~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp:678:5: note: in expansion of macro ‘import_array’ 2019-06-27T00:51:08 import_array(); 2019-06-27T00:51:08 ^~~~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp:679:11: error: ‘Py_InitModule3’ was not declared in this scope 2019-06-27T00:51:08 (void)Py_InitModule3("ncreduce", methods, module_doc); 2019-06-27T00:51:08 ^~~~~~~~~~~~~~ 2019-06-27T00:51:08 ncreduce/reduce.cpp:679:11: note: suggested alternative: ‘Py_Initialize’ 2019-06-27T00:51:08 (void)Py_InitModule3("ncreduce", methods, module_doc); 2019-06-27T00:51:08 ^~~~~~~~~~~~~~ 2019-06-27T00:51:08 Py_Initialize 2019-06-27T00:51:14 ncreduce/reduce.cpp: In instantiation of ‘static void {anonymous}::ProdCompute::compute(PyArrayObject*, int, IteratorType, size_type, ResultIteratorType, {anonymous}::EmptyType) [with IteratorType = bool*; ResultIteratorType = numpy_utils::no_iterator_type; PyArrayObject = tagPyArrayObject_fields; size_type = unsigned int]’: 2019-06-27T00:51:14 ncreduce/reduce.cpp:258:34: required from ‘PyObject* {anonymous}::reduce(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; BaseType = bool; ResultsType = bool; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:366:5: required from ‘PyObject* {anonymous}::reduce_dispatch2(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; ResultsType = bool; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:376:5: required from ‘PyObject* {anonymous}::reduce_dispatch(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:575:1: required from here 2019-06-27T00:51:14 ncreduce/reduce.cpp:58:21: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 2019-06-27T00:51:14 *result *= *data; 2019-06-27T00:51:14 ~~~~~~~~^~~~~~~~ 2019-06-27T00:51:14 ncreduce/reduce.cpp: In instantiation of ‘static void {anonymous}::ProdCompute::compute(PyArrayObject*, int, IteratorType, size_type, ResultIteratorType, {anonymous}::EmptyType) [with IteratorType = char*; ResultIteratorType = numpy_utils::no_iterator_type; PyArrayObject = tagPyArrayObject_fields; size_type = unsigned int]’: 2019-06-27T00:51:14 ncreduce/reduce.cpp:258:34: required from ‘PyObject* {anonymous}::reduce(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; BaseType = char; ResultsType = bool; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:366:5: required from ‘PyObject* {anonymous}::reduce_dispatch2(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; ResultsType = bool; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:376:5: required from ‘PyObject* {anonymous}::reduce_dispatch(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:575:1: required from here 2019-06-27T00:51:14 ncreduce/reduce.cpp:58:21: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 2019-06-27T00:51:14 ncreduce/reduce.cpp: In instantiation of ‘static void {anonymous}::ProdCompute::compute(PyArrayObject*, int, IteratorType, size_type, ResultIteratorType, {anonymous}::EmptyType) [with IteratorType = unsigned char*; ResultIteratorType = numpy_utils::no_iterator_type; PyArrayObject = tagPyArrayObject_fields; size_type = unsigned int]’: 2019-06-27T00:51:14 ncreduce/reduce.cpp:258:34: required from ‘PyObject* {anonymous}::reduce(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; BaseType = unsigned char; ResultsType = bool; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:366:5: required from ‘PyObject* {anonymous}::reduce_dispatch2(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; ResultsType = bool; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:376:5: required from ‘PyObject* {anonymous}::reduce_dispatch(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:575:1: required from here 2019-06-27T00:51:14 ncreduce/reduce.cpp:58:21: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 2019-06-27T00:51:14 ncreduce/reduce.cpp: In instantiation of ‘static void {anonymous}::ProdCompute::compute(PyArrayObject*, int, IteratorType, size_type, ResultIteratorType, {anonymous}::EmptyType) [with IteratorType = short unsigned int*; ResultIteratorType = numpy_utils::no_iterator_type; PyArrayObject = tagPyArrayObject_fields; size_type = unsigned int]’: 2019-06-27T00:51:14 ncreduce/reduce.cpp:258:34: required from ‘PyObject* {anonymous}::reduce(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; BaseType = short unsigned int; ResultsType = bool; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:366:5: required from ‘PyObject* {anonymous}::reduce_dispatch2(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; ResultsType = bool; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:376:5: required from ‘PyObject* {anonymous}::reduce_dispatch(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:575:1: required from here 2019-06-27T00:51:14 ncreduce/reduce.cpp:58:21: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 2019-06-27T00:51:14 ncreduce/reduce.cpp: In instantiation of ‘static void {anonymous}::ProdCompute::compute(PyArrayObject*, int, IteratorType, size_type, ResultIteratorType, {anonymous}::EmptyType) [with IteratorType = short int*; ResultIteratorType = numpy_utils::no_iterator_type; PyArrayObject = tagPyArrayObject_fields; size_type = unsigned int]’: 2019-06-27T00:51:14 ncreduce/reduce.cpp:258:34: required from ‘PyObject* {anonymous}::reduce(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; BaseType = short int; ResultsType = bool; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:366:5: required from ‘PyObject* {anonymous}::reduce_dispatch2(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; ResultsType = bool; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:376:5: required from ‘PyObject* {anonymous}::reduce_dispatch(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:575:1: required from here 2019-06-27T00:51:14 ncreduce/reduce.cpp:58:21: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 2019-06-27T00:51:14 ncreduce/reduce.cpp: In instantiation of ‘static void {anonymous}::ProdCompute::compute(PyArrayObject*, int, IteratorType, size_type, ResultIteratorType, {anonymous}::EmptyType) [with IteratorType = unsigned int*; ResultIteratorType = numpy_utils::no_iterator_type; PyArrayObject = tagPyArrayObject_fields; size_type = unsigned int]’: 2019-06-27T00:51:14 ncreduce/reduce.cpp:258:34: required from ‘PyObject* {anonymous}::reduce(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; BaseType = unsigned int; ResultsType = bool; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:366:5: required from ‘PyObject* {anonymous}::reduce_dispatch2(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; ResultsType = bool; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:376:5: required from ‘PyObject* {anonymous}::reduce_dispatch(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:575:1: required from here 2019-06-27T00:51:14 ncreduce/reduce.cpp:58:21: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 2019-06-27T00:51:14 ncreduce/reduce.cpp: In instantiation of ‘static void {anonymous}::ProdCompute::compute(PyArrayObject*, int, IteratorType, size_type, ResultIteratorType, {anonymous}::EmptyType) [with IteratorType = int*; ResultIteratorType = numpy_utils::no_iterator_type; PyArrayObject = tagPyArrayObject_fields; size_type = unsigned int]’: 2019-06-27T00:51:14 ncreduce/reduce.cpp:258:34: required from ‘PyObject* {anonymous}::reduce(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; BaseType = int; ResultsType = bool; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:366:5: required from ‘PyObject* {anonymous}::reduce_dispatch2(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; ResultsType = bool; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:376:5: required from ‘PyObject* {anonymous}::reduce_dispatch(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:575:1: required from here 2019-06-27T00:51:14 ncreduce/reduce.cpp:58:21: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 2019-06-27T00:51:14 ncreduce/reduce.cpp: In instantiation of ‘static void {anonymous}::ProdCompute::compute(PyArrayObject*, int, IteratorType, size_type, ResultIteratorType, {anonymous}::EmptyType) [with IteratorType = long int*; ResultIteratorType = numpy_utils::no_iterator_type; PyArrayObject = tagPyArrayObject_fields; size_type = unsigned int]’: 2019-06-27T00:51:14 ncreduce/reduce.cpp:258:34: required from ‘PyObject* {anonymous}::reduce(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; BaseType = long int; ResultsType = bool; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:366:5: required from ‘PyObject* {anonymous}::reduce_dispatch2(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; ResultsType = bool; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:376:5: required from ‘PyObject* {anonymous}::reduce_dispatch(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:575:1: required from here 2019-06-27T00:51:14 ncreduce/reduce.cpp:58:21: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 2019-06-27T00:51:14 ncreduce/reduce.cpp: In instantiation of ‘static void {anonymous}::ProdCompute::compute(PyArrayObject*, int, IteratorType, size_type, ResultIteratorType, {anonymous}::EmptyType) [with IteratorType = long unsigned int*; ResultIteratorType = numpy_utils::no_iterator_type; PyArrayObject = tagPyArrayObject_fields; size_type = unsigned int]’: 2019-06-27T00:51:14 ncreduce/reduce.cpp:258:34: required from ‘PyObject* {anonymous}::reduce(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; BaseType = long unsigned int; ResultsType = bool; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:366:5: required from ‘PyObject* {anonymous}::reduce_dispatch2(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; ResultsType = bool; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:376:5: required from ‘PyObject* {anonymous}::reduce_dispatch(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:575:1: required from here 2019-06-27T00:51:14 ncreduce/reduce.cpp:58:21: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 2019-06-27T00:51:14 ncreduce/reduce.cpp: In instantiation of ‘static void {anonymous}::ProdCompute::compute(PyArrayObject*, int, IteratorType, size_type, ResultIteratorType, {anonymous}::EmptyType) [with IteratorType = float*; ResultIteratorType = numpy_utils::no_iterator_type; PyArrayObject = tagPyArrayObject_fields; size_type = unsigned int]’: 2019-06-27T00:51:14 ncreduce/reduce.cpp:258:34: required from ‘PyObject* {anonymous}::reduce(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; BaseType = float; ResultsType = bool; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:366:5: required from ‘PyObject* {anonymous}::reduce_dispatch2(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; ResultsType = bool; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:376:5: required from ‘PyObject* {anonymous}::reduce_dispatch(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:575:1: required from here 2019-06-27T00:51:14 ncreduce/reduce.cpp:58:21: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 2019-06-27T00:51:14 ncreduce/reduce.cpp: In instantiation of ‘static void {anonymous}::ProdCompute::compute(PyArrayObject*, int, IteratorType, size_type, ResultIteratorType, {anonymous}::EmptyType) [with IteratorType = double*; ResultIteratorType = numpy_utils::no_iterator_type; PyArrayObject = tagPyArrayObject_fields; size_type = unsigned int]’: 2019-06-27T00:51:14 ncreduce/reduce.cpp:258:34: required from ‘PyObject* {anonymous}::reduce(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; BaseType = double; ResultsType = bool; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:366:5: required from ‘PyObject* {anonymous}::reduce_dispatch2(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; ResultsType = bool; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:376:5: required from ‘PyObject* {anonymous}::reduce_dispatch(PyArrayObject*, PyArrayObject*, int, int, typename TraitsObject::ExtraParamsType) [with TraitsObject = {anonymous}::ProdCompute; PyObject = _object; PyArrayObject = tagPyArrayObject_fields; typename TraitsObject::ExtraParamsType = {anonymous}::EmptyType]’ 2019-06-27T00:51:14 ncreduce/reduce.cpp:575:1: required from here 2019-06-27T00:51:14 ncreduce/reduce.cpp:58:21: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 2019-06-27T00:51:18 error: Command "arm-linux-gnueabihf-g++ -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -I/usr/include/python3.7m -c ncreduce/reduce.cpp -o build/temp.linux-armv7l-3.7/ncreduce/reduce.o -MMD -MF build/temp.linux-armv7l-3.7/ncreduce/reduce.o.d -Wno-sign-compare" failed with exit status 1 2019-06-27T00:51:18 Building wheel for ncreduce (setup.py): finished with status 'error' 2019-06-27T00:51:18 ERROR: Failed building wheel for ncreduce 2019-06-27T00:51:18 Running setup.py clean for ncreduce 2019-06-27T00:51:18 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-0plxkxgi/ncreduce/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all 2019-06-27T00:51:20 running clean 2019-06-27T00:51:20 removing 'build/temp.linux-armv7l-3.7' (and everything under it) 2019-06-27T00:51:20 'build/lib.linux-armv7l-3.7' does not exist -- can't clean it 2019-06-27T00:51:20 'build/bdist.linux-armv7l' does not exist -- can't clean it 2019-06-27T00:51:20 'build/scripts.linux-armv7l-3.7' does not exist -- can't clean it 2019-06-27T00:51:20 removing 'build' 2019-06-27T00:51:20 Failed to build ncreduce 2019-06-27T00:51:20 Cleaning up... 2019-06-27T00:51:20 Removing source in /tmp/pip-wheel-0plxkxgi/ncreduce 2019-06-27T00:51:20 Removed build tracker '/tmp/pip-req-tracker-1r86ts9k' 2019-06-27T00:51:20 ERROR: Failed to build one or more wheels 2019-06-27T00:51:20 Exception information: 2019-06-27T00:51:20 Traceback (most recent call last): 2019-06-27T00:51:20 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/base_command.py", line 178, in main 2019-06-27T00:51:20 status = self.run(options, args) 2019-06-27T00:51:20 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/commands/wheel.py", line 178, in run 2019-06-27T00:51:20 "Failed to build one or more wheels" 2019-06-27T00:51:20 pip._internal.exceptions.CommandError: Failed to build one or more wheels