(lep_test)pi@raspberrypi:~/work/lep_test/build/wxPython-4.0.0b2 $ python build.py build --jobs=1 Will build using: "/home/pi/.virtualenvs/lep_test/bin/python" 3.4.2 (default, Oct 19 2014, 13:31:11) [GCC 4.9.1] Python's architecture is 32bit cfg.VERSION: 4.0.0b2 Running command: build Running command: build_wx wxWidgets build options: ['--wxpython', '--unicode', '--jobs=1', '--no_config', '--gtk3'] Configure options: ['--enable-unicode', '--with-gtk=3', '--with-opengl', '--enable-sound', '--enable-graphics_ctx', '--enable-mediactrl', '--enable-display', '--enable-geometry', '--enable-debug_flag', '--enable-optimise', '--disable-debugreport', '--enable-uiactionsim', '--with-sdl'] /usr/bin/make make --jobs=1 /home/pi/work/lep_test/build/wxPython-4.0.0b2/build/wxbld/gtk3/bk-deps g++ -c -o advdll_animatecmn.o -I./.pch/wxprec_advdll -D__WXGTK__ -DWXBUILDING -I/home/pi/work/lep_test/build/wxPython-4.0.0b2/ext/wxWidgets/src/regex -DWXUSINGDLL -DWXMAKINGDLL_ADV -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -D_FILE_OFFSET_BITS=64 -I/home/pi/work/lep_test/build/wxPython-4.0.0b2/build/wxbld/gtk3/lib/wx/include/gtk3-unicode-3.0 -I/home/pi/work/lep_test/build/wxPython-4.0.0b2/ext/wxWidgets/include -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/libxml2 -pthread -I/usr/include/webkitgtk-3.0 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/webkitgtk-3.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -DWX_PRECOMP -pthread -O2 -fno-strict-aliasing -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -pthread -I/usr/include/gtk-3.0/unix-print -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -fvisibility=hidden -fvisibility-inlines-hidden /home/pi/work/lep_test/build/wxPython-4.0.0b2/ext/wxWidgets/src/common/animatecmn.cpp g++: internal compiler error: Segmentation fault (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Makefile:38645: recipe for target 'advdll_animatecmn.o' failed make: *** [advdll_animatecmn.o] Error 4 Error building ERROR: failed building wxWidgets Traceback (most recent call last): File "build.py", line 1269, in cmd_build_wx wxbuild.main(wxDir(), build_options) File "/home/pi/work/lep_test/build/wxPython-4.0.0b2/buildtools/build_wxwidgets.py", line 500, in main exitIfError(wxBuilder.build(dir=buildDir, options=args), "Error building") File "/home/pi/work/lep_test/build/wxPython-4.0.0b2/buildtools/build_wxwidgets.py", line 85, in exitIfError raise builder.BuildError(msg) buildtools.builder.BuildError: Error building Finished command: build_wx (0m2.631s) Finished command: build (0m2.631s)