Pyroomacoustics on raspberry pi 4 (armv7 architecture)
See original GitHub issueI am trying to install pyroomacoustics on raspberry pi 4 which is armv7, but I got this error:
Python version is 3.7
copying pyroomacoustics/doa/waves.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/doa
copying pyroomacoustics/doa/__init__.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/doa
copying pyroomacoustics/doa/cssm.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/doa
copying pyroomacoustics/doa/utils.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/doa
creating build/lib.linux-armv7l-3.7/pyroomacoustics/adaptive
copying pyroomacoustics/adaptive/lms.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/adaptive
copying pyroomacoustics/adaptive/util.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/adaptive
copying pyroomacoustics/adaptive/rls.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/adaptive
copying pyroomacoustics/adaptive/subband_lms.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/adaptive
copying pyroomacoustics/adaptive/adaptive_filter.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/adaptive
copying pyroomacoustics/adaptive/data_structures.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/adaptive
copying pyroomacoustics/adaptive/__init__.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/adaptive
creating build/lib.linux-armv7l-3.7/pyroomacoustics/transform
copying pyroomacoustics/transform/dft.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/transform
copying pyroomacoustics/transform/stft.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/transform
copying pyroomacoustics/transform/__init__.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/transform
creating build/lib.linux-armv7l-3.7/pyroomacoustics/experimental
copying pyroomacoustics/experimental/rt60.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/experimental
copying pyroomacoustics/experimental/signals.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/experimental
copying pyroomacoustics/experimental/delay_calibration.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/experimental
copying pyroomacoustics/experimental/point_cloud.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/experimental
copying pyroomacoustics/experimental/measure_ir.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/experimental
copying pyroomacoustics/experimental/__init__.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/experimental
copying pyroomacoustics/experimental/physics.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/experimental
copying pyroomacoustics/experimental/deconvolution.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/experimental
copying pyroomacoustics/experimental/localization.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/experimental
creating build/lib.linux-armv7l-3.7/pyroomacoustics/datasets
copying pyroomacoustics/datasets/base.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/datasets
copying pyroomacoustics/datasets/timit.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/datasets
copying pyroomacoustics/datasets/cmu_arctic.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/datasets
copying pyroomacoustics/datasets/google_speech_commands.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/datasets
copying pyroomacoustics/datasets/__init__.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/datasets
copying pyroomacoustics/datasets/utils.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/datasets
creating build/lib.linux-armv7l-3.7/pyroomacoustics/bss
copying pyroomacoustics/bss/fastmnmf.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/bss
copying pyroomacoustics/bss/trinicon.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/bss
copying pyroomacoustics/bss/ilrma.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/bss
copying pyroomacoustics/bss/sparseauxiva.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/bss
copying pyroomacoustics/bss/common.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/bss
copying pyroomacoustics/bss/auxiva.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/bss
copying pyroomacoustics/bss/__init__.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/bss
creating build/lib.linux-armv7l-3.7/pyroomacoustics/denoise
copying pyroomacoustics/denoise/subspace.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/denoise
copying pyroomacoustics/denoise/iterative_wiener.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/denoise
copying pyroomacoustics/denoise/spectral_subtraction.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/denoise
copying pyroomacoustics/denoise/__init__.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/denoise
creating build/lib.linux-armv7l-3.7/pyroomacoustics/phase
copying pyroomacoustics/phase/gl.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/phase
copying pyroomacoustics/phase/__init__.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/phase
copying pyroomacoustics/build_rir.pyx -> build/lib.linux-armv7l-3.7/pyroomacoustics
creating build/lib.linux-armv7l-3.7/pyroomacoustics/data
copying pyroomacoustics/data/materials.json -> build/lib.linux-armv7l-3.7/pyroomacoustics/data
running build_ext
creating tmp
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c /tmp/tmpj6lt597v.cpp -o tmp/tmpj6lt597v.o -std=c++14
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c /tmp/tmp_uz7ip7x.cpp -o tmp/tmp_uz7ip7x.o -fvisibility=hidden
cythoning pyroomacoustics/build_rir.pyx to pyroomacoustics/build_rir.c
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-install-1auvqyta/pyroomacoustics/pyroomacoustics/build_rir.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
building 'pyroomacoustics.libroom' extension
creating build/temp.linux-armv7l-3.7
creating build/temp.linux-armv7l-3.7/pyroomacoustics
creating build/temp.linux-armv7l-3.7/pyroomacoustics/libroom_src
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -Ipyroomacoustics/libroom_src -I/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include -I/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include -Ipyroomacoustics/libroom_src/ext/eigen -I/usr/include/python3.7m -c pyroomacoustics/libroom_src/libroom.cpp -o build/temp.linux-armv7l-3.7/pyroomacoustics/libroom_src/libroom.o -DEIGEN_MPL2_ONLY -Wall -O3 -DEIGEN_NO_DEBUG -DVERSION_INFO="0.4.1" -std=c++14 -fvisibility=hidden
In file included from /tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/pybind11.h:47,
from pyroomacoustics/libroom_src/libroom.cpp:29:
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/detail/init.h: In instantiation of ‘Class* pybind11::detail::initimpl::construct_or_initialize(Args&& ...) [with Class = Wall<2>; Args = {const Eigen::Matrix<float, 2, -1, 0, 2, -1>&, const Eigen::Array<float, -1, 1, 0, -1, 1>&, const Eigen::Array<float, -1, 1, 0, -1, 1>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&}; typename std::enable_if<std::is_constructible<_Tp, _Args>::value, int>::type <anonymous> = 0]’:
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/detail/init.h:174:66: required from ‘static void pybind11::detail::initimpl::constructor<Args>::execute(Class&, const Extra& ...) [with Class = pybind11::class_<Wall<2> >; Extra = {pybind11::arg, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v}; typename std::enable_if<(! Class::has_alias), int>::type <anonymous> = 0; Args = {const Eigen::Matrix<float, 2, -1, 0, 2, -1>&, const Eigen::Array<float, -1, 1, 0, -1, 1>&, const Eigen::Array<float, -1, 1, 0, -1, 1>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&}]’
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/pybind11.h:1148:9: required from ‘pybind11::class_<type_, options>& pybind11::class_<type_, options>::def(const pybind11::detail::initimpl::constructor<Args ...>&, const Extra& ...) [with Args = {const Eigen::Matrix<float, 2, -1, 0, 2, -1>&, const Eigen::Array<float, -1, 1, 0, -1, 1>&, const Eigen::Array<float, -1, 1, 0, -1, 1>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&}; Extra = {pybind11::arg, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v}; type_ = Wall<2>; options = {}]’
pyroomacoustics/libroom_src/libroom.cpp:210:78: required from here
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/detail/init.h:61:64: warning: ‘new’ of type ‘Wall<2>’ with extended alignment 16 [-Waligned-new=]
inline Class *construct_or_initialize(Args &&...args) { return new Class(std::forward<Args>(args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/detail/init.h:61:64: note: uses ‘void* operator new(std::size_t)’, which does not have an alignment parameter
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/detail/init.h:61:64: note: use ‘-faligned-new’ to enable C++17 over-aligned new support
In file included from /tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/attr.h:13,
from /tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/pybind11.h:44,
from pyroomacoustics/libroom_src/libroom.cpp:29:
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/cast.h: In substitution of ‘template<class T, class> static decltype ((new T, pybind11::detail::type_caster_base<Wall<2> >::Constructor{})) pybind11::detail::type_caster_base<Wall<2> >::make_copy_constructor<T, <template-parameter-1-2> >(const T*) [with T = Wall<2>; <template-parameter-1-2> = void]’:
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/cast.h:902:34: required from ‘static pybind11::handle pybind11::detail::type_caster_base<type>::cast(const itype*, pybind11::return_value_policy, pybind11::handle) [with type = Wall<2>; pybind11::detail::type_caster_base<type>::itype = Wall<2>]’
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/cast.h:867:20: required from ‘static pybind11::handle pybind11::detail::type_caster_base<type>::cast(const itype&, pybind11::return_value_policy, pybind11::handle) [with type = Wall<2>; pybind11::detail::type_caster_base<type>::itype = Wall<2>]’
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/pybind11.h:159:43: required from ‘void pybind11::cpp_function::initialize(Func&&, Return (*)(Args ...), const Extra& ...) [with Func = pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = Wall<2>&; Class = Room<2>; Arg = {int}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling}]::<lambda(Room<2>*, int)>; Return = Wall<2>&; Args = {Room<2>*, int}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling}]’
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/pybind11.h:78:9: required from ‘pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = Wall<2>&; Class = Room<2>; Arg = {int}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling}]’
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/pybind11.h:1118:22: required from ‘pybind11::class_<type_, options>& pybind11::class_<type_, options>::def(const char*, Func&&, const Extra& ...) [with Func = Wall<2>& (Room<2>::*)(int); Extra = {}; type_ = Room<2>; options = {}]’
pyroomacoustics/libroom_src/libroom.cpp:129:40: required from here
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/cast.h:923:63: warning: ‘new’ of type ‘Wall<2>’ with extended alignment 16 [-Waligned-new=]
static auto make_copy_constructor(const T *x) -> decltype(new T(*x), Constructor{}) {
^~~~~~~~~
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/cast.h:923:63: note: uses ‘void* operator new(std::size_t)’, which does not have an alignment parameter
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/cast.h:923:63: note: use ‘-faligned-new’ to enable C++17 over-aligned new support
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/cast.h: In substitution of ‘template<class T, class> static decltype ((new T, pybind11::detail::type_caster_base<Wall<2> >::Constructor{})) pybind11::detail::type_caster_base<Wall<2> >::make_move_constructor<T, <template-parameter-1-2> >(const T*) [with T = Wall<2>; <template-parameter-1-2> = void]’:
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/cast.h:902:62: required from ‘static pybind11::handle pybind11::detail::type_caster_base<type>::cast(const itype*, pybind11::return_value_policy, pybind11::handle) [with type = Wall<2>; pybind11::detail::type_caster_base<type>::itype = Wall<2>]’
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/cast.h:867:20: required from ‘static pybind11::handle pybind11::detail::type_caster_base<type>::cast(const itype&, pybind11::return_value_policy, pybind11::handle) [with type = Wall<2>; pybind11::detail::type_caster_base<type>::itype = Wall<2>]’
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/pybind11.h:159:43: required from ‘void pybind11::cpp_function::initialize(Func&&, Return (*)(Args ...), const Extra& ...) [with Func = pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = Wall<2>&; Class = Room<2>; Arg = {int}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling}]::<lambda(Room<2>*, int)>; Return = Wall<2>&; Args = {Room<2>*, int}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling}]’
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/pybind11.h:78:9: required from ‘pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = Wall<2>&; Class = Room<2>; Arg = {int}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling}]’
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/pybind11.h:1118:22: required from ‘pybind11::class_<type_, options>& pybind11::class_<type_, options>::def(const char*, Func&&, const Extra& ...) [with Func = Wall<2>& (Room<2>::*)(int); Extra = {}; type_ = Room<2>; options = {}]’
pyroomacoustics/libroom_src/libroom.cpp:129:40: required from here
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/cast.h:930:63: warning: ‘new’ of type ‘Wall<2>’ with extended alignment 16 [-Waligned-new=]
static auto make_move_constructor(const T *x) -> decltype(new T(std::move(*const_cast<T *>(x))), Constructor{}) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/cast.h:930:63: note: uses ‘void* operator new(std::size_t)’, which does not have an alignment parameter
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/cast.h:930:63: note: use ‘-faligned-new’ to enable C++17 over-aligned new support
‘
Internal compiler error: Error reporting routines re-entered.
0xb6aee717 __libc_start_main
/build/glibc-FUvrFr/glibc-2.28/csu/libc-start.c:308
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-8/README.Bugs> for instructions.
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
----------------------------------------
Failed building wheel for pyroomacoustics
Running setup.py clean for pyroomacoustics
Failed to build pyroomacoustics
Installing collected packages: pyroomacoustics
Running setup.py install for pyroomacoustics ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-1auvqyta/pyroomacoustics/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-yh_kmhx3/install-record.txt --single-version-externally-managed --compile --user --prefix=:
running install
running build
running build_py
creating build
creating build/lib.linux-armv7l-3.7
creating build/lib.linux-armv7l-3.7/pyroomacoustics
copying pyroomacoustics/room.py -> build/lib.linux-armv7l-3.7/pyroomacoustics
copying pyroomacoustics/parameters.py -> build/lib.linux-armv7l-3.7/pyroomacoustics
copying pyroomacoustics/recognition.py -> build/lib.linux-armv7l-3.7/pyroomacoustics
copying pyroomacoustics/metrics.py -> build/lib.linux-armv7l-3.7/pyroomacoustics
copying pyroomacoustics/multirate.py -> build/lib.linux-armv7l-3.7/pyroomacoustics
copying pyroomacoustics/acoustics.py -> build/lib.linux-armv7l-3.7/pyroomacoustics
copying pyroomacoustics/__init__.py -> build/lib.linux-armv7l-3.7/pyroomacoustics
copying pyroomacoustics/sync.py -> build/lib.linux-armv7l-3.7/pyroomacoustics
copying pyroomacoustics/windows.py -> build/lib.linux-armv7l-3.7/pyroomacoustics
copying pyroomacoustics/beamforming.py -> build/lib.linux-armv7l-3.7/pyroomacoustics
copying pyroomacoustics/version.py -> build/lib.linux-armv7l-3.7/pyroomacoustics
copying pyroomacoustics/utilities.py -> build/lib.linux-armv7l-3.7/pyroomacoustics
copying pyroomacoustics/soundsource.py -> build/lib.linux-armv7l-3.7/pyroomacoustics
creating build/lib.linux-armv7l-3.7/pyroomacoustics/doa
copying pyroomacoustics/doa/music.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/doa
copying pyroomacoustics/doa/doa.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/doa
copying pyroomacoustics/doa/plotters.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/doa
copying pyroomacoustics/doa/detect_peaks.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/doa
copying pyroomacoustics/doa/tools_fri_doa_plane.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/doa
copying pyroomacoustics/doa/frida.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/doa
copying pyroomacoustics/doa/grid.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/doa
copying pyroomacoustics/doa/tops.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/doa
copying pyroomacoustics/doa/srp.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/doa
copying pyroomacoustics/doa/waves.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/doa
copying pyroomacoustics/doa/__init__.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/doa
copying pyroomacoustics/doa/cssm.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/doa
copying pyroomacoustics/doa/utils.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/doa
creating build/lib.linux-armv7l-3.7/pyroomacoustics/adaptive
copying pyroomacoustics/adaptive/lms.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/adaptive
copying pyroomacoustics/adaptive/util.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/adaptive
copying pyroomacoustics/adaptive/rls.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/adaptive
copying pyroomacoustics/adaptive/subband_lms.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/adaptive
copying pyroomacoustics/adaptive/adaptive_filter.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/adaptive
copying pyroomacoustics/adaptive/data_structures.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/adaptive
copying pyroomacoustics/adaptive/__init__.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/adaptive
creating build/lib.linux-armv7l-3.7/pyroomacoustics/transform
copying pyroomacoustics/transform/dft.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/transform
copying pyroomacoustics/transform/stft.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/transform
copying pyroomacoustics/transform/__init__.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/transform
creating build/lib.linux-armv7l-3.7/pyroomacoustics/experimental
copying pyroomacoustics/experimental/rt60.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/experimental
copying pyroomacoustics/experimental/signals.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/experimental
copying pyroomacoustics/experimental/delay_calibration.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/experimental
copying pyroomacoustics/experimental/point_cloud.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/experimental
copying pyroomacoustics/experimental/measure_ir.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/experimental
copying pyroomacoustics/experimental/__init__.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/experimental
copying pyroomacoustics/experimental/physics.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/experimental
copying pyroomacoustics/experimental/deconvolution.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/experimental
copying pyroomacoustics/experimental/localization.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/experimental
creating build/lib.linux-armv7l-3.7/pyroomacoustics/datasets
copying pyroomacoustics/datasets/base.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/datasets
copying pyroomacoustics/datasets/timit.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/datasets
copying pyroomacoustics/datasets/cmu_arctic.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/datasets
copying pyroomacoustics/datasets/google_speech_commands.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/datasets
copying pyroomacoustics/datasets/__init__.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/datasets
copying pyroomacoustics/datasets/utils.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/datasets
creating build/lib.linux-armv7l-3.7/pyroomacoustics/bss
copying pyroomacoustics/bss/fastmnmf.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/bss
copying pyroomacoustics/bss/trinicon.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/bss
copying pyroomacoustics/bss/ilrma.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/bss
copying pyroomacoustics/bss/sparseauxiva.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/bss
copying pyroomacoustics/bss/common.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/bss
copying pyroomacoustics/bss/auxiva.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/bss
copying pyroomacoustics/bss/__init__.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/bss
creating build/lib.linux-armv7l-3.7/pyroomacoustics/denoise
copying pyroomacoustics/denoise/subspace.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/denoise
copying pyroomacoustics/denoise/iterative_wiener.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/denoise
copying pyroomacoustics/denoise/spectral_subtraction.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/denoise
copying pyroomacoustics/denoise/__init__.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/denoise
creating build/lib.linux-armv7l-3.7/pyroomacoustics/phase
copying pyroomacoustics/phase/gl.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/phase
copying pyroomacoustics/phase/__init__.py -> build/lib.linux-armv7l-3.7/pyroomacoustics/phase
copying pyroomacoustics/build_rir.pyx -> build/lib.linux-armv7l-3.7/pyroomacoustics
creating build/lib.linux-armv7l-3.7/pyroomacoustics/data
copying pyroomacoustics/data/materials.json -> build/lib.linux-armv7l-3.7/pyroomacoustics/data
running build_ext
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c /tmp/tmpdyt6lyor.cpp -o tmp/tmpdyt6lyor.o -std=c++14
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.7m -c /tmp/tmph5zr30la.cpp -o tmp/tmph5zr30la.o -fvisibility=hidden
skipping 'pyroomacoustics/build_rir.c' Cython extension (up-to-date)
building 'pyroomacoustics.libroom' extension
creating build/temp.linux-armv7l-3.7
creating build/temp.linux-armv7l-3.7/pyroomacoustics
creating build/temp.linux-armv7l-3.7/pyroomacoustics/libroom_src
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -Ipyroomacoustics/libroom_src -I/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include -I/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include -Ipyroomacoustics/libroom_src/ext/eigen -I/usr/include/python3.7m -c pyroomacoustics/libroom_src/libroom.cpp -o build/temp.linux-armv7l-3.7/pyroomacoustics/libroom_src/libroom.o -DEIGEN_MPL2_ONLY -Wall -O3 -DEIGEN_NO_DEBUG -DVERSION_INFO="0.4.1" -std=c++14 -fvisibility=hidden
In file included from /tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/pybind11.h:47,
from pyroomacoustics/libroom_src/libroom.cpp:29:
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/detail/init.h: In instantiation of ‘Class* pybind11::detail::initimpl::construct_or_initialize(Args&& ...) [with Class = Wall<2>; Args = {const Eigen::Matrix<float, 2, -1, 0, 2, -1>&, const Eigen::Array<float, -1, 1, 0, -1, 1>&, const Eigen::Array<float, -1, 1, 0, -1, 1>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&}; typename std::enable_if<std::is_constructible<_Tp, _Args>::value, int>::type <anonymous> = 0]’:
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/detail/init.h:174:66: required from ‘static void pybind11::detail::initimpl::constructor<Args>::execute(Class&, const Extra& ...) [with Class = pybind11::class_<Wall<2> >; Extra = {pybind11::arg, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v}; typename std::enable_if<(! Class::has_alias), int>::type <anonymous> = 0; Args = {const Eigen::Matrix<float, 2, -1, 0, 2, -1>&, const Eigen::Array<float, -1, 1, 0, -1, 1>&, const Eigen::Array<float, -1, 1, 0, -1, 1>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&}]’
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/pybind11.h:1148:9: required from ‘pybind11::class_<type_, options>& pybind11::class_<type_, options>::def(const pybind11::detail::initimpl::constructor<Args ...>&, const Extra& ...) [with Args = {const Eigen::Matrix<float, 2, -1, 0, 2, -1>&, const Eigen::Array<float, -1, 1, 0, -1, 1>&, const Eigen::Array<float, -1, 1, 0, -1, 1>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&}; Extra = {pybind11::arg, pybind11::arg_v, pybind11::arg_v, pybind11::arg_v}; type_ = Wall<2>; options = {}]’
pyroomacoustics/libroom_src/libroom.cpp:210:78: required from here
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/detail/init.h:61:64: warning: ‘new’ of type ‘Wall<2>’ with extended alignment 16 [-Waligned-new=]
inline Class *construct_or_initialize(Args &&...args) { return new Class(std::forward<Args>(args)...); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/detail/init.h:61:64: note: uses ‘void* operator new(std::size_t)’, which does not have an alignment parameter
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/detail/init.h:61:64: note: use ‘-faligned-new’ to enable C++17 over-aligned new support
In file included from /tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/attr.h:13,
from /tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/pybind11.h:44,
from pyroomacoustics/libroom_src/libroom.cpp:29:
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/cast.h: In substitution of ‘template<class T, class> static decltype ((new T, pybind11::detail::type_caster_base<Wall<2> >::Constructor{})) pybind11::detail::type_caster_base<Wall<2> >::make_copy_constructor<T, <template-parameter-1-2> >(const T*) [with T = Wall<2>; <template-parameter-1-2> = void]’:
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/cast.h:902:34: required from ‘static pybind11::handle pybind11::detail::type_caster_base<type>::cast(const itype*, pybind11::return_value_policy, pybind11::handle) [with type = Wall<2>; pybind11::detail::type_caster_base<type>::itype = Wall<2>]’
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/cast.h:867:20: required from ‘static pybind11::handle pybind11::detail::type_caster_base<type>::cast(const itype&, pybind11::return_value_policy, pybind11::handle) [with type = Wall<2>; pybind11::detail::type_caster_base<type>::itype = Wall<2>]’
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/pybind11.h:159:43: required from ‘void pybind11::cpp_function::initialize(Func&&, Return (*)(Args ...), const Extra& ...) [with Func = pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = Wall<2>&; Class = Room<2>; Arg = {int}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling}]::<lambda(Room<2>*, int)>; Return = Wall<2>&; Args = {Room<2>*, int}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling}]’
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/pybind11.h:78:9: required from ‘pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = Wall<2>&; Class = Room<2>; Arg = {int}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling}]’
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/pybind11.h:1118:22: required from ‘pybind11::class_<type_, options>& pybind11::class_<type_, options>::def(const char*, Func&&, const Extra& ...) [with Func = Wall<2>& (Room<2>::*)(int); Extra = {}; type_ = Room<2>; options = {}]’
pyroomacoustics/libroom_src/libroom.cpp:129:40: required from here
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/cast.h:923:63: warning: ‘new’ of type ‘Wall<2>’ with extended alignment 16 [-Waligned-new=]
static auto make_copy_constructor(const T *x) -> decltype(new T(*x), Constructor{}) {
^~~~~~~~~
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/cast.h:923:63: note: uses ‘void* operator new(std::size_t)’, which does not have an alignment parameter
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/cast.h:923:63: note: use ‘-faligned-new’ to enable C++17 over-aligned new support
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/cast.h: In substitution of ‘template<class T, class> static decltype ((new T, pybind11::detail::type_caster_base<Wall<2> >::Constructor{})) pybind11::detail::type_caster_base<Wall<2> >::make_move_constructor<T, <template-parameter-1-2> >(const T*) [with T = Wall<2>; <template-parameter-1-2> = void]’:
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/cast.h:902:62: required from ‘static pybind11::handle pybind11::detail::type_caster_base<type>::cast(const itype*, pybind11::return_value_policy, pybind11::handle) [with type = Wall<2>; pybind11::detail::type_caster_base<type>::itype = Wall<2>]’
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/cast.h:867:20: required from ‘static pybind11::handle pybind11::detail::type_caster_base<type>::cast(const itype&, pybind11::return_value_policy, pybind11::handle) [with type = Wall<2>; pybind11::detail::type_caster_base<type>::itype = Wall<2>]’
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/pybind11.h:159:43: required from ‘void pybind11::cpp_function::initialize(Func&&, Return (*)(Args ...), const Extra& ...) [with Func = pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = Wall<2>&; Class = Room<2>; Arg = {int}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling}]::<lambda(Room<2>*, int)>; Return = Wall<2>&; Args = {Room<2>*, int}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling}]’
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/pybind11.h:78:9: required from ‘pybind11::cpp_function::cpp_function(Return (Class::*)(Arg ...), const Extra& ...) [with Return = Wall<2>&; Class = Room<2>; Arg = {int}; Extra = {pybind11::name, pybind11::is_method, pybind11::sibling}]’
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/pybind11.h:1118:22: required from ‘pybind11::class_<type_, options>& pybind11::class_<type_, options>::def(const char*, Func&&, const Extra& ...) [with Func = Wall<2>& (Room<2>::*)(int); Extra = {}; type_ = Room<2>; options = {}]’
pyroomacoustics/libroom_src/libroom.cpp:129:40: required from here
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/cast.h:930:63: warning: ‘new’ of type ‘Wall<2>’ with extended alignment 16 [-Waligned-new=]
static auto make_move_constructor(const T *x) -> decltype(new T(std::move(*const_cast<T *>(x))), Constructor{}) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/cast.h:930:63: note: uses ‘void* operator new(std::size_t)’, which does not have an alignment parameter
/tmp/pip-build-env-e33qwtz2/lib/python3.7/site-packages/pybind11/include/pybind11/cast.h:930:63: note: use ‘-faligned-new’ to enable C++17 over-aligned new support
‘
Internal compiler error: Error reporting routines re-entered.
0xb6a53717 __libc_start_main
/build/glibc-FUvrFr/glibc-2.28/csu/libc-start.c:308
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-8/README.Bugs> for instructions.
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
Issue Analytics
- State:
- Created 3 years ago
- Comments:7
Top Results From Across the Web
Summary — Pyroomacoustics 0.7.3 documentation
Intuitive Python object-oriented interface to quickly construct different simulation scenarios involving multiple sound sources and microphones in 2D and 3D ...
Read more >Show devel:ARM:Factory:Contrib:ILP32
coredns-for-k8s1.21, openSUSE:Factory. coredns-for-k8s1.22 ... cputype-armv7, openSUSE:Factory:ARM ... raspberrypi-firmware-config-camera, openSUSE:Factory.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Ok, so I think the reason it is not working is that the Pi does not have enough memory to compile the C++ extension. Adding a swap partition solves the memory problem, but the compilation becomes unbearably slow (I couldn’t finish it, but no crash).
A workaround solution is to use an older version of pyroomacoustics that used a C extension that is much easier to compile.
The above worked for me. I will look into alternative solutions for ARM as it would be nice to have.
Closing this due to lack of activity.