Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
stepnem opened this issue Mar 19, 2024 · 1 comment
Closed
Labels
bug Something isn't working container
Milestone

Comments

@stepnem
Copy link
Contributor

stepnem commented Mar 19, 2024

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 apyrgio added bug Something isn't working container labels Mar 19, 2024
@apyrgio
Copy link
Contributor

apyrgio commented Mar 19, 2024

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: pymupdf/PyMuPDF#3279

@apyrgio apyrgio added this to the 0.7.0 milestone Mar 19, 2024
stepnem added a commit to stepnem/dangerzone that referenced this issue Mar 22, 2024
The problem (MuPDF C++ bindings generation breakage) was
apparently caused by a recent libclang update on pypi, and
fixed in the 1.24.0 release[1].

Fixes freedomofpress#750
[1]: pymupdf/PyMuPDF#3279
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working container
Projects
None yet
Development

No branches or pull requests

2 participants