gnuradio / pybombs

PyBOMBS (Python Build Overlay Managed Bundle System) is the GNU Radio install management system for resolving dependencies and pulling in out-of-tree projects.

Home Page:https://gnuradio.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SWIG Error installing GNURadio3.8 with Pybombs

nbulk opened this issue · comments

commented

Trying to install GNURadio via pybombs.
Following the commands in the readme.

After hitting pybombs prefix init ~/prefix-3.8 -R gnuradio-default the process ends with a build error.
Last output from the process:

Scanning dependencies of target blocks_swig3
[ 30%] Building CXX object gr-blocks/swig/CMakeFiles/blocks_swig3.dir/CMakeFiles/blocks_swig3.dir/blocks_swig3PYTHON_wrap.cxx.o
make[2]: *** [gr-blocks/swig/CMakeFiles/blocks_swig3.dir/build.make:63: gr-blocks/swig/CMakeFiles/blocks_swig3.dir/CMakeFiles/blocks_swig3.dir/blocks_swig3PYTHON_wrap.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:5950: gr-blocks/swig/CMakeFiles/blocks_swig3.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
[DEBUG] Thread signaled termination or returned
[DEBUG] Return value: 2
[ERROR] Build failed. See output above for error messages.
[ERROR] Problem occurred while building package gnuradio: Build failed.
[ERROR] Error installing package gnuradio. Aborting.

It looks like you ran out of memory while compiling the SWIG wrappers. Try setting makewidth: 1 in your $HOME/.pybombs/config.yml, or at least set it to something smaller than it is now.