I am new to Haiku and I really like the look&feel. I installed quite a few things and all went smooth except LibreOffice.
When I try to install from HaikuDepot (Repository: HaikuPorts) a error-message pops up:
“Package problems”
The following problems have been encountered. Please select a solution for each:
nothing provides lib:libpoppler>=104.0.0 needed by libreoffice-7.2.0.4-2
Solution1: do not install “providing libreoffice”
ignore problem for now
I can only cancel or take solution 1 (also cancel).
It is a clean install R1/beta3 (Revision hrev55181+63)
x86_64
Yup, there is definitely a problem with Libreoffice. It wants Poppler >= 104.0, however poppler 22.0.1 is the latest version of the libpoppler library in the Depot. I have the same issue with the latest nightly, hrev55845.
I think this was about more than poppler though. Bison was updated to a version which had some breaking changes otherwise a simple revision bump in the recipe would have been enough.
Don’t think so, a rebuild for libreoffice would reveal the issues mentioned at the poppler PR, for now @un_spacyar already applied the “bison” fix needed for 64bit, for 32bit it seems an issue with gcc11 (that wasn’t around at that time so would have popped up sooner or later) (I think) EDIT the previous poppler version could be kept (only needed a rebuild for poppler_data then)
Keeping compatibility libraries avoid being dependent on a fast rebuild of packages using the old library. For some binary packages like qtwebengine, this is almost required.
The issue was the error message when installing libreoffice. Libreoffice not being rebuilt was still dependent on the old poppler version, which wasn’t available anymore. Providing a compatibility lib for the old version would have avoided this issue. I know it can be more work, but at least the repository stays consistent for the users.
I take full responsibility in this matter, atm there is an open PR by @cocobean (not checked yet), if need be I could still enable a libversion for previous poppler for LO, sorry for this …