Looks like permissions to me but the port should handle all of that. Nothing obvious in /etc/group. What might be missing? This is the fourth time I've compiled is on various 14.1 and 14.2 BEs. It's the last piece.
# cd /usr/ports/editors/libreoffice
# make clean
# make deinstall
# make
# make reinstall
In a bit of sleuthing I mounted a 14.1 boot environment where everything worked including libreoffice. It was a mix of qt5 and 6. /usr/local/bin/libreoffice was actually:mini [15] [7:09am] [/home/user]$ libreoffice
/usr/local/bin/libreoffice: Permission denied.
Clean-out and re-install doesn't work except to give me the prior runs-only-as-root state. The fact that soffice is also re-installed at 700 tells me there's something broken in the install scripting, unless they do some kind of wrapping. I imagine it works for somebody, but not me. I'm done here.In a bit of sleuthing I mounted a 14.1 boot environment where everything worked including libreoffice. It was a mix of qt5 and 6. /usr/local/bin/libreoffice was actually:
/mnt/usr/local/bin/libreoffice was a soft link to ../lib/libreoffice/program/soffice and soffice was 755.
What's neat is that in setting up a link to test the path I found:
/usr/local/libreoffice/usr/local/lib/libreoffice/program/soffice, and it was version 25.2.0.3, and $USER can run it.
So, another try with the latest compile of 25.2.1.2 (I thought this was safe since they have different paths):
/usr/local/lib/libreoffice/program/soffice "/usr/local/lib/libreoffice/program/soffice: Permission denied." but, it was 700. So I changed mode on soffice to 755 and ran it as $USER and:
Failed to find intro image
The application cannot be started.
The component manager is not available.
("Cannot obtain UNO_SERVICES from uno ini")
chmod 755 /usr/local/lib/libreoffice/* give the sameUNO_ error. The plan now is to create a new BE, boot into it, blow out Libreoffice, do a find for stragglers and delete them, and reinstall Libreoffice which is still in port's stage directory. It compiled cleanly and is safe. The fact I can run the prior version looks like it's cruft with a path that precedes the path to the installed new version.