I am building the woo package using the recipe https://code.launchpad.net/~eudoxos/+recipe/woo-daily . The amd64 build consistently fails (almost certainly) due to insufficient memory. The code is extremely template-intensive and gcc allocates around 3-4GB of RAM during compilation. I assume the builder starts swapping, which makes it extremely slow and is eventually killed due to inactivity; all failed builds end in this way:
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DWOO_REVISION=debian -DWOO_VERSION=0.99+3139+9~quantal1 -DWOO_SOURCE_ROOT= -DWOO_FLAVOR= -DWOO_CXX_FLAVOR= -DWOO_QT4 -DWOO_VTK -DWOO_OPENGL -DWOO_GTS -DWOO_OPENMP -DWOO_NOXML -DWOO_CAST=static_cast -DWOO_PTR_CAST=static_pointer_cast -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_SHARED -Ibuild-src-tree -I/usr/include/eigen3 -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/vtk-5.8 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/include/python2.7 -c build-src-tree/src/chunk-02.cpp -o build/temp.linux-x86_64-2.7/build-src-tree/src/chunk-02.o -Wall -fvisibility=hidden -std=c++11 -pipe -g0 -O3 -march=core2 -fopenmp
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ [enabled by default]
Session terminated, terminating shell...make: *** [build-arch] Terminated
...terminated.
Build killed with signal 15 after 150 minutes of inactivity
I would like to ask if there is a way to get better diagnostics from the builder (such as what was the maximum RAM usage) and if there is a way to have that package built on builders with 4GB RAM, if there are such.