The error happens here:
-g -pipe -fexceptions -fstack-protector --param=ssp-buffer-size=4
-fasynchronous-unwind-tables -fPIC -fwrapv -g -pipe -fexceptions
-fstack-protector --param=ssp-buffer-size=4
-fasynchronous-unwind-tables -fPIC -fwrapv -DHAVE_CONFIG_H -DNDEBUG
-I./include -I./out -I../flower/include -I../flower/./out
-I../flower/include -O2 -finline-functions -g -pipe -pthread
-I/usr/include/freetype2 -pthread -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -Wno-pmf-conversions -W -Wall
-Wconversion -o out/relocate.o relocate.cc
relocate.cc:39:22: fatal error: version.hh: No such file or directory
compilation terminated.
make[1]: *** [out/relocate.o] Error 1
make[1]: Leaving directory `/home/smoge/src/lilypond-build/lily'
make: *** [all] Error 2