You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't install the package. I tried both pip and installing from source. It didn't work. I installed libsndfile1-dev and confirmed that it exists. I am using an anaconda environment with python 3.7. Here are my command line outputs:
python setup.py install
SndfileInfo:
customize UnixCCompiler
libraries sndfile not found in /home/tatar/anaconda3/envs/tf-rc1/lib
customize UnixCCompiler
FOUND:
libraries = ['sndfile']
library_dirs = ['/usr/local/lib']
include_dirs = ['/usr/local/include']
AlsaInfo:
customize UnixCCompiler
libraries asound not found in /home/tatar/anaconda3/envs/tf-rc1/lib
customize UnixCCompiler
libraries asound not found in /usr/local/lib
customize UnixCCompiler
libraries asound not found in /usr/lib
customize UnixCCompiler
FOUND:
libraries = ['asound']
library_dirs = ['/usr/lib/x86_64-linux-gnu']
include_dirs = ['/usr/include']
CoreAudioInfo:
audiolab/soundio/setup.py:31: UserWarning: CoreAudio not found - CoreAudio backend not build
warnings.warn("CoreAudio not found - CoreAudio backend not build")
running install
running bdist_egg
running egg_info
running build_src
build_src
building extension "audiolab.pysndfile._sndfile" sources
building extension "audiolab.soundio._alsa_backend" sources
building data_files sources
build_src: building npy-pkg config files
creating scikits.audiolab.egg-info
writing scikits.audiolab.egg-info/PKG-INFO
writing dependency_links to scikits.audiolab.egg-info/dependency_links.txt
writing requirements to scikits.audiolab.egg-info/requires.txt
writing top-level names to scikits.audiolab.egg-info/top_level.txt
writing manifest file 'scikits.audiolab.egg-info/SOURCES.txt'
reading manifest file 'scikits.audiolab.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'scikits/audiolab/test_data/original.aif'
warning: no files found matching 'scikits/audiolab/test_data/test.aiff'
warning: no files found matching 'scikits/audiolab/test_data/test.au'
warning: no files found matching 'scikits/audiolab/test_data/test.flac'
warning: no files found matching 'scikits/audiolab/test_data/test.raw'
warning: no files found matching 'scikits/audiolab/test_data/test.sdif'
warning: no files found matching 'scikits/audiolab/test_data/test.wav'
warning: no files found matching '' under directory 'docs/pdf'
warning: no files found matching '' under directory 'docs/html'
warning: manifest_maker: MANIFEST.in, line 19: 'recursive-include' expects
...
warning: manifest_maker: MANIFEST.in, line 20: 'recursive-include' expects
...
warning: no files found matching 'scikits/audiolab/pysndfile/_sndfile.pyx'
warning: no files found matching 'scikits/audiolab/soundio/macosx/macosx_backend.pyx'
warning: no files found matching 'scikits/audiolab/soundio/alsa/_alsa_backend.pyx'
warning: no files found matching 'scikits/audiolab/pysndfile/_sndfile.c'
warning: no files found matching 'scikits/audiolab/soundio/macosx/macosx_backend.c'
warning: no files found matching 'scikits/audiolab/soundio/alsa/_alsa_backend.c'
writing manifest file 'scikits.audiolab.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/audiolab
copying audiolab/init.py -> build/lib.linux-x86_64-3.7/audiolab
copying audiolab/info.py -> build/lib.linux-x86_64-3.7/audiolab
copying audiolab/version.py -> build/lib.linux-x86_64-3.7/audiolab
copying audiolab/setup.py -> build/lib.linux-x86_64-3.7/audiolab
creating build/lib.linux-x86_64-3.7/audiolab/tests
copying audiolab/tests/testcommon.py -> build/lib.linux-x86_64-3.7/audiolab/tests
copying audiolab/tests/init.py -> build/lib.linux-x86_64-3.7/audiolab/tests
copying audiolab/tests/test_pysndfile.py -> build/lib.linux-x86_64-3.7/audiolab/tests
copying audiolab/tests/test_sndfile.py -> build/lib.linux-x86_64-3.7/audiolab/tests
copying audiolab/tests/test_matapi.py -> build/lib.linux-x86_64-3.7/audiolab/tests
creating build/lib.linux-x86_64-3.7/audiolab/soundio
copying audiolab/soundio/init.py -> build/lib.linux-x86_64-3.7/audiolab/soundio
copying audiolab/soundio/play.py -> build/lib.linux-x86_64-3.7/audiolab/soundio
copying audiolab/soundio/setuphelp.py -> build/lib.linux-x86_64-3.7/audiolab/soundio
copying audiolab/soundio/setup.py -> build/lib.linux-x86_64-3.7/audiolab/soundio
creating build/lib.linux-x86_64-3.7/audiolab/pysndfile
copying audiolab/pysndfile/compat.py -> build/lib.linux-x86_64-3.7/audiolab/pysndfile
copying audiolab/pysndfile/sndfile.py -> build/lib.linux-x86_64-3.7/audiolab/pysndfile
copying audiolab/pysndfile/init.py -> build/lib.linux-x86_64-3.7/audiolab/pysndfile
copying audiolab/pysndfile/matapi.py -> build/lib.linux-x86_64-3.7/audiolab/pysndfile
copying audiolab/pysndfile/setuphelp.py -> build/lib.linux-x86_64-3.7/audiolab/pysndfile
copying audiolab/pysndfile/setup.py -> build/lib.linux-x86_64-3.7/audiolab/pysndfile
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building 'audiolab.pysndfile._sndfile' extension
compiling C sources
C compiler: gcc -pthread -B /home/tatar/anaconda3/envs/tf-rc1/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC
creating build/temp.linux-x86_64-3.7/audiolab
creating build/temp.linux-x86_64-3.7/audiolab/pysndfile
compile options: '-I/usr/local/include -I/home/tatar/anaconda3/envs/tf-rc1/lib/python3.7/site-packages/numpy/core/include -I/home/tatar/anaconda3/envs/tf-rc1/include/python3.7m -c'
gcc: audiolab/pysndfile/_sndfile.c
In file included from /home/tatar/anaconda3/envs/tf-rc1/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1830:0,
from /home/tatar/anaconda3/envs/tf-rc1/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/tatar/anaconda3/envs/tf-rc1/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from audiolab/pysndfile/_sndfile.c:112:
/home/tatar/anaconda3/envs/tf-rc1/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it with "
^~~~~~~
audiolab/pysndfile/_sndfile.c: In function ‘__pyx_pf_7scikits_8audiolab_9pysndfile_8_sndfile_sndfile_version’:
audiolab/pysndfile/_sndfile.c:981:15: warning: implicit declaration of function ‘PyString_FromStringAndSize’; did you mean ‘PyBytes_FromStringAndSize’? [-Wimplicit-function-declaration]
__pyx_t_3 = PyString_FromStringAndSize(__pyx_v_buff, strlen(__pyx_v_buff)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 115; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~~~~~~~~~~~~~~~~~~~~
PyBytes_FromStringAndSize
audiolab/pysndfile/_sndfile.c:981:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
__pyx_t_3 = PyString_FromStringAndSize(__pyx_v_buff, strlen(__pyx_v_buff)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 115; __pyx_clineno = LINE; goto __pyx_L1_error;}
^
audiolab/pysndfile/_sndfile.c: In function ‘pyx_pf_7scikits_8audiolab_9pysndfile_8_sndfile_6Format___init’:
audiolab/pysndfile/_sndfile.c:1861:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
__pyx_t_3 = PyString_FromStringAndSize(__pyx_v_format_info.name, strlen(__pyx_v_format_info.name)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 215; __pyx_clineno = LINE; goto __pyx_L1_error;}
^
audiolab/pysndfile/_sndfile.c:1947:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
__pyx_t_3 = PyString_FromStringAndSize(__pyx_v_format_info.name, strlen(__pyx_v_format_info.name)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 227; __pyx_clineno = LINE; goto __pyx_L1_error;}
^
audiolab/pysndfile/_sndfile.c: In function ‘__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile_read_frames_double’:
audiolab/pysndfile/_sndfile.c:5595:14: warning: variable ‘__pyx_bshape_1_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bshape_1_ty = 0;
^~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c:5594:14: warning: variable ‘__pyx_bshape_0_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bshape_0_ty = 0;
^~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c:5593:14: warning: variable ‘__pyx_bstride_1_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bstride_1_ty = 0;
^~~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c:5592:14: warning: variable ‘__pyx_bstride_0_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bstride_0_ty = 0;
^~~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c: In function ‘__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile_read_frames_float’:
audiolab/pysndfile/_sndfile.c:5804:14: warning: variable ‘__pyx_bshape_1_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bshape_1_ty = 0;
^~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c:5803:14: warning: variable ‘__pyx_bshape_0_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bshape_0_ty = 0;
^~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c:5802:14: warning: variable ‘__pyx_bstride_1_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bstride_1_ty = 0;
^~~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c:5801:14: warning: variable ‘__pyx_bstride_0_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bstride_0_ty = 0;
^~~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c: In function ‘__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile_read_frames_int’:
audiolab/pysndfile/_sndfile.c:6013:14: warning: variable ‘__pyx_bshape_1_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bshape_1_ty = 0;
^~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c:6012:14: warning: variable ‘__pyx_bshape_0_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bshape_0_ty = 0;
^~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c:6011:14: warning: variable ‘__pyx_bstride_1_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bstride_1_ty = 0;
^~~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c:6010:14: warning: variable ‘__pyx_bstride_0_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bstride_0_ty = 0;
^~~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c: In function ‘__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile_read_frames_short’:
audiolab/pysndfile/_sndfile.c:6222:14: warning: variable ‘__pyx_bshape_1_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bshape_1_ty = 0;
^~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c:6221:14: warning: variable ‘__pyx_bshape_0_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bshape_0_ty = 0;
^~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c:6220:14: warning: variable ‘__pyx_bstride_1_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bstride_1_ty = 0;
^~~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c:6219:14: warning: variable ‘__pyx_bstride_0_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bstride_0_ty = 0;
^~~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c: In function ‘PyInit__sndfile’:
audiolab/pysndfile/_sndfile.c:9607:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Format.format_int = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_6Format_format_int;
^
audiolab/pysndfile/_sndfile.c:9608:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Format.file_format_int = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_6Format_file_format_int;
^
audiolab/pysndfile/_sndfile.c:9609:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Format.encoding_int = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_6Format_encoding_int;
^
audiolab/pysndfile/_sndfile.c:9610:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Format.endianness_int = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_6Format_endianness_int;
^
audiolab/pysndfile/_sndfile.c:9611:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Format._is_equal = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_6Format__is_equal;
^
audiolab/pysndfile/_sndfile.c:9617:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Sndfile._close = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile__close;
^
audiolab/pysndfile/_sndfile.c:9618:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Sndfile._get_nframes = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile__get_nframes;
^
audiolab/pysndfile/_sndfile.c:9619:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Sndfile.read_frames_double = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile_read_frames_double;
^
audiolab/pysndfile/_sndfile.c:9620:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Sndfile.read_frames_float = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile_read_frames_float;
^
audiolab/pysndfile/_sndfile.c:9621:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Sndfile.read_frames_int = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile_read_frames_int;
^
audiolab/pysndfile/_sndfile.c:9622:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Sndfile.read_frames_short = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile_read_frames_short;
^
audiolab/pysndfile/_sndfile.c:9623:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Sndfile.write_frames_double = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile_write_frames_double;
^
audiolab/pysndfile/_sndfile.c:9624:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Sndfile.write_frames_float = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile_write_frames_float;
^
audiolab/pysndfile/_sndfile.c:9625:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Sndfile.write_frames_int = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile_write_frames_int;
^
audiolab/pysndfile/_sndfile.c:9626:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Sndfile.write_frames_short = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile_write_frames_short;
^
audiolab/pysndfile/_sndfile.c: In function ‘__Pyx_ExceptionSave’:
audiolab/pysndfile/_sndfile.c:11168:21: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
*type = tstate->exc_type;
^~~~~~~~
curexc_type
audiolab/pysndfile/_sndfile.c:11169:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
*value = tstate->exc_value;
^~~~~~~~~
curexc_value
audiolab/pysndfile/_sndfile.c:11170:19: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
*tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
audiolab/pysndfile/_sndfile.c: In function ‘__Pyx_ExceptionReset’:
audiolab/pysndfile/_sndfile.c:11179:24: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
tmp_type = tstate->exc_type;
^~~~~~~~
curexc_type
audiolab/pysndfile/_sndfile.c:11180:25: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
audiolab/pysndfile/_sndfile.c:11181:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
audiolab/pysndfile/_sndfile.c:11182:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
tstate->exc_type = type;
^~~~~~~~
curexc_type
audiolab/pysndfile/_sndfile.c:11183:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
audiolab/pysndfile/_sndfile.c:11184:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
audiolab/pysndfile/_sndfile.c: In function ‘__Pyx_GetException’:
audiolab/pysndfile/_sndfile.c:11357:24: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
tmp_type = tstate->exc_type;
^~~~~~~~
curexc_type
audiolab/pysndfile/_sndfile.c:11358:25: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
audiolab/pysndfile/_sndfile.c:11359:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
audiolab/pysndfile/_sndfile.c:11360:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
tstate->exc_type = *type;
^~~~~~~~
curexc_type
audiolab/pysndfile/_sndfile.c:11361:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
audiolab/pysndfile/_sndfile.c:11362:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
audiolab/pysndfile/_sndfile.c: In function ‘__Pyx_SetVtable’:
audiolab/pysndfile/_sndfile.c:11399:14: warning: implicit declaration of function ‘PyCObject_FromVoidPtr’; did you mean ‘PyLong_FromVoidPtr’? [-Wimplicit-function-declaration]
pycobj = PyCObject_FromVoidPtr(vtable, 0);
^~~~~~~~~~~~~~~~~~~~~
PyLong_FromVoidPtr
audiolab/pysndfile/_sndfile.c:11399:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
pycobj = PyCObject_FromVoidPtr(vtable, 0);
^
audiolab/pysndfile/_sndfile.c: In function ‘__pyx_PyInt_AsLongLong’:
audiolab/pysndfile/_sndfile.c:11612:25: warning: implicit declaration of function ‘PyNumber_Int’; did you mean ‘PyNumber_And’? [-Wimplicit-function-declaration]
PyObject tmp = PyNumber_Int(x); if (!tmp) return (PY_LONG_LONG)-1;
^~~~~~~~~~~~
PyNumber_And
audiolab/pysndfile/_sndfile.c:11612:25: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
audiolab/pysndfile/_sndfile.c: In function ‘__pyx_PyInt_AsUnsignedLongLong’:
audiolab/pysndfile/_sndfile.c:11633:25: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
PyObject tmp = PyNumber_Int(x); if (!tmp) return (PY_LONG_LONG)-1;
^~~~~~~~~~~~
At top level:
audiolab/pysndfile/_sndfile.c:8093:13: warning: ‘pyx_pf_5numpy_7ndarray___releasebuffer’ defined but not used [-Wunused-function]
static void pyx_pf_5numpy_7ndarray___releasebuffer(PyObject *__pyx_v_self, Py_buffer *__pyx_v_info) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c:7423:12: warning: ‘pyx_pf_5numpy_7ndarray___getbuffer’ defined but not used [-Wunused-function]
static int pyx_pf_5numpy_7ndarray___getbuffer(PyObject *__pyx_v_self, Py_buffer *__pyx_v_info, int __pyx_v_flags) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/tatar/anaconda3/envs/tf-rc1/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:21:0,
from /home/tatar/anaconda3/envs/tf-rc1/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from audiolab/pysndfile/_sndfile.c:112:
/home/tatar/anaconda3/envs/tf-rc1/lib/python3.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1463:1: warning: ‘_import_array’ defined but not used [-Wunused-function]
_import_array(void)
^~~~~~~~~~~~~
error: Command "gcc -pthread -B /home/tatar/anaconda3/envs/tf-rc1/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include -I/home/tatar/anaconda3/envs/tf-rc1/lib/python3.7/site-packages/numpy/core/include -I/home/tatar/anaconda3/envs/tf-rc1/include/python3.7m -c audiolab/pysndfile/_sndfile.c -o build/temp.linux-x86_64-3.7/audiolab/pysndfile/_sndfile.o -MMD -MF build/temp.linux-x86_64-3.7/audiolab/pysndfile/_sndfile.o.d" failed with exit status 1
The text was updated successfully, but these errors were encountered:
Hello,
I can't install the package. I tried both pip and installing from source. It didn't work. I installed libsndfile1-dev and confirmed that it exists. I am using an anaconda environment with python 3.7. Here are my command line outputs:
python setup.py install
SndfileInfo:
customize UnixCCompiler
libraries sndfile not found in /home/tatar/anaconda3/envs/tf-rc1/lib
customize UnixCCompiler
FOUND:
libraries = ['sndfile']
library_dirs = ['/usr/local/lib']
include_dirs = ['/usr/local/include']
AlsaInfo:
customize UnixCCompiler
libraries asound not found in /home/tatar/anaconda3/envs/tf-rc1/lib
customize UnixCCompiler
libraries asound not found in /usr/local/lib
customize UnixCCompiler
libraries asound not found in /usr/lib
customize UnixCCompiler
FOUND:
libraries = ['asound']
library_dirs = ['/usr/lib/x86_64-linux-gnu']
include_dirs = ['/usr/include']
CoreAudioInfo:
...audiolab/soundio/setup.py:31: UserWarning: CoreAudio not found - CoreAudio backend not build
warnings.warn("CoreAudio not found - CoreAudio backend not build")
running install
running bdist_egg
running egg_info
running build_src
build_src
building extension "audiolab.pysndfile._sndfile" sources
building extension "audiolab.soundio._alsa_backend" sources
building data_files sources
build_src: building npy-pkg config files
creating scikits.audiolab.egg-info
writing scikits.audiolab.egg-info/PKG-INFO
writing dependency_links to scikits.audiolab.egg-info/dependency_links.txt
writing requirements to scikits.audiolab.egg-info/requires.txt
writing top-level names to scikits.audiolab.egg-info/top_level.txt
writing manifest file 'scikits.audiolab.egg-info/SOURCES.txt'
reading manifest file 'scikits.audiolab.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'scikits/audiolab/test_data/original.aif'
warning: no files found matching 'scikits/audiolab/test_data/test.aiff'
warning: no files found matching 'scikits/audiolab/test_data/test.au'
warning: no files found matching 'scikits/audiolab/test_data/test.flac'
warning: no files found matching 'scikits/audiolab/test_data/test.raw'
warning: no files found matching 'scikits/audiolab/test_data/test.sdif'
warning: no files found matching 'scikits/audiolab/test_data/test.wav'
warning: no files found matching '' under directory 'docs/pdf'
warning: no files found matching '' under directory 'docs/html'
warning: manifest_maker: MANIFEST.in, line 19: 'recursive-include' expects
warning: manifest_maker: MANIFEST.in, line 20: 'recursive-include' expects
...warning: no files found matching 'scikits/audiolab/pysndfile/_sndfile.pyx'
warning: no files found matching 'scikits/audiolab/soundio/macosx/macosx_backend.pyx'
warning: no files found matching 'scikits/audiolab/soundio/alsa/_alsa_backend.pyx'
warning: no files found matching 'scikits/audiolab/pysndfile/_sndfile.c'
warning: no files found matching 'scikits/audiolab/soundio/macosx/macosx_backend.c'
warning: no files found matching 'scikits/audiolab/soundio/alsa/_alsa_backend.c'
writing manifest file 'scikits.audiolab.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/audiolab
copying audiolab/init.py -> build/lib.linux-x86_64-3.7/audiolab
copying audiolab/info.py -> build/lib.linux-x86_64-3.7/audiolab
copying audiolab/version.py -> build/lib.linux-x86_64-3.7/audiolab
copying audiolab/setup.py -> build/lib.linux-x86_64-3.7/audiolab
creating build/lib.linux-x86_64-3.7/audiolab/tests
copying audiolab/tests/testcommon.py -> build/lib.linux-x86_64-3.7/audiolab/tests
copying audiolab/tests/init.py -> build/lib.linux-x86_64-3.7/audiolab/tests
copying audiolab/tests/test_pysndfile.py -> build/lib.linux-x86_64-3.7/audiolab/tests
copying audiolab/tests/test_sndfile.py -> build/lib.linux-x86_64-3.7/audiolab/tests
copying audiolab/tests/test_matapi.py -> build/lib.linux-x86_64-3.7/audiolab/tests
creating build/lib.linux-x86_64-3.7/audiolab/soundio
copying audiolab/soundio/init.py -> build/lib.linux-x86_64-3.7/audiolab/soundio
copying audiolab/soundio/play.py -> build/lib.linux-x86_64-3.7/audiolab/soundio
copying audiolab/soundio/setuphelp.py -> build/lib.linux-x86_64-3.7/audiolab/soundio
copying audiolab/soundio/setup.py -> build/lib.linux-x86_64-3.7/audiolab/soundio
creating build/lib.linux-x86_64-3.7/audiolab/pysndfile
copying audiolab/pysndfile/compat.py -> build/lib.linux-x86_64-3.7/audiolab/pysndfile
copying audiolab/pysndfile/sndfile.py -> build/lib.linux-x86_64-3.7/audiolab/pysndfile
copying audiolab/pysndfile/init.py -> build/lib.linux-x86_64-3.7/audiolab/pysndfile
copying audiolab/pysndfile/matapi.py -> build/lib.linux-x86_64-3.7/audiolab/pysndfile
copying audiolab/pysndfile/setuphelp.py -> build/lib.linux-x86_64-3.7/audiolab/pysndfile
copying audiolab/pysndfile/setup.py -> build/lib.linux-x86_64-3.7/audiolab/pysndfile
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
building 'audiolab.pysndfile._sndfile' extension
compiling C sources
C compiler: gcc -pthread -B /home/tatar/anaconda3/envs/tf-rc1/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC
creating build/temp.linux-x86_64-3.7/audiolab
creating build/temp.linux-x86_64-3.7/audiolab/pysndfile
compile options: '-I/usr/local/include -I/home/tatar/anaconda3/envs/tf-rc1/lib/python3.7/site-packages/numpy/core/include -I/home/tatar/anaconda3/envs/tf-rc1/include/python3.7m -c'
gcc: audiolab/pysndfile/_sndfile.c
In file included from /home/tatar/anaconda3/envs/tf-rc1/lib/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1830:0,
from /home/tatar/anaconda3/envs/tf-rc1/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/tatar/anaconda3/envs/tf-rc1/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from audiolab/pysndfile/_sndfile.c:112:
/home/tatar/anaconda3/envs/tf-rc1/lib/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it with "
^~~~~~~
audiolab/pysndfile/_sndfile.c: In function ‘__pyx_pf_7scikits_8audiolab_9pysndfile_8_sndfile_sndfile_version’:
audiolab/pysndfile/_sndfile.c:981:15: warning: implicit declaration of function ‘PyString_FromStringAndSize’; did you mean ‘PyBytes_FromStringAndSize’? [-Wimplicit-function-declaration]
__pyx_t_3 = PyString_FromStringAndSize(__pyx_v_buff, strlen(__pyx_v_buff)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 115; __pyx_clineno = LINE; goto __pyx_L1_error;}
^~~~~~~~~~~~~~~~~~~~~~~~~~
PyBytes_FromStringAndSize
audiolab/pysndfile/_sndfile.c:981:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
__pyx_t_3 = PyString_FromStringAndSize(__pyx_v_buff, strlen(__pyx_v_buff)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 115; __pyx_clineno = LINE; goto __pyx_L1_error;}
^
audiolab/pysndfile/_sndfile.c: In function ‘pyx_pf_7scikits_8audiolab_9pysndfile_8_sndfile_6Format___init’:
audiolab/pysndfile/_sndfile.c:1861:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
__pyx_t_3 = PyString_FromStringAndSize(__pyx_v_format_info.name, strlen(__pyx_v_format_info.name)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 215; __pyx_clineno = LINE; goto __pyx_L1_error;}
^
audiolab/pysndfile/_sndfile.c:1947:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
__pyx_t_3 = PyString_FromStringAndSize(__pyx_v_format_info.name, strlen(__pyx_v_format_info.name)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 227; __pyx_clineno = LINE; goto __pyx_L1_error;}
^
audiolab/pysndfile/_sndfile.c: In function ‘__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile_read_frames_double’:
audiolab/pysndfile/_sndfile.c:5595:14: warning: variable ‘__pyx_bshape_1_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bshape_1_ty = 0;
^~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c:5594:14: warning: variable ‘__pyx_bshape_0_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bshape_0_ty = 0;
^~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c:5593:14: warning: variable ‘__pyx_bstride_1_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bstride_1_ty = 0;
^~~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c:5592:14: warning: variable ‘__pyx_bstride_0_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bstride_0_ty = 0;
^~~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c: In function ‘__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile_read_frames_float’:
audiolab/pysndfile/_sndfile.c:5804:14: warning: variable ‘__pyx_bshape_1_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bshape_1_ty = 0;
^~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c:5803:14: warning: variable ‘__pyx_bshape_0_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bshape_0_ty = 0;
^~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c:5802:14: warning: variable ‘__pyx_bstride_1_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bstride_1_ty = 0;
^~~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c:5801:14: warning: variable ‘__pyx_bstride_0_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bstride_0_ty = 0;
^~~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c: In function ‘__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile_read_frames_int’:
audiolab/pysndfile/_sndfile.c:6013:14: warning: variable ‘__pyx_bshape_1_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bshape_1_ty = 0;
^~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c:6012:14: warning: variable ‘__pyx_bshape_0_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bshape_0_ty = 0;
^~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c:6011:14: warning: variable ‘__pyx_bstride_1_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bstride_1_ty = 0;
^~~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c:6010:14: warning: variable ‘__pyx_bstride_0_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bstride_0_ty = 0;
^~~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c: In function ‘__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile_read_frames_short’:
audiolab/pysndfile/_sndfile.c:6222:14: warning: variable ‘__pyx_bshape_1_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bshape_1_ty = 0;
^~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c:6221:14: warning: variable ‘__pyx_bshape_0_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bshape_0_ty = 0;
^~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c:6220:14: warning: variable ‘__pyx_bstride_1_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bstride_1_ty = 0;
^~~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c:6219:14: warning: variable ‘__pyx_bstride_0_ty’ set but not used [-Wunused-but-set-variable]
Py_ssize_t __pyx_bstride_0_ty = 0;
^~~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c: In function ‘PyInit__sndfile’:
audiolab/pysndfile/_sndfile.c:9607:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Format.format_int = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_6Format_format_int;
^
audiolab/pysndfile/_sndfile.c:9608:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Format.file_format_int = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_6Format_file_format_int;
^
audiolab/pysndfile/_sndfile.c:9609:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Format.encoding_int = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_6Format_encoding_int;
^
audiolab/pysndfile/_sndfile.c:9610:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Format.endianness_int = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_6Format_endianness_int;
^
audiolab/pysndfile/_sndfile.c:9611:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Format._is_equal = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_6Format__is_equal;
^
audiolab/pysndfile/_sndfile.c:9617:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Sndfile._close = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile__close;
^
audiolab/pysndfile/_sndfile.c:9618:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Sndfile._get_nframes = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile__get_nframes;
^
audiolab/pysndfile/_sndfile.c:9619:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Sndfile.read_frames_double = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile_read_frames_double;
^
audiolab/pysndfile/_sndfile.c:9620:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Sndfile.read_frames_float = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile_read_frames_float;
^
audiolab/pysndfile/_sndfile.c:9621:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Sndfile.read_frames_int = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile_read_frames_int;
^
audiolab/pysndfile/_sndfile.c:9622:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Sndfile.read_frames_short = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile_read_frames_short;
^
audiolab/pysndfile/_sndfile.c:9623:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Sndfile.write_frames_double = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile_write_frames_double;
^
audiolab/pysndfile/_sndfile.c:9624:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Sndfile.write_frames_float = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile_write_frames_float;
^
audiolab/pysndfile/_sndfile.c:9625:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Sndfile.write_frames_int = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile_write_frames_int;
^
audiolab/pysndfile/_sndfile.c:9626:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(void(**)(void))&__pyx_vtable_7scikits_8audiolab_9pysndfile_8_sndfile_Sndfile.write_frames_short = (void()(void))__pyx_f_7scikits_8audiolab_9pysndfile_8_sndfile_7Sndfile_write_frames_short;
^
audiolab/pysndfile/_sndfile.c: In function ‘__Pyx_ExceptionSave’:
audiolab/pysndfile/_sndfile.c:11168:21: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
*type = tstate->exc_type;
^~~~~~~~
curexc_type
audiolab/pysndfile/_sndfile.c:11169:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
*value = tstate->exc_value;
^~~~~~~~~
curexc_value
audiolab/pysndfile/_sndfile.c:11170:19: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
*tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
audiolab/pysndfile/_sndfile.c: In function ‘__Pyx_ExceptionReset’:
audiolab/pysndfile/_sndfile.c:11179:24: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
tmp_type = tstate->exc_type;
^~~~~~~~
curexc_type
audiolab/pysndfile/_sndfile.c:11180:25: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
audiolab/pysndfile/_sndfile.c:11181:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
audiolab/pysndfile/_sndfile.c:11182:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
tstate->exc_type = type;
^~~~~~~~
curexc_type
audiolab/pysndfile/_sndfile.c:11183:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
audiolab/pysndfile/_sndfile.c:11184:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
audiolab/pysndfile/_sndfile.c: In function ‘__Pyx_GetException’:
audiolab/pysndfile/_sndfile.c:11357:24: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
tmp_type = tstate->exc_type;
^~~~~~~~
curexc_type
audiolab/pysndfile/_sndfile.c:11358:25: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
tmp_value = tstate->exc_value;
^~~~~~~~~
curexc_value
audiolab/pysndfile/_sndfile.c:11359:22: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tmp_tb = tstate->exc_traceback;
^~~~~~~~~~~~~
curexc_traceback
audiolab/pysndfile/_sndfile.c:11360:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_type’; did you mean ‘curexc_type’?
tstate->exc_type = *type;
^~~~~~~~
curexc_type
audiolab/pysndfile/_sndfile.c:11361:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_value’; did you mean ‘curexc_value’?
tstate->exc_value = value;
^~~~~~~~~
curexc_value
audiolab/pysndfile/_sndfile.c:11362:13: error: ‘PyThreadState {aka struct _ts}’ has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
tstate->exc_traceback = tb;
^~~~~~~~~~~~~
curexc_traceback
audiolab/pysndfile/_sndfile.c: In function ‘__Pyx_SetVtable’:
audiolab/pysndfile/_sndfile.c:11399:14: warning: implicit declaration of function ‘PyCObject_FromVoidPtr’; did you mean ‘PyLong_FromVoidPtr’? [-Wimplicit-function-declaration]
pycobj = PyCObject_FromVoidPtr(vtable, 0);
^~~~~~~~~~~~~~~~~~~~~
PyLong_FromVoidPtr
audiolab/pysndfile/_sndfile.c:11399:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
pycobj = PyCObject_FromVoidPtr(vtable, 0);
^
audiolab/pysndfile/_sndfile.c: In function ‘__pyx_PyInt_AsLongLong’:
audiolab/pysndfile/_sndfile.c:11612:25: warning: implicit declaration of function ‘PyNumber_Int’; did you mean ‘PyNumber_And’? [-Wimplicit-function-declaration]
PyObject tmp = PyNumber_Int(x); if (!tmp) return (PY_LONG_LONG)-1;
^~~~~~~~~~~~
PyNumber_And
audiolab/pysndfile/_sndfile.c:11612:25: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
audiolab/pysndfile/_sndfile.c: In function ‘__pyx_PyInt_AsUnsignedLongLong’:
audiolab/pysndfile/_sndfile.c:11633:25: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
PyObject tmp = PyNumber_Int(x); if (!tmp) return (PY_LONG_LONG)-1;
^~~~~~~~~~~~
At top level:
audiolab/pysndfile/_sndfile.c:8093:13: warning: ‘pyx_pf_5numpy_7ndarray___releasebuffer’ defined but not used [-Wunused-function]
static void pyx_pf_5numpy_7ndarray___releasebuffer(PyObject *__pyx_v_self, Py_buffer *__pyx_v_info) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
audiolab/pysndfile/_sndfile.c:7423:12: warning: ‘pyx_pf_5numpy_7ndarray___getbuffer’ defined but not used [-Wunused-function]
static int pyx_pf_5numpy_7ndarray___getbuffer(PyObject *__pyx_v_self, Py_buffer *__pyx_v_info, int __pyx_v_flags) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/tatar/anaconda3/envs/tf-rc1/lib/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:21:0,
from /home/tatar/anaconda3/envs/tf-rc1/lib/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from audiolab/pysndfile/_sndfile.c:112:
/home/tatar/anaconda3/envs/tf-rc1/lib/python3.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1463:1: warning: ‘_import_array’ defined but not used [-Wunused-function]
_import_array(void)
^~~~~~~~~~~~~
error: Command "gcc -pthread -B /home/tatar/anaconda3/envs/tf-rc1/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/include -I/home/tatar/anaconda3/envs/tf-rc1/lib/python3.7/site-packages/numpy/core/include -I/home/tatar/anaconda3/envs/tf-rc1/include/python3.7m -c audiolab/pysndfile/_sndfile.c -o build/temp.linux-x86_64-3.7/audiolab/pysndfile/_sndfile.o -MMD -MF build/temp.linux-x86_64-3.7/audiolab/pysndfile/_sndfile.o.d" failed with exit status 1
The text was updated successfully, but these errors were encountered: