Created attachment 202926 [details] mupdf build log mupdf backend looks to be broken. It compiles, but doesn't load error: Could not load plugin '/usr/local/lib/zathura/libpdf-mupdf.so' (/usr/local/lib/libmupdf.so.1.14.0: Undefined symbol "jpeg_resync_to_restart"). Poppler backend works. I see recent mupdf updates, maybe something is broken?
mupdf opens pdfs, so it's definitely not a 1.14 update.
@rigoletto https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233727 https://reviews.freebsd.org/D19301#413325
That was working, and I indeed used for a while. I will try take a look on it during this week. If someone can look earlier, go for it. :)
Based on a quick look and it looks like to be a linking problem
graphics/mupdf is not loading the system libraries correctly. The port is expected to be fixed soon but for the sake of workaround, for now you can run zathura like this: LD_PRELOAD=/usr/local/lib/libjpeg.so:/usr/local/lib/libjbig2dec.so:/usr/local/lib/libopenjp2.so zathura somefile.pdf
Here is an update and fix: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237770
A commit references this bug: Author: rigoletto Date: Tue May 7 19:36:11 UTC 2019 New revision: 500974 URL: https://svnweb.freebsd.org/changeset/ports/500974 Log: graphics/mupdf: Upate to 1.15.0 - bump graphics-zathura-mupdf PR: 237770 PR: 236590 Submitted by: Zsolt Udvari (maintainer) Approved by: tcberner (mentor) MFH: 2019Q2 Changes: head/graphics/mupdf/Makefile head/graphics/mupdf/distinfo head/graphics/mupdf/pkg-plist head/graphics/zathura-pdf-mupdf/Makefile
Thanks! :-)
A commit references this bug: Author: rigoletto Date: Wed May 8 04:47:38 UTC 2019 New revision: 500992 URL: https://svnweb.freebsd.org/changeset/ports/500992 Log: MFH: r500974 graphics/mupdf: Upate to 1.15.0 - bump graphics-zathura-mupdf PR: 237770 PR: 236590 Submitted by: Zsolt Udvari (maintainer) Approved by: tcberner (mentor) Approved by: ports-secteam (miwi) Changes: _U branches/2019Q2/ branches/2019Q2/graphics/mupdf/Makefile branches/2019Q2/graphics/mupdf/distinfo branches/2019Q2/graphics/mupdf/pkg-plist branches/2019Q2/graphics/zathura-pdf-mupdf/Makefile