$ ninja-build && ninja-build install
[8/137] Generating ../../lib/gnucash/scm/ccache/2.0/gnucash/gnc-module.go
 invalid, trying TZ environment variable.
No valid $TZ, resorting to /etc/localtime.
wrote `/home/janssege/Development/builds/kdevelop/gnucash/master/lib/gnucash/scm/ccache/2.0/gnucash/gnc-module.go'
[12/137] Generating ../../lib/gnucash/scm/ccache/2.0/gnucash/core-utils.go
 invalid, trying TZ environment variable.
No valid $TZ, resorting to /etc/localtime.
wrote `/home/janssege/Development/builds/kdevelop/gnucash/master/lib/gnucash/scm/ccache/2.0/gnucash/core-utils.go'
[18/137] Linking CXX shared library lib/libgnc-backend-xml-utils.so
src/backend/xml/CMakeFiles/gnc-backend-xml-utils.dir/gnc-xml-backend.cpp.o: In function `GncXmlBackend::write_to_file(bool)':
/home/janssege/Development/gnucash/gnucash-master/src/backend/xml/gnc-xml-backend.cpp:379: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
[19/137] Generating ../../lib/gnucash/scm/ccache/2.0/gnucash/unittest-support.go
 invalid, trying TZ environment variable.
No valid $TZ, resorting to /etc/localtime.
wrote `/home/janssege/Development/builds/kdevelop/gnucash/master/lib/gnucash/scm/ccache/2.0/gnucash/unittest-support.go'
[20/137] Generating ../../lib/gnucash/scm/ccache/2.0/gnucash/gettext.go
 invalid, trying TZ environment variable.
No valid $TZ, resorting to /etc/localtime.
wrote `/home/janssege/Development/builds/kdevelop/gnucash/master/lib/gnucash/scm/ccache/2.0/gnucash/gettext.go'
[33/137] Generating ../../lib/gnucash/scm/ccache/2.0/gnc-menu-extensions.go
wrote `/home/janssege/Development/builds/kdevelop/gnucash/master/lib/gnucash/scm/ccache/2.0/gnc-menu-extensions.go'
[34/137] Generating ../../lib/gnucash/scm/ccache/2.0/gnucash/gnome-utils.go
 invalid, trying TZ environment variable.
No valid $TZ, resorting to /etc/localtime.
wrote `/home/janssege/Development/builds/kdevelop/gnucash/master/lib/gnucash/scm/ccache/2.0/gnucash/gnome-utils.go'
[40/137] Generating ../../lib/gnucash/scm/ccache/2.0/gnucash/business-core.go
 invalid, trying TZ environment variable.
No valid $TZ, resorting to /etc/localtime.
wrote `/home/janssege/Development/builds/kdevelop/gnucash/master/lib/gnucash/scm/ccache/2.0/gnucash/business-core.go'
[42/137] Generating ../../lib/gnucash/scm/ccache/2.0/gnucash/engine.go
 invalid, trying TZ environment variable.
No valid $TZ, resorting to /etc/localtime.
wrote `/home/janssege/Development/builds/kdevelop/gnucash/master/lib/gnucash/scm/ccache/2.0/gnucash/engine.go'
[45/137] Generating ../../lib/gnucash/scm/ccache/2.0/gnc-numeric.go
wrote `/home/janssege/Development/builds/kdevelop/gnucash/master/lib/gnucash/scm/ccache/2.0/gnc-numeric.go'
[46/137] Generating ../../lib/gnucash/scm/ccache/2.0/commodity-table.go
wrote `/home/janssege/Development/builds/kdevelop/gnucash/master/lib/gnucash/scm/ccache/2.0/commodity-table.go'
[47/137] Generating ../../lib/gnucash/scm/ccache/2.0/engine-interface.go
wrote `/home/janssege/Development/builds/kdevelop/gnucash/master/lib/gnucash/scm/ccache/2.0/engine-interface.go'
[50/137] Generating ../../lib/gnucash/scm/ccache/2.0/engine-utilities.go
FAILED: lib/gnucash/scm/ccache/2.0/engine-utilities.go
cd /home/janssege/Development/builds/kdevelop/gnucash/master/src/engine && /usr/bin/cmake -E env GNC_UNINSTALLED= GNC_BUILDDIR=/home/janssege/Development/builds/kdevelop/gnucash/master LD_LIBRARY_PATH="/home/janssege/Development/builds/kdevelop/gnucash/master/lib:/home/janssege/Development/builds/kdevelop/gnucash/master/lib/gnucash:" DYLD_LIBRARY_PATH="/home/janssege/Development/builds/kdevelop/gnucash/master/lib:/home/janssege/Development/builds/kdevelop/gnucash/master/lib/gnucash:" GUILE_LOAD_PATH=/home/janssege/Development/gnucash/gnucash-master/src/engine:/home/janssege/Development/builds/kdevelop/gnucash/master/share/gnucash/scm GUILE_LOAD_COMPILED_PATH=/home/janssege/Development/builds/kdevelop/gnucash/master/lib/gnucash/scm/ccache/2.0 GNC_MODULE_PATH="/home/janssege/Development/builds/kdevelop/gnucash/master/lib:/home/janssege/Development/builds/kdevelop/gnucash/master/lib/gnucash:" /usr/bin/guile -e '(@@ (guild) main)' -s /usr/bin/guild compile -o /home/janssege/Development/builds/kdevelop/gnucash/master/lib/gnucash/scm/ccache/2.0/engine-utilities.go /home/janssege/Development/gnucash/gnucash-master/src/engine/engine-utilities.scm
 invalid, trying TZ environment variable.
No valid $TZ, resorting to /etc/localtime.

(process:26451): gnc.module-WARNING **: Failed to dlopen() '/home/janssege/Development/builds/kdevelop/gnucash/master/lib/gnucash/libgncmod-business-gnome.so': /home/janssege/Development/builds/kdevelop/gnucash/master/lib/gnucash/libgncmod-report-gnome.so: file too short

Segmentation fault
[53/137] Linking C shared library lib/gnucash/libgncmod-register-gnome.so
ninja: build stopped: subcommand failed.
