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.
https://gnuradio.org
GNU General Public License v3.0
414 stars 191 forks source link

SWIG Error installing GNURadio3.8 with Pybombs #610

Closed nbulk closed 2 years ago

nbulk commented 2 years ago

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.

willcode commented 2 years ago

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.