Open bjsmith opened 2 years ago
We can confirm this by trying to install pyyawt
directly.
(test_rsHRF) localuser@localmachine % pip install pyyawt
Collecting pyyawt
Using cached pyyawt-0.1.1.zip (450 kB)
Building wheels for collected packages: pyyawt
Building wheel for pyyawt (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /Users/localuser/anaconda/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/cj/4mb6t1f906j397tj71pxfxz00000gn/T/pip-install-aga1s1xf/pyyawt/setup.py'"'"'; __file__='"'"'/private/var/folders/cj/4mb6t1f906j397tj71pxfxz00000gn/T/pip-install-aga1s1xf/pyyawt/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 /private/var/folders/cj/4mb6t1f906j397tj71pxfxz00000gn/T/pip-wheel-6ijpe204
cwd: /private/var/folders/cj/4mb6t1f906j397tj71pxfxz00000gn/T/pip-install-aga1s1xf/pyyawt/
Complete output (464 lines):
running bdist_wheel
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
creating build
creating build/src.macosx-10.7-x86_64-3.6
creating build/src.macosx-10.7-x86_64-3.6/pyyawt
building extension "pyyawt._pyyawt" sources
building data_files sources
build_src: building npy-pkg config files
running build_py
creating build/lib.macosx-10.7-x86_64-3.6
creating build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying pyyawt/dwt3d.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying pyyawt/dwt2d.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying pyyawt/dwt1d.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying pyyawt/dwt.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying pyyawt/version.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying pyyawt/denoising.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying pyyawt/cwt.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying pyyawt/utility.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying pyyawt/__init__.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying pyyawt/__config__.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying pyyawt/setup.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying pyyawt/swt.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying pyyawt/cowt.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying build/src.macosx-10.7-x86_64-3.6/pyyawt/__config__.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building 'pyyawt._pyyawt' extension
compiling C sources
C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/localuser/anaconda/include -arch x86_64 -I/Users/localuser/anaconda/include -arch x86_64
creating build/temp.macosx-10.7-x86_64-3.6/pyyawt
creating build/temp.macosx-10.7-x86_64-3.6/pyyawt/src
compile options: '-DPY_EXTENSION -Ipyyawt/src -I/Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include -I/Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include -I/Users/localuser/anaconda/include/python3.6m -c'
gcc: pyyawt/src/_pyyawt.c
gcc: pyyawt/src/bathlets.c
gcc: pyyawt/src/beylkin.c
gcc: pyyawt/src/bior.c
gcc: pyyawt/src/bior_t.c
gcc: pyyawt/src/coiflets.c
gcc: pyyawt/src/cowt.c
gcc: pyyawt/src/cwt.c
In file included from pyyawt/src/beylkin.c:24:
pyyawt/src/swtlib.h:673:32: In file included from pyyawt/src/cowt.c:23:
In file included from pyyawt/src/bior.c:24:
pyyawt/src/swtlib.h:673:32: In file included from pyyawt/src/bathlets.cIn file included from pyyawt/src/swtlib.hIn file included from pyyawt/src/coiflets.c::2424:
:
pyyawt/src/cwt.c:23pyyawt/src/swtlib.h:
::673673::3232:: pyyawt/src/swtlib.h:673:32In file included from pyyawt/src/bior_t.c:25:
pyyawt/src/swtlib.hpyyawt/src/swtlib.h:673:32: : :673:32: warning: warning: this function declaration is not a prototype [-Wstrict-prototypes]
warning: this function declaration is not a prototype [-Wstrict-prototypes]warning:
this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
void filter_clear ();
^
void
warning: this function declaration is not a prototype [-Wstrict-prototypes]
warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void
extend_method getdwtMode();
^
void
warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
void filter_clear ();
^
voidpyyawt/src/swtlib.hpyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
this function declaration is not a prototype [-Wstrict-prototypes] void filter_clear ();
void filter_clear ();
^
void
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
pyyawt/src/swtlib.h:689: extend_method getdwtMode();38
: ^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
In file included from pyyawt/src/cwt.c:24:
pyyawt/src/kiss_fft.h:8:10: fatal error: 'malloc.h' file not found
#include <malloc.h>
^~~~~~~~~~
pyyawt/src/bior.c:248:25: warning: unused variable 'pFilterCoefMirror' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
pyyawt/src/bior.c:248:11: warning: unused variable 'pFilterCoef' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
pyyawt/src/bior_t.c:363:1: warning: unused function 'bspline_init' [-Wunused-function]
bspline_init (const double **h1, const double **g1,
^
2 warnings and 1 error generated.
gcc: pyyawt/src/daubechies.c
pyyawt/src/bior.c:433:25: warning: unused variable 'pFilterCoefMirror' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
pyyawt/src/bior.c:433:11: warning: unused variable 'pFilterCoef' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
pyyawt/src/bathlets.c:466:11: warning: unused variable 'pFilterCoef' [-Wunused-variable]
double *pFilterCoef;
^
pyyawt/src/bior.c:619:25: warning: unused variable 'pFilterCoefMirror' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
pyyawt/src/bior.c:619:11: warning: unused variable 'pFilterCoef' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
pyyawt/src/bior.c:804:25: warning: unused variable 'pFilterCoefMirror' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
pyyawt/src/bior.c:804:11: warning: unused variable 'pFilterCoef' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
In file included from pyyawt/src/daubechies.c:27:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
In file included from pyyawt/src/_pyyawt.c:239:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
3 warnings generated.
gcc: pyyawt/src/dmey.c
In file included from pyyawt/src/_pyyawt.c:244:
In file included from /Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1824:
/Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
^
In file included from pyyawt/src/dmey.c:25:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
2 warnings generated.
3 warnings generated.
2 warnings generated.
2 warnings generated.
2 warnings generated.
gcc: pyyawt/src/dwt1d.c
10 warnings generated.
pyyawt/src/_pyyawt.c:17558:134: warning: code will never be executed [-Wunreachable-code]
__pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_3); __pyx_t_2++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 794; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
^~~~~~~
gcc: pyyawt/src/dwt2d.c
gcc: pyyawt/src/dwt3d.c
gcc: pyyawt/src/haar.c
gcc: pyyawt/src/farras.c
2 warnings generated.
pyyawt/src/_pyyawt.c:21882:26: warning: code will never be executed [-Wunreachable-code]
module = PyImport_ImportModuleLevelObject(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc: pyyawt/src/kingsbury.c
In file included from pyyawt/src/_pyyawt.c:244:
In file included from /Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:21:
/Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/__multiarray_api.h:1463:1: warning: unused function '_import_array' [-Wunused-function]
_import_array(void)
^
pyyawt/src/_pyyawt.c:22960:32: warning: unused function '__Pyx_PyUnicode_FromString' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
^
pyyawt/src/_pyyawt.c:23075:33: warning: unused function '__Pyx_PyIndex_AsSsize_t' [-Wunused-function]
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
^
pyyawt/src/_pyyawt.c:23137:33: warning: unused function '__Pyx_PyInt_FromSize_t' [-Wunused-function]
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
^
pyyawt/src/_pyyawt.c:22369:48: warning: unused function '__pyx_t_float_complex_from_parts' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __pyx_t_float_complex_from_parts(float x, float y) {
^
pyyawt/src/_pyyawt.c:22379:30: warning: unused function '__Pyx_c_eqf' [-Wunused-function]
static CYTHON_INLINE int __Pyx_c_eqf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
^
pyyawt/src/_pyyawt.c:22382:48: warning: unused function '__Pyx_c_sumf' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_sumf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
^
pyyawt/src/_pyyawt.c:22388:48: warning: unused function '__Pyx_c_difff' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_difff(__pyx_t_float_complex a, __pyx_t_float_complex b) {
^
pyyawt/src/_pyyawt.c:22400:48: warning: unused function '__Pyx_c_quotf' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_quotf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
^
pyyawt/src/_pyyawt.c:22407:48: warning: unused function '__Pyx_c_negf' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_negf(__pyx_t_float_complex a) {
^
pyyawt/src/_pyyawt.c:22413:30: warning: unused function '__Pyx_c_is_zerof' [-Wunused-function]
static CYTHON_INLINE int __Pyx_c_is_zerof(__pyx_t_float_complex a) {
^
pyyawt/src/_pyyawt.c:22416:48: warning: unused function '__Pyx_c_conjf' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_conjf(__pyx_t_float_complex a) {
^
pyyawt/src/_pyyawt.c:22430:52: warning: unused function '__Pyx_c_powf' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_powf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
^
pyyawt/src/_pyyawt.c:22489:49: warning: unused function '__pyx_t_double_complex_from_parts' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(double x, double y) {
^
pyyawt/src/_pyyawt.c:22499:30: warning: unused function '__Pyx_c_eq' [-Wunused-function]
static CYTHON_INLINE int __Pyx_c_eq(__pyx_t_double_complex a, __pyx_t_double_complex b) {
^
pyyawt/src/_pyyawt.c:22502:49: warning: unused function '__Pyx_c_sum' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_sum(__pyx_t_double_complex a, __pyx_t_double_complex b) {
^
pyyawt/src/_pyyawt.c:22508:49: warning: unused function '__Pyx_c_diff' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_diff(__pyx_t_double_complex a, __pyx_t_double_complex b) {
^
pyyawt/src/_pyyawt.c:22520:49: warning: unused function '__Pyx_c_quot' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_quot(__pyx_t_double_complex a, __pyx_t_double_complex b) {
^
pyyawt/src/_pyyawt.c:22527:49: warning: unused function '__Pyx_c_neg' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_neg(__pyx_t_double_complex a) {
^
pyyawt/src/_pyyawt.c:22533:30: warning: unused function '__Pyx_c_is_zero' [-Wunused-function]
static CYTHON_INLINE int __Pyx_c_is_zero(__pyx_t_double_complex a) {
^
pyyawt/src/_pyyawt.c:22536:49: warning: unused function '__Pyx_c_conj' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_conj(__pyx_t_double_complex a) {
^
pyyawt/src/_pyyawt.c:22550:53: warning: unused function '__Pyx_c_pow' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_pow(__pyx_t_double_complex a, __pyx_t_double_complex b) {
^
pyyawt/src/_pyyawt.c:22624:32: warning: unused function '__Pyx_PyInt_From_long' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
^
pyyawt/src/_pyyawt.c:22650:27: warning: function '__Pyx_PyInt_As_long' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
^
pyyawt/src/_pyyawt.c:17251:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew1' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__pyx_v_a) {
^
pyyawt/src/_pyyawt.c:17301:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew2' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__pyx_v_a, PyObject *__pyx_v_b) {
^
pyyawt/src/_pyyawt.c:17351:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew3' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c) {
^
pyyawt/src/_pyyawt.c:17401:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew4' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c, PyObject *__pyx_v_d) {
^
pyyawt/src/_pyyawt.c:17451:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew5' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c, PyObject *__pyx_v_d, PyObject *__pyx_v_e) {
^
pyyawt/src/_pyyawt.c:18259:27: warning: unused function '__pyx_f_5numpy_set_array_base' [-Wunused-function]
static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_arr, PyObject *__pyx_v_base) {
^
pyyawt/src/_pyyawt.c:18355:32: warning: unused function '__pyx_f_5numpy_get_array_base' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__pyx_v_arr) {
^
gcc: pyyawt/src/kiss_fft.c
In file included from pyyawt/src/dwt1d.c:23:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
pyyawt/src/dwt1d.c:28:26: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes]
extend_method getdwtMode(){
^
In file included from pyyawt/src/dwt2d.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/dwt1d.c:38:14: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes]
filter_clear ()
^
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
pyyawt/src/dwt1d.c:99:11: error: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Werror,-Wimplicit-function-declaration]
if (strcmp(wname,wi[count].wname) == 0)
^
pyyawt/src/dwt1d.c:99:11: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
pyyawt/src/dwt1d.c:235:4: error: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Werror,-Wimplicit-function-declaration]
strcpy(*str1,ei[count].extMethodName);
^
pyyawt/src/dwt1d.c:235:4: note: include the header <string.h> or explicitly provide a declaration for 'strcpy'
pyyawt/src/dwt2d.c:318:7: warning: variable 'filterOutLength' set but not used [-Wunused-but-set-variable]
int filterOutLength;
^
pyyawt/src/dwt2d.c:415:8: warning: unused variable 'c' [-Wunused-variable]
char c='b';
^
pyyawt/src/dwt2d.c:413:7: warning: variable 'filterOutLength' set but not used [-Wunused-but-set-variable]
int filterOutLength;
^
pyyawt/src/dwt1d.c:1186:8: warning: unused variable 'c' [-Wunused-variable]
char c='a';
^
5 warnings and 2 errors generated.
pyyawt/src/dwt2d.c:814:7: error: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Werror,-Wimplicit-function-declaration]
if (strcmp (coefType, "h") == 0)
^
pyyawt/src/dwt2d.c:814:7: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
gcc: pyyawt/src/legendre.c
pyyawt/src/dwt2d.c:1396:7: warning: variable 'filterOutLength' set but not used [-Wunused-but-set-variable]
int filterOutLength;
^
pyyawt/src/dwt2d.c:1398:8: warning: unused variable 'c' [-Wunused-variable]
char c='b';
^
7 warnings and 1 error generated.
gcc: pyyawt/src/swt.c
In file included from pyyawt/src/haar.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
In file included from pyyawt/src/farras.c:25:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
2 warnings generated.
In file included from pyyawt/src/dwt3d.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
gcc: pyyawt/src/symlets.c
In file included from pyyawt/src/kingsbury.c:25:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
In file included from pyyawt/src/kiss_fft.c:16:
In file included from pyyawt/src/_kiss_fft_guts.h:19:
pyyawt/src/kiss_fft.h:8:10: fatal error: 'malloc.h' file not found
#include <malloc.h>
^~~~~~~~~~
2 warnings generated.
1 error generated.
gcc: pyyawt/src/utility.c
gcc: pyyawt/src/vaidyanathan.c
2 warnings generated.
In file included from pyyawt/src/legendre.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
In file included from pyyawt/src/swt.c:23:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
2 warnings generated.
In file included from pyyawt/src/symlets.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
In file included from pyyawt/src/utility.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
In file included from pyyawt/src/vaidyanathan.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
pyyawt/src/utility.c:554:11: error: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Werror,-Wimplicit-function-declaration]
if (strcmp(mode,ei[count].extMethodName) == 0)
^
pyyawt/src/utility.c:554:11: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
2 warnings and 1 error generated.
2 warnings generated.
2 warnings generated.
2 warnings generated.
2 warnings generated.
36 warnings generated.
error: Command "gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/localuser/anaconda/include -arch x86_64 -I/Users/localuser/anaconda/include -arch x86_64 -DPY_EXTENSION -Ipyyawt/src -I/Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include -I/Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include -I/Users/localuser/anaconda/include/python3.6m -c pyyawt/src/cwt.c -o build/temp.macosx-10.7-x86_64-3.6/pyyawt/src/cwt.o -MMD -MF build/temp.macosx-10.7-x86_64-3.6/pyyawt/src/cwt.o.d" failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for pyyawt
Running setup.py clean for pyyawt
Failed to build pyyawt
Installing collected packages: pyyawt
Running setup.py install for pyyawt ... error
ERROR: Command errored out with exit status 1:
command: /Users/localuser/anaconda/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/cj/4mb6t1f906j397tj71pxfxz00000gn/T/pip-install-aga1s1xf/pyyawt/setup.py'"'"'; __file__='"'"'/private/var/folders/cj/4mb6t1f906j397tj71pxfxz00000gn/T/pip-install-aga1s1xf/pyyawt/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/cj/4mb6t1f906j397tj71pxfxz00000gn/T/pip-record-_9bx6ptf/install-record.txt --single-version-externally-managed --compile --install-headers /Users/localuser/anaconda/include/python3.6m/pyyawt
cwd: /private/var/folders/cj/4mb6t1f906j397tj71pxfxz00000gn/T/pip-install-aga1s1xf/pyyawt/
Complete output (447 lines):
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
building extension "pyyawt._pyyawt" sources
building data_files sources
build_src: building npy-pkg config files
running build_py
copying pyyawt/version.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying build/src.macosx-10.7-x86_64-3.6/pyyawt/__config__.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building 'pyyawt._pyyawt' extension
compiling C sources
C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/localuser/anaconda/include -arch x86_64 -I/Users/localuser/anaconda/include -arch x86_64
creating build/temp.macosx-10.7-x86_64-3.6/pyyawt
creating build/temp.macosx-10.7-x86_64-3.6/pyyawt/src
compile options: '-DPY_EXTENSION -Ipyyawt/src -I/Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include -I/Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include -I/Users/localuser/anaconda/include/python3.6m -c'
gcc: pyyawt/src/beylkin.c
gcc: pyyawt/src/_pyyawt.c
gcc: pyyawt/src/bior.c
gcc: pyyawt/src/bior_t.c
gcc: pyyawt/src/coiflets.c
gcc: pyyawt/src/bathlets.c
gcc: pyyawt/src/cowt.c
gcc: pyyawt/src/cwt.c
In file included from pyyawt/src/coiflets.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
In file included from pyyawt/src/bior.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
pyyawt/src/bior.c:248:25: warning: unused variable 'pFilterCoefMirror' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
pyyawt/src/bior.c:248:11: warning: unused variable 'pFilterCoef' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
pyyawt/src/bior.c:433:11: warning: unused variable 'pFilterCoef' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
pyyawt/src/bior.c:433:25: warning: unused variable 'pFilterCoefMirror' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
pyyawt/src/bior.c:619:11: warning: unused variable 'pFilterCoef' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
pyyawt/src/bior.c:619:25: warning: unused variable 'pFilterCoefMirror' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
pyyawt/src/bior.c:804:11: warning: unused variable 'pFilterCoef' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
pyyawt/src/bior.c:804:25: warning: unused variable 'pFilterCoefMirror' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
2 warnings generated.
gcc: pyyawt/src/daubechies.c
In file included from pyyawt/src/beylkin.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
In file included from pyyawt/src/cowt.c:23:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
10 warnings generated.
2 warnings generated.
In file included from pyyawt/src/cwt.c:23:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
In file included from pyyawt/src/cwt.c:24:
pyyawt/src/kiss_fft.h:8:10: fatal error: 'malloc.h' file not found
#include <malloc.h>
^~~~~~~~~~
gcc: pyyawt/src/dmey.c
In file included from pyyawt/src/_pyyawt.c:239:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
In file included from pyyawt/src/bior_t.c:25:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
pyyawt/src/bior_t.c:363:1: warning: unused function 'bspline_init' [-Wunused-function]
bspline_init (const double **h1, const double **g1,
^
2 warnings and 1 error generated.
In file included from pyyawt/src/_pyyawt.c:244:
In file included from /Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1824:
/Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
gcc: pyyawt/src/dwt1d.c
#warning "Using deprecated NumPy API, disable it with " \
^
In file included from pyyawt/src/bathlets.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
3 warnings generated.
gcc: pyyawt/src/dwt2d.c
pyyawt/src/bathlets.c:466:11: warning: unused variable 'pFilterCoef' [-Wunused-variable]
double *pFilterCoef;
^
gcc: pyyawt/src/dwt3d.c
3 warnings generated.
gcc: pyyawt/src/farras.c
2 warnings generated.
gcc: pyyawt/src/haar.c
In file included from pyyawt/src/daubechies.c:27:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
In file included from pyyawt/src/dmey.c:25:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
In file included from pyyawt/src/dwt1d.c:23:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
pyyawt/src/dwt1d.c:28:26: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes]
extend_method getdwtMode(){
^
2 warnings generated.
pyyawt/src/dwt1d.c:38:14: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes]
filter_clear ()
^
pyyawt/src/dwt1d.c:99:11: error: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Werror,-Wimplicit-function-declaration]
if (strcmp(wname,wi[count].wname) == 0)
^
pyyawt/src/dwt1d.c:99:11: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
pyyawt/src/dwt1d.c:235:4: error: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Werror,-Wimplicit-function-declaration]
strcpy(*str1,ei[count].extMethodName);
^
pyyawt/src/dwt1d.c:235:4: note: include the header <string.h> or explicitly provide a declaration for 'strcpy'
gcc: pyyawt/src/kingsbury.c
pyyawt/src/dwt1d.c:1186:8: warning: unused variable 'c' [-Wunused-variable]
char c='a';
^
5 warnings and 2 errors generated.
In file included from pyyawt/src/dwt2d.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
gcc: pyyawt/src/kiss_fft.c
In file included from pyyawt/src/dwt3d.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
pyyawt/src/_pyyawt.c:17558:134: warning: code will never be executed [-Wunreachable-code]
__pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_3); __pyx_t_2++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 794; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
^~~~~~~
pyyawt/src/dwt2d.c:318:7: warning: variable 'filterOutLength' set but not used [-Wunused-but-set-variable]
int filterOutLength;
^
pyyawt/src/dwt2d.c:413:7: warning: variable 'filterOutLength' set but not used [-Wunused-but-set-variable]
int filterOutLength;
^
pyyawt/src/dwt2d.c:415:8: warning: unused variable 'c' [-Wunused-variable]
char c='b';
^
2 warnings generated.
pyyawt/src/dwt2d.c:814:7: error: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Werror,-Wimplicit-function-declaration]
if (strcmp (coefType, "h") == 0)
^
pyyawt/src/dwt2d.c:814:7: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
pyyawt/src/dwt2d.c:1396:7: warning: variable 'filterOutLength' set but not used [-Wunused-but-set-variable]
int filterOutLength;
^
pyyawt/src/dwt2d.c:1398:8: warning: unused variable 'c' [-Wunused-variable]
char c='b';
^
gcc: pyyawt/src/legendre.c
7 warnings and 1 error generated.
gcc: pyyawt/src/swt.c
In file included from pyyawt/src/farras.c:25:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
pyyawt/src/_pyyawt.c:21882:26: warning: code will never be executed [-Wunreachable-code]
module = PyImport_ImportModuleLevelObject(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from pyyawt/src/_pyyawt.c:244:
In file included from /Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:21:
/Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/__multiarray_api.h:1463:1: warning: unused function '_import_array' [-Wunused-function]
_import_array(void)
^
pyyawt/src/_pyyawt.c:22960:32: warning: unused function '__Pyx_PyUnicode_FromString' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
^
pyyawt/src/_pyyawt.c:23075:33: warning: unused function '__Pyx_PyIndex_AsSsize_t' [-Wunused-function]
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
^
pyyawt/src/_pyyawt.c:23137:33: warning: unused function '__Pyx_PyInt_FromSize_t' [-Wunused-function]
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
^
pyyawt/src/_pyyawt.c:22369:48: warning: unused function '__pyx_t_float_complex_from_parts' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __pyx_t_float_complex_from_parts(float x, float y) {
^
pyyawt/src/_pyyawt.c:22379:30: warning: unused function '__Pyx_c_eqf' [-Wunused-function]
static CYTHON_INLINE int __Pyx_c_eqf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
^
pyyawt/src/_pyyawt.c:22382:48: warning: unused function '__Pyx_c_sumf' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_sumf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
^
pyyawt/src/_pyyawt.c:22388:48: warning: unused function '__Pyx_c_difff' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_difff(__pyx_t_float_complex a, __pyx_t_float_complex b) {
^
pyyawt/src/_pyyawt.c:22400:48: warning: unused function '__Pyx_c_quotf' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_quotf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
^
pyyawt/src/_pyyawt.c:22407:48: warning: unused function '__Pyx_c_negf' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_negf(__pyx_t_float_complex a) {
^
pyyawt/src/_pyyawt.c:22413:30: warning: unused function '__Pyx_c_is_zerof' [-Wunused-function]
static CYTHON_INLINE int __Pyx_c_is_zerof(__pyx_t_float_complex a) {
^
pyyawt/src/_pyyawt.c:22416:48: warning: unused function '__Pyx_c_conjf' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_conjf(__pyx_t_float_complex a) {
^
pyyawt/src/_pyyawt.c:22430:52: warning: unused function '__Pyx_c_powf' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_powf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
^
pyyawt/src/_pyyawt.c:22489:49: warning: unused function '__pyx_t_double_complex_from_parts' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(double x, double y) {
^
pyyawt/src/_pyyawt.c:22499:30: warning: unused function '__Pyx_c_eq' [-Wunused-function]
static CYTHON_INLINE int __Pyx_c_eq(__pyx_t_double_complex a, __pyx_t_double_complex b) {
^
pyyawt/src/_pyyawt.c:22502:49: warning: unused function '__Pyx_c_sum' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_sum(__pyx_t_double_complex a, __pyx_t_double_complex b) {
^
pyyawt/src/_pyyawt.c:22508:49: warning: unused function '__Pyx_c_diff' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_diff(__pyx_t_double_complex a, __pyx_t_double_complex b) {
^
pyyawt/src/_pyyawt.c:22520:49: warning: unused function '__Pyx_c_quot' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_quot(__pyx_t_double_complex a, __pyx_t_double_complex b) {
^
pyyawt/src/_pyyawt.c:22527:49: warning: unused function '__Pyx_c_neg' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_neg(__pyx_t_double_complex a) {
^
pyyawt/src/_pyyawt.c:22533:30: warning: unused function '__Pyx_c_is_zero' [-Wunused-function]
static CYTHON_INLINE int __Pyx_c_is_zero(__pyx_t_double_complex a) {
^
pyyawt/src/_pyyawt.c:22536:49: warning: unused function '__Pyx_c_conj' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_conj(__pyx_t_double_complex a) {
^
pyyawt/src/_pyyawt.c:22550:53: warning: unused function '__Pyx_c_pow' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_pow(__pyx_t_double_complex a, __pyx_t_double_complex b) {
^
pyyawt/src/_pyyawt.c:22624:32: warning: unused function '__Pyx_PyInt_From_long' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
^
pyyawt/src/_pyyawt.c:22650:27: warning: function '__Pyx_PyInt_As_long' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
^
pyyawt/src/_pyyawt.c:17251:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew1' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__pyx_v_a) {
^
pyyawt/src/_pyyawt.c:17301:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew2' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__pyx_v_a, PyObject *__pyx_v_b) {
^
pyyawt/src/_pyyawt.c:17351:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew3' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c) {
^
pyyawt/src/_pyyawt.c:17401:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew4' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c, PyObject *__pyx_v_d) {
^
pyyawt/src/_pyyawt.c:17451:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew5' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c, PyObject *__pyx_v_d, PyObject *__pyx_v_e) {
^
pyyawt/src/_pyyawt.c:18259:27: warning: unused function '__pyx_f_5numpy_set_array_base' [-Wunused-function]
static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_arr, PyObject *__pyx_v_base) {
^
pyyawt/src/_pyyawt.c:18355:32: warning: unused function '__pyx_f_5numpy_get_array_base' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__pyx_v_arr) {
^
2 warnings generated.
In file included from pyyawt/src/haar.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
gcc: pyyawt/src/symlets.c
2 warnings generated.
gcc: pyyawt/src/utility.c
In file included from pyyawt/src/kiss_fft.c:16:
In file included from pyyawt/src/_kiss_fft_guts.h:19:
pyyawt/src/kiss_fft.h:8:10: fatal error: 'malloc.h' file not found
#include <malloc.h>
^~~~~~~~~~
In file included from pyyawt/src/kingsbury.c:25:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
1 error generated.
gcc: pyyawt/src/vaidyanathan.c
In file included from pyyawt/src/swt.c:23:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
In file included from pyyawt/src/legendre.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
2 warnings generated.
2 warnings generated.
In file included from pyyawt/src/symlets.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
In file included from pyyawt/src/utility.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
2 warnings generated.
pyyawt/src/utility.c:554:11: error: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Werror,-Wimplicit-function-declaration]
if (strcmp(mode,ei[count].extMethodName) == 0)
^
pyyawt/src/utility.c:554:11: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
2 warnings and 1 error generated.
In file included from pyyawt/src/vaidyanathan.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
2 warnings generated.
2 warnings generated.
2 warnings generated.
36 warnings generated.
error: Command "gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/localuser/anaconda/include -arch x86_64 -I/Users/localuser/anaconda/include -arch x86_64 -DPY_EXTENSION -Ipyyawt/src -I/Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include -I/Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include -I/Users/localuser/anaconda/include/python3.6m -c pyyawt/src/cwt.c -o build/temp.macosx-10.7-x86_64-3.6/pyyawt/src/cwt.o -MMD -MF build/temp.macosx-10.7-x86_64-3.6/pyyawt/src/cwt.o.d" failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /Users/localuser/anaconda/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/cj/4mb6t1f906j397tj71pxfxz00000gn/T/pip-install-aga1s1xf/pyyawt/setup.py'"'"'; __file__='"'"'/private/var/folders/cj/4mb6t1f906j397tj71pxfxz00000gn/T/pip-install-aga1s1xf/pyyawt/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/cj/4mb6t1f906j397tj71pxfxz00000gn/T/pip-record-_9bx6ptf/install-record.txt --single-version-externally-managed --compile --install-headers /Users/localuser/anaconda/include/python3.6m/pyyawt Check the logs for full command output.
WARNING: You are using pip version 20.1.1; however, version 21.3.1 is available.
You should consider upgrading via the '/Users/localuser/anaconda/bin/python -m pip install --upgrade pip' command.
(test_rsHRF) localuser@Benjamins-MacBook-Pro-2 sdk % pip install pyyawt
Collecting pyyawt
Using cached pyyawt-0.1.1.zip (450 kB)
Building wheels for collected packages: pyyawt
Building wheel for pyyawt (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /Users/localuser/anaconda/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/cj/4mb6t1f906j397tj71pxfxz00000gn/T/pip-install-95c1h7bt/pyyawt/setup.py'"'"'; __file__='"'"'/private/var/folders/cj/4mb6t1f906j397tj71pxfxz00000gn/T/pip-install-95c1h7bt/pyyawt/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 /private/var/folders/cj/4mb6t1f906j397tj71pxfxz00000gn/T/pip-wheel-qsdk3obz
cwd: /private/var/folders/cj/4mb6t1f906j397tj71pxfxz00000gn/T/pip-install-95c1h7bt/pyyawt/
Complete output (464 lines):
running bdist_wheel
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
creating build
creating build/src.macosx-10.7-x86_64-3.6
creating build/src.macosx-10.7-x86_64-3.6/pyyawt
building extension "pyyawt._pyyawt" sources
building data_files sources
build_src: building npy-pkg config files
running build_py
creating build/lib.macosx-10.7-x86_64-3.6
creating build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying pyyawt/dwt3d.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying pyyawt/dwt2d.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying pyyawt/dwt1d.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying pyyawt/dwt.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying pyyawt/version.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying pyyawt/denoising.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying pyyawt/cwt.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying pyyawt/utility.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying pyyawt/__init__.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying pyyawt/__config__.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying pyyawt/setup.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying pyyawt/swt.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying pyyawt/cowt.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying build/src.macosx-10.7-x86_64-3.6/pyyawt/__config__.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building 'pyyawt._pyyawt' extension
compiling C sources
C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/localuser/anaconda/include -arch x86_64 -I/Users/localuser/anaconda/include -arch x86_64
creating build/temp.macosx-10.7-x86_64-3.6/pyyawt
creating build/temp.macosx-10.7-x86_64-3.6/pyyawt/src
compile options: '-DPY_EXTENSION -Ipyyawt/src -I/Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include -I/Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include -I/Users/localuser/anaconda/include/python3.6m -c'
gcc: pyyawt/src/_pyyawt.c
gcc: pyyawt/src/bathlets.c
gcc: pyyawt/src/beylkin.c
gcc: pyyawt/src/coiflets.c
gcc: pyyawt/src/cowt.c
gcc: pyyawt/src/cwt.c
gcc: pyyawt/src/bior.c
gcc: pyyawt/src/bior_t.c
In file included from pyyawt/src/bior_t.c:25:
In file included from pyyawt/src/bathlets.c:In file included from pyyawt/src/bior.cpyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
24:
In file included from pyyawt/src/beylkin.c:24:24 void filter_clear ();:
^
void
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
In file included from pyyawt/src/swtlib.h:
:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
In file included from pyyawt/src/cwt.c:23:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
In file included from pyyawt/src/cowt.c:23:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
pyyawt/src/coiflets.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
pyyawt/src/bior.c:248:25: warning: unused variable 'pFilterCoefMirror' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
pyyawt/src/bior.c:248:11: warning: unused variable 'pFilterCoef' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
In file included from pyyawt/src/cwt.c:24:
pyyawt/src/kiss_fft.h:8:10: fatal error: 'malloc.h' file not found
#include <malloc.h>
^~~~~~~~~~
pyyawt/src/bior_t.c:363:1: warning: unused function 'bspline_init' [-Wunused-function]
bspline_init (const double **h1, const double **g1,
^
2 warnings and 1 error generated.
pyyawt/src/bior.c:433:11: warning: unused variable 'pFilterCoef' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
pyyawt/src/bior.c:433:25: warning: unused variable 'pFilterCoefMirror' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
pyyawt/src/bathlets.c:466:11: warning: unused variable 'pFilterCoef' [-Wunused-variable]
double *pFilterCoef;
^
pyyawt/src/bior.c:619:25: warning: unused variable 'pFilterCoefMirror' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
pyyawt/src/bior.c:619:11: warning: unused variable 'pFilterCoef' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
pyyawt/src/bior.c:804:11: warning: unused variable 'pFilterCoef' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
pyyawt/src/bior.c:804:25: warning: unused variable 'pFilterCoefMirror' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
gcc: pyyawt/src/daubechies.c
3 warnings generated.
gcc: pyyawt/src/dmey.c
In file included from pyyawt/src/_pyyawt.c:239:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
2 warnings generated.
2 warnings generated.
3 warnings generated.
gcc: pyyawt/src/dwt1d.c
10 warnings generated.
In file included from pyyawt/src/_pyyawt.c:244:
In file included from /Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1824:
/Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
^
gcc: pyyawt/src/dwt2d.c
gcc: pyyawt/src/dwt3d.c
gcc: pyyawt/src/farras.c
In file included from pyyawt/src/daubechies.c:27:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
2 warnings generated.
gcc: pyyawt/src/haar.c
In file included from pyyawt/src/dmey.c:25:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
2 warnings generated.
2 warnings generated.
gcc: pyyawt/src/kingsbury.c
gcc: pyyawt/src/kiss_fft.c
In file included from pyyawt/src/dwt1d.c:23:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
pyyawt/src/dwt1d.c:28:26: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes]
extend_method getdwtMode(){
^
In file included from pyyawt/src/dwt2d.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
pyyawt/src/dwt1d.c:38:14: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes]
filter_clear ()
^
In file included from pyyawt/src/dwt3d.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
pyyawt/src/dwt1d.c:99:11: error: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Werror,-Wimplicit-function-declaration]
if (strcmp(wname,wi[count].wname) == 0)
^
pyyawt/src/dwt1d.c:99:11: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
pyyawt/src/dwt1d.c:235:4: error: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Werror,-Wimplicit-function-declaration]
strcpy(*str1,ei[count].extMethodName);
^
pyyawt/src/dwt1d.c:235:4: note: include the header <string.h> or explicitly provide a declaration for 'strcpy'
pyyawt/src/dwt2d.c:318:7: warning: variable 'filterOutLength' set but not used [-Wunused-but-set-variable]
int filterOutLength;
^
pyyawt/src/dwt2d.c:415:8: warning: unused variable 'c' [-Wunused-variable]
char c='b';
^
pyyawt/src/dwt2d.c:413:7: warning: variable 'filterOutLength' set but not used [-Wunused-but-set-variable]
int filterOutLength;
^
pyyawt/src/dwt1d.c:1186:8: warning: unused variable 'c' [-Wunused-variable]
In file included from pyyawt/src/farras.c:25:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
char c='a';
^
5 warnings and 2 errors generated.
pyyawt/src/dwt2d.c:814:7: error: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Werror,-Wimplicit-function-declaration]
if (strcmp (coefType, "h") == 0)
^
pyyawt/src/dwt2d.c:814:7: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
pyyawt/src/dwt2d.c:1398:8: warning: unused variable 'c' [-Wunused-variable]
char c='b';
^
pyyawt/src/dwt2d.c:1396:7: warning: variable 'filterOutLength' set but not used [-Wunused-but-set-variable]
int filterOutLength;
^
7 warnings and 1 error generated.
gcc: pyyawt/src/legendre.c
gcc: pyyawt/src/swt.c
pyyawt/src/_pyyawt.c:17558:134: warning: code will never be executed [-Wunreachable-code]
__pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_3); __pyx_t_2++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 794; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
^~~~~~~
2 warnings generated.
gcc: pyyawt/src/symlets.c
In file included from pyyawt/src/haar.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
pyyawt/src/_pyyawt.c:21882:26: warning: code will never be executed [-Wunreachable-code]
module = PyImport_ImportModuleLevelObject(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
In file included from pyyawt/src/_pyyawt.c:244:
In file included from /Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:21:
/Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/__multiarray_api.h:1463:1: warning: unused function '_import_array' [-Wunused-function]
_import_array(void)
^
pyyawt/src/_pyyawt.c:22960:32: warning: unused function '__Pyx_PyUnicode_FromString' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
^
pyyawt/src/_pyyawt.c:23075:33: warning: unused function '__Pyx_PyIndex_AsSsize_t' [-Wunused-function]
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
^
pyyawt/src/_pyyawt.c:23137:33: warning: unused function '__Pyx_PyInt_FromSize_t' [-Wunused-function]
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
^
pyyawt/src/_pyyawt.c:22369:48: warning: unused function '__pyx_t_float_complex_from_parts' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __pyx_t_float_complex_from_parts(float x, float y) {
^
pyyawt/src/_pyyawt.c:22379:30: warning: unused function '__Pyx_c_eqf' [-Wunused-function]
static CYTHON_INLINE int __Pyx_c_eqf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
^
pyyawt/src/_pyyawt.c:22382:48: warning: unused function '__Pyx_c_sumf' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_sumf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
^
pyyawt/src/_pyyawt.c:22388:48: warning: unused function '__Pyx_c_difff' [-Wunused-function]
gcc: pyyawt/src/utility.c
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_difff(__pyx_t_float_complex a, __pyx_t_float_complex b) {
^
pyyawt/src/_pyyawt.c:22400:48: warning: unused function '__Pyx_c_quotf' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_quotf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
^
pyyawt/src/_pyyawt.c:22407:48: warning: unused function '__Pyx_c_negf' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_negf(__pyx_t_float_complex a) {
^
pyyawt/src/_pyyawt.c:22413:30: warning: unused function '__Pyx_c_is_zerof' [-Wunused-function]
static CYTHON_INLINE int __Pyx_c_is_zerof(__pyx_t_float_complex a) {
^
pyyawt/src/_pyyawt.c:22416:48: warning: unused function '__Pyx_c_conjf' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_conjf(__pyx_t_float_complex a) {
^
pyyawt/src/_pyyawt.c:22430:52: warning: unused function '__Pyx_c_powf' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_powf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
^
pyyawt/src/_pyyawt.c:22489:49: warning: unused function '__pyx_t_double_complex_from_parts' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(double x, double y) {
^
pyyawt/src/_pyyawt.c:22499:30: warning: unused function '__Pyx_c_eq' [-Wunused-function]
static CYTHON_INLINE int __Pyx_c_eq(__pyx_t_double_complex a, __pyx_t_double_complex b) {
^
pyyawt/src/_pyyawt.c:22502:49: warning: unused function '__Pyx_c_sum' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_sum(__pyx_t_double_complex a, __pyx_t_double_complex b) {
^
pyyawt/src/_pyyawt.c:22508:49: warning: unused function '__Pyx_c_diff' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_diff(__pyx_t_double_complex a, __pyx_t_double_complex b) {
^
pyyawt/src/_pyyawt.c:22520:49: warning: unused function '__Pyx_c_quot' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_quot(__pyx_t_double_complex a, __pyx_t_double_complex b) {
^
pyyawt/src/_pyyawt.c:22527:49: warning: unused function '__Pyx_c_neg' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_neg(__pyx_t_double_complex a) {
^
pyyawt/src/_pyyawt.c:22533:30: warning: unused function '__Pyx_c_is_zero' [-Wunused-function]
static CYTHON_INLINE int __Pyx_c_is_zero(__pyx_t_double_complex a) {
^
pyyawt/src/_pyyawt.c:22536:49: warning: unused function '__Pyx_c_conj' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_conj(__pyx_t_double_complex a) {
^
pyyawt/src/_pyyawt.c:22550:53: warning: unused function '__Pyx_c_pow' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_pow(__pyx_t_double_complex a, __pyx_t_double_complex b) {
^
pyyawt/src/_pyyawt.c:22624:32: warning: unused function '__Pyx_PyInt_From_long' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
^
pyyawt/src/_pyyawt.c:22650:27: warning: function '__Pyx_PyInt_As_long' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
^
pyyawt/src/_pyyawt.c:17251:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew1' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__pyx_v_a) {
^
pyyawt/src/_pyyawt.c:17301:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew2' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__pyx_v_a, PyObject *__pyx_v_b) {
^
pyyawt/src/_pyyawt.c:17351:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew3' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c) {
^
pyyawt/src/_pyyawt.c:17401:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew4' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c, PyObject *__pyx_v_d) {
^
pyyawt/src/_pyyawt.c:17451:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew5' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c, PyObject *__pyx_v_d, PyObject *__pyx_v_e) {
^
pyyawt/src/_pyyawt.c:18259:27: warning: unused function '__pyx_f_5numpy_set_array_base' [-Wunused-function]
static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_arr, PyObject *__pyx_v_base) {
^
pyyawt/src/_pyyawt.c:18355:32: warning: unused function '__pyx_f_5numpy_get_array_base' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__pyx_v_arr) {
^
In file included from pyyawt/src/kingsbury.c:25:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
In file included from pyyawt/src/kiss_fft.c:16:
In file included from pyyawt/src/_kiss_fft_guts.h:19:
pyyawt/src/kiss_fft.h:8:10: fatal error: 'malloc.h' file not found
#include <malloc.h>
^~~~~~~~~~
1 error generated.
gcc: pyyawt/src/vaidyanathan.c
In file included from pyyawt/src/legendre.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
2 warnings generated.
In file included from pyyawt/src/swt.c:23:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
2 warnings generated.
In file included from pyyawt/src/symlets.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
2 warnings generated.
In file included from pyyawt/src/utility.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
pyyawt/src/utility.c:554:11: error: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Werror,-Wimplicit-function-declaration]
if (strcmp(mode,ei[count].extMethodName) == 0)
^
pyyawt/src/utility.c:554:11: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
In file included from pyyawt/src/vaidyanathan.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
2 warnings and 1 error generated.
2 warnings generated.
2 warnings generated.
2 warnings generated.
36 warnings generated.
error: Command "gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/localuser/anaconda/include -arch x86_64 -I/Users/localuser/anaconda/include -arch x86_64 -DPY_EXTENSION -Ipyyawt/src -I/Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include -I/Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include -I/Users/localuser/anaconda/include/python3.6m -c pyyawt/src/cwt.c -o build/temp.macosx-10.7-x86_64-3.6/pyyawt/src/cwt.o -MMD -MF build/temp.macosx-10.7-x86_64-3.6/pyyawt/src/cwt.o.d" failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for pyyawt
Running setup.py clean for pyyawt
Failed to build pyyawt
Installing collected packages: pyyawt
Running setup.py install for pyyawt ... error
ERROR: Command errored out with exit status 1:
command: /Users/localuser/anaconda/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/cj/4mb6t1f906j397tj71pxfxz00000gn/T/pip-install-95c1h7bt/pyyawt/setup.py'"'"'; __file__='"'"'/private/var/folders/cj/4mb6t1f906j397tj71pxfxz00000gn/T/pip-install-95c1h7bt/pyyawt/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/cj/4mb6t1f906j397tj71pxfxz00000gn/T/pip-record-ja36e6hx/install-record.txt --single-version-externally-managed --compile --install-headers /Users/localuser/anaconda/include/python3.6m/pyyawt
cwd: /private/var/folders/cj/4mb6t1f906j397tj71pxfxz00000gn/T/pip-install-95c1h7bt/pyyawt/
Complete output (447 lines):
running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
building extension "pyyawt._pyyawt" sources
building data_files sources
build_src: building npy-pkg config files
running build_py
copying pyyawt/version.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
copying build/src.macosx-10.7-x86_64-3.6/pyyawt/__config__.py -> build/lib.macosx-10.7-x86_64-3.6/pyyawt
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building 'pyyawt._pyyawt' extension
compiling C sources
C compiler: gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/localuser/anaconda/include -arch x86_64 -I/Users/localuser/anaconda/include -arch x86_64
creating build/temp.macosx-10.7-x86_64-3.6/pyyawt
creating build/temp.macosx-10.7-x86_64-3.6/pyyawt/src
compile options: '-DPY_EXTENSION -Ipyyawt/src -I/Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include -I/Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include -I/Users/localuser/anaconda/include/python3.6m -c'
gcc: pyyawt/src/bathlets.c
gcc: pyyawt/src/bior_t.c
gcc: pyyawt/src/beylkin.c
gcc: pyyawt/src/bior.c
gcc: pyyawt/src/coiflets.c
gcc: pyyawt/src/_pyyawt.c
gcc: pyyawt/src/cowt.c
gcc: pyyawt/src/cwt.c
In file included from pyyawt/src/bior.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
In file included from pyyawt/src/coiflets.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
pyyawt/src/bior.c:248:25: warning: unused variable 'pFilterCoefMirror' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
pyyawt/src/bior.c:248:11: warning: unused variable 'pFilterCoef' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
pyyawt/src/bior.c:433:25: warning: unused variable 'pFilterCoefMirror' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
pyyawt/src/bior.c:433:11: warning: unused variable 'pFilterCoef' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
In file included from pyyawt/src/bathlets.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
pyyawt/src/bior.c:619:11: warning: unused variable 'pFilterCoef' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
pyyawt/src/bior.c:619:25: warning: unused variable 'pFilterCoefMirror' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
pyyawt/src/bior.c:804:11: warning: unused variable 'pFilterCoef' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
pyyawt/src/bior.c:804:25: warning: unused variable 'pFilterCoefMirror' [-Wunused-variable]
double *pFilterCoef, *pFilterCoefMirror;
^
In file included from pyyawt/src/beylkin.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
pyyawt/src/bathlets.c:466:11: warning: unused variable 'pFilterCoef' [-Wunused-variable]
double *pFilterCoef;
^
2 warnings generated.
gcc: pyyawt/src/daubechies.c
In file included from pyyawt/src/bior_t.c:25:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
In file included from pyyawt/src/cwt.c:23:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
10 warnings generated.
pyyawt/src/bior_t.c:363:1: warning: unused function 'bspline_init' [-Wunused-function]
bspline_init (const double **h1, const double **g1,
^
In file included from pyyawt/src/cwt.c:24:
pyyawt/src/kiss_fft.h:8:10: fatal error: 'malloc.h' file not found
#include <malloc.h>
^~~~~~~~~~
2 warnings generated.
3 warnings generated.
2 warnings and 1 error generated.
gcc: pyyawt/src/dmey.c
3 warnings generated.
In file included from pyyawt/src/cowt.c:23:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
gcc: pyyawt/src/dwt1d.c
gcc: pyyawt/src/dwt2d.c
gcc: pyyawt/src/dwt3d.c
gcc: pyyawt/src/farras.c
In file included from pyyawt/src/_pyyawt.c:239:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
In file included from pyyawt/src/_pyyawt.c:244:
In file included from /Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1824:
/Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
^
2 warnings generated.
In file included from pyyawt/src/daubechies.c:27:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
In file included from pyyawt/src/dmey.c:25:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
gcc: pyyawt/src/haar.c
2 warnings generated.
In file included from pyyawt/src/dwt2d.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
gcc: pyyawt/src/kingsbury.c
In file included from pyyawt/src/dwt1d.c:23:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
In file included from pyyawt/src/farras.c:25:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
pyyawt/src/dwt1d.c:28:26: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes]
extend_method getdwtMode(){
^
pyyawt/src/dwt2d.c:318:7: warning: variable 'filterOutLength' set but not used [-Wunused-but-set-variable]
int filterOutLength;
^
pyyawt/src/dwt1d.c:38:14: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes]
filter_clear ()
^
pyyawt/src/dwt2d.c:415:8: warning: unused variable 'c' [-Wunused-variable]
char c='b';
^
pyyawt/src/dwt2d.c:413:7: warning: variable 'filterOutLength' set but not used [-Wunused-but-set-variable]
int filterOutLength;
^
pyyawt/src/dwt1d.c:99:11: error: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Werror,-Wimplicit-function-declaration]
if (strcmp(wname,wi[count].wname) == 0)
^
pyyawt/src/dwt1d.c:99:11: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
pyyawt/src/dwt1d.c:235:4: error: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Werror,-Wimplicit-function-declaration]
strcpy(*str1,ei[count].extMethodName);
^
pyyawt/src/dwt1d.c:235:4: note: include the header <string.h> or explicitly provide a declaration for 'strcpy'
In file included from pyyawt/src/dwt3d.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
pyyawt/src/dwt2d.c:814:7: error: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Werror,-Wimplicit-function-declaration]
if (strcmp (coefType, "h") == 0)
^
pyyawt/src/dwt2d.c:814:7: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
pyyawt/src/dwt1d.c:1186:8: warning: unused variable 'c' [-Wunused-variable]
char c='a';
^
5 warnings and 2 errors generated.
2 warnings generated.
pyyawt/src/dwt2d.c:1398:8: warning: unused variable 'c' [-Wunused-variable]
char c='b';
^
pyyawt/src/dwt2d.c:1396:7: warning: variable 'filterOutLength' set but not used [-Wunused-but-set-variable]
int filterOutLength;
^
7 warnings and 1 error generated.
gcc: pyyawt/src/kiss_fft.c
gcc: pyyawt/src/legendre.c
2 warnings generated.
gcc: pyyawt/src/swt.c
gcc: pyyawt/src/symlets.c
pyyawt/src/_pyyawt.c:17558:134: warning: code will never be executed [-Wunreachable-code]
__pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_2); __Pyx_INCREF(__pyx_t_3); __pyx_t_2++; if (unlikely(0 < 0)) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 794; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
^~~~~~~
pyyawt/src/_pyyawt.c:21882:26: warning: code will never be executed [-Wunreachable-code]
module = PyImport_ImportModuleLevelObject(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from pyyawt/src/_pyyawt.c:244:
In file included from /Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:21:
/Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include/numpy/__multiarray_api.h:1463:1: warning: unused function '_import_array' [-Wunused-function]
_import_array(void)
^
pyyawt/src/_pyyawt.c:22960:32: warning: unused function '__Pyx_PyUnicode_FromString' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) {
^
pyyawt/src/_pyyawt.c:23075:33: warning: unused function '__Pyx_PyIndex_AsSsize_t' [-Wunused-function]
static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) {
^
pyyawt/src/_pyyawt.c:23137:33: warning: unused function '__Pyx_PyInt_FromSize_t' [-Wunused-function]
static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) {
^
pyyawt/src/_pyyawt.c:22369:48: warning: unused function '__pyx_t_float_complex_from_parts' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __pyx_t_float_complex_from_parts(float x, float y) {
^
pyyawt/src/_pyyawt.c:22379:30: warning: unused function '__Pyx_c_eqf' [-Wunused-function]
static CYTHON_INLINE int __Pyx_c_eqf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
^
pyyawt/src/_pyyawt.c:22382:48: warning: unused function '__Pyx_c_sumf' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_sumf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
^
pyyawt/src/_pyyawt.c:22388:48: warning: unused function '__Pyx_c_difff' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_difff(__pyx_t_float_complex a, __pyx_t_float_complex b) {
^
pyyawt/src/_pyyawt.c:22400:48: warning: unused function '__Pyx_c_quotf' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_quotf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
^
pyyawt/src/_pyyawt.c:22407:48: warning: unused function '__Pyx_c_negf' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_negf(__pyx_t_float_complex a) {
^
pyyawt/src/_pyyawt.c:22413:30: warning: unused function '__Pyx_c_is_zerof' [-Wunused-function]
static CYTHON_INLINE int __Pyx_c_is_zerof(__pyx_t_float_complex a) {
^
pyyawt/src/_pyyawt.c:22416:48: warning: unused function '__Pyx_c_conjf' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_conjf(__pyx_t_float_complex a) {
^
pyyawt/src/_pyyawt.c:22430:52: warning: unused function '__Pyx_c_powf' [-Wunused-function]
static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_powf(__pyx_t_float_complex a, __pyx_t_float_complex b) {
^
pyyawt/src/_pyyawt.c:22489:49: warning: unused function '__pyx_t_double_complex_from_parts' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(double x, double y) {
^
pyyawt/src/_pyyawt.c:22499:30: warning: unused function '__Pyx_c_eq' [-Wunused-function]
static CYTHON_INLINE int __Pyx_c_eq(__pyx_t_double_complex a, __pyx_t_double_complex b) {
^
pyyawt/src/_pyyawt.c:22502:49: warning: unused function '__Pyx_c_sum' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_sum(__pyx_t_double_complex a, __pyx_t_double_complex b) {
^
pyyawt/src/_pyyawt.c:22508:49: warning: unused function '__Pyx_c_diff' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_diff(__pyx_t_double_complex a, __pyx_t_double_complex b) {
^
pyyawt/src/_pyyawt.c:22520:49: warning: unused function '__Pyx_c_quot' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_quot(__pyx_t_double_complex a, __pyx_t_double_complex b) {
^
pyyawt/src/_pyyawt.c:22527:49: warning: unused function '__Pyx_c_neg' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_neg(__pyx_t_double_complex a) {
^
pyyawt/src/_pyyawt.c:22533:30: warning: unused function '__Pyx_c_is_zero' [-Wunused-function]
static CYTHON_INLINE int __Pyx_c_is_zero(__pyx_t_double_complex a) {
^
pyyawt/src/_pyyawt.c:22536:49: warning: unused function '__Pyx_c_conj' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_conj(__pyx_t_double_complex a) {
^
pyyawt/src/_pyyawt.c:22550:53: warning: unused function '__Pyx_c_pow' [-Wunused-function]
static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_pow(__pyx_t_double_complex a, __pyx_t_double_complex b) {
^
pyyawt/src/_pyyawt.c:22624:32: warning: unused function '__Pyx_PyInt_From_long' [-Wunused-function]
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
^
pyyawt/src/_pyyawt.c:22650:27: warning: function '__Pyx_PyInt_As_long' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
^
pyyawt/src/_pyyawt.c:17251:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew1' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__pyx_v_a) {
^
pyyawt/src/_pyyawt.c:17301:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew2' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__pyx_v_a, PyObject *__pyx_v_b) {
^
pyyawt/src/_pyyawt.c:17351:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew3' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c) {
^
pyyawt/src/_pyyawt.c:17401:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew4' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c, PyObject *__pyx_v_d) {
^
pyyawt/src/_pyyawt.c:17451:32: warning: unused function '__pyx_f_5numpy_PyArray_MultiIterNew5' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c, PyObject *__pyx_v_d, PyObject *__pyx_v_e) {
^
pyyawt/src/_pyyawt.c:18259:27: warning: unused function '__pyx_f_5numpy_set_array_base' [-Wunused-function]
static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_arr, PyObject *__pyx_v_base) {
^
pyyawt/src/_pyyawt.c:18355:32: warning: unused function '__pyx_f_5numpy_get_array_base' [-Wunused-function]
static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__pyx_v_arr) {
^
In file included from pyyawt/src/haar.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
In file included from pyyawt/src/kingsbury.c:25:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
In file included from pyyawt/src/legendre.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
2 warnings generated.
In file included from pyyawt/src/kiss_fft.c:16:
In file included from pyyawt/src/_kiss_fft_guts.h:19:
pyyawt/src/kiss_fft.h:8:10: fatal error: 'malloc.h' file not found
#include <malloc.h>
^~~~~~~~~~
1 error generated.
2 warnings generated.
gcc: pyyawt/src/utility.c
gcc: pyyawt/src/vaidyanathan.c
In file included from pyyawt/src/swt.c:23:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
2 warnings generated.
In file included from pyyawt/src/symlets.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
2 warnings generated.
In file included from pyyawt/src/utility.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
pyyawt/src/utility.c:554:11: error: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Werror,-Wimplicit-function-declaration]
if (strcmp(mode,ei[count].extMethodName) == 0)
^
pyyawt/src/utility.c:554:11: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
2 warnings and 1 error generated.
In file included from pyyawt/src/vaidyanathan.c:24:
pyyawt/src/swtlib.h:673:32: warning: this function declaration is not a prototype [-Wstrict-prototypes]
void filter_clear ();
^
void
pyyawt/src/swtlib.h:689:38: warning: this function declaration is not a prototype [-Wstrict-prototypes]
extend_method getdwtMode();
^
void
2 warnings generated.
2 warnings generated.
2 warnings generated.
36 warnings generated.
error: Command "gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/localuser/anaconda/include -arch x86_64 -I/Users/localuser/anaconda/include -arch x86_64 -DPY_EXTENSION -Ipyyawt/src -I/Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include -I/Users/localuser/anaconda/lib/python3.6/site-packages/numpy/core/include -I/Users/localuser/anaconda/include/python3.6m -c pyyawt/src/cwt.c -o build/temp.macosx-10.7-x86_64-3.6/pyyawt/src/cwt.o -MMD -MF build/temp.macosx-10.7-x86_64-3.6/pyyawt/src/cwt.o.d" failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /Users/localuser/anaconda/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/cj/4mb6t1f906j397tj71pxfxz00000gn/T/pip-install-95c1h7bt/pyyawt/setup.py'"'"'; __file__='"'"'/private/var/folders/cj/4mb6t1f906j397tj71pxfxz00000gn/T/pip-install-95c1h7bt/pyyawt/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/cj/4mb6t1f906j397tj71pxfxz00000gn/T/pip-record-ja36e6hx/install-record.txt --single-version-externally-managed --compile --install-headers /Users/localuser/anaconda/include/python3.6m/pyyawt Check the logs for full command output.
WARNING: You are using pip version 20.1.1; however, version 21.3.1 is available.
You should consider upgrading via the '/Users/localuser/anaconda/bin/python -m pip install --upgrade pip' command.
I'm trying to install rsHRF on a conda environment The system is Apple M1 Pro, macOS v.12.4. c compiler is gfortran. Suspect it may be an incompatibility issue with the ARM processing instruction set.
In a fresh (Python 3.6.8) environment with scikit-learn installed via conda, I tried the following
That generates the following failed install log:
Installing the dependency pyyawt seems to be the problm (see bolded text above)