fix a compile error for python-head
use git reset for erlang.
remove unnecessary semicolon in Upstart scripts.
view build errors.