Problems rebuilding app

There’s no way to tell without the full log.

My best guess is that you’re our of ram. I would try adding swap.

How much ram and swap do you have?