Date: Mon, 08 Oct 2018 00:29:31 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 232059] graphics/mupdf: libmupdf.so contains unresolved symbols Message-ID: <bug-232059-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232059 Bug ID: 232059 Summary: graphics/mupdf: libmupdf.so contains unresolved symbols Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: aou@eecs.berkeley.edu CC: uzsolt@uzsolt.hu Flags: maintainer-feedback?(uzsolt@uzsolt.hu) CC: uzsolt@uzsolt.hu Created attachment 197896 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D197896&action= =3Dedit patch-Makefile libmupdf.so references symbols from libmupdfthird.so but does not link dire= ctly against it. This is problematic for ports using the --as-needed linker option, such as graphics/zathura-pdf-mupdf (>=3D 0.3.3) due to Meson's defaults.=20 zathura-pdf-mupdf itself does not reference symbols from libmupdfthird.so, = and so despite being included in the linker arguments, libmupdfthird.so is not actually linked in. (Note that this interaction would not arise if mupdf provided static librar= ies only, as was the case before ports r433550. Therefore, upstream rejected t= he suggestion of changing the Meson option b_asneeded to false.) $ zathura --version error: Could not load plugin '/usr/local/lib/zathura/libpdf-mupdf.so' (/usr/local/lib/libmupdf.so.1.13.0: Undefined symbol "js_tointeger"). zathura 0.4.0 girara 0.3.1 (runtime: 0.3.1) Attached is a proposed fix to ensure that libmupdf.so contains a DT_NEEDED = tag for libmupdfthird.so. poudriere testport: OK --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232059-7788>