#22231 closed defect (fixed)
libreoffice-25.8.3.2
| Reported by: | Joe Locash | Owned by: | Bruce Dubbs |
|---|---|---|---|
| Priority: | normal | Milestone: | 13.0 |
| Component: | BOOK | Version: | git |
| Severity: | medium | Keywords: | |
| Cc: |
Description
Seeing these errors when building:
/tmp/build/libreoffice-25.8.1.1/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx:220:78: error: no matching function for call to 'std::optional<GooString>::optional(GooString*&)'
220 | std::optional<GooString>(pOwnerPasswordStr),
| ^
/tmp/build/libreoffice-25.8.1.1/sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx:221:77: error: no matching function for call to 'std::optional<GooString>::optional(GooString*&)'
221 | std::optional<GooString>(pUserPasswordStr)));
| ^
Attachments (2)
Change History (16)
comment:1 by , 12 months ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 12 months ago
| Summary: | LibreOffice FTBFS with poppler-25.10.0 → LibreOffice FTBFS with poppler-25.10.0 (and update to libreoffice-25.8.2.1) |
|---|
A new version of Libreoffice is available but I don't see any Poppler related fixes in here yet
comment:3 by , 12 months ago
The proper new version is 25.8.2.2. It took much longer than normal to get uploaded after the version was announced. I did not see it on the download site until October 10. I did see that Arch put up 25.8.2.1 which is RC1. I have been holding back on addressing the Poppler change until the release.
comment:4 by , 12 months ago
| Summary: | LibreOffice FTBFS with poppler-25.10.0 (and update to libreoffice-25.8.2.1) → LibreOffice FTBFS with poppler-25.10.0 (and update to libreoffice-25.8.2.2) |
|---|
Thank you Marty, looking forward to seeing what you come up with!
by , 12 months ago
| Attachment: | libreoffice-25.8.2.2-poppler_25.10-1.patch added |
|---|
Address build failure with poppler-25.10
comment:6 by , 12 months ago
It would be helpful if someone looked that patch over who is more conversant with std::optional and std::make_unique. At this point GooString is approximately equal to std::string. I am suspicious that the myStringToStdString are no longer needed. I have not tested the code flow through the patch beyond seeing that it compiles. The uses I make of Libreoffice work normally.
comment:7 by , 12 months ago
I'll take a look at it in a little while and try loading a password-protected PDF file that I have
by , 12 months ago
| Attachment: | libreoffice-25.8.2.2-poppler_25.10-2.patch added |
|---|
Poppler 25.10 correction via Arch
comment:8 by , 12 months ago
Updated with patch from Arch. My -1 version probably should be disregarded.
comment:9 by , 10 months ago
There are no tickets for these yet but libreoffice-25.8.3.2 builds fine with poppler-25.11.0.
comment:10 by , 10 months ago
| Summary: | LibreOffice FTBFS with poppler-25.10.0 (and update to libreoffice-25.8.2.2) → LibreOffice FTBFS with poppler-25.10.0 (and update to libreoffice-25.8.3.2) |
|---|
comment:11 by , 10 months ago
| Owner: | changed from to |
|---|---|
| Status: | assigned → new |
| Summary: | LibreOffice FTBFS with poppler-25.10.0 (and update to libreoffice-25.8.3.2) → libreoffice-25.8.3.2 |
comment:12 by , 10 months ago
| Status: | new → assigned |
|---|
comment:13 by , 10 months ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Fixed at commit ab25232dea.

I'll take this for now, but as far as I can tell there's been no changes upstream yet for it quite yet