freedomofpress / dangerzone

Take potentially dangerous PDFs, office documents, or images and convert them to safe PDFs
https://dangerzone.rocks/
GNU Affero General Public License v3.0
3.37k stars 153 forks source link

Dangerzone image doesn't build (errors during libmupdfcpp.so compilation) #750

Closed stepnem closed 3 months ago

stepnem commented 3 months ago

As witnessed in the last two Tests runs (last one), build-image.py now fails during the "Preparing metadata" step, in particular there are errors (e.g., 'FzStextPage' does not name a type; did you mean 'fz_stext_page'?) when compiling libmupdfcpp.so.

apyrgio commented 3 months ago

Thanks for pointing out these errors. I hoped they would be transient, but they still persist. Also, I can reproduce them in a vanilla Alpine Linux container.

Since we have not changed something in the way we build our container images in the past few days, I opened an issue in PyMuPDF's bug tracker: https://github.com/pymupdf/PyMuPDF/issues/3279