Created attachment 182329 [details]
Log is in the attachment.
Same issue for me. 11-STABLE r317350 on amd64. It now "Affects some people".
Something similar for me. See https://forums.freebsd.org/threads/60837/
Mare than failed build, it consumed all the memory.
FreeBSD 10.3-STABLE r316768
We have libreoffice version 5.3.7. Overciome by events, could be closed.
Probably worked around by ports r442891.