The error is in the java version 8 that complains about not be able to allocate enough stack for the vm machine... The solution is to export to the enviroment JAVA_OPTIONS with proper stack size export _JAVA_OPTIONS="-Xmx512M" Than continue to build libreoffice and it works
I think, this should be set in the port's Makefile;
Is this still an issue?