[Bug 213359] graphics/poppler: Update to 0.48.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 10 16:59:22 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213359

--- Comment #2 from John Hein <z7dr6ut7gs at snkmail.com> ---

TLDR; USES=localbase is unnecessary, so it can be removed.

If devel/libc++ is installed (tested on 10.3-stable where c++ is clang and
there is a libc++ in base /usr/lib):

====> Running Q/A tests (stage-qa)
Error: /usr/local/lib/libpoppler-cpp.so.0.3.0 is linked to
/usr/local/lib/libc++.so.1 from devel/libc++ but it is not declared as a
dependency
Warning: you need LIB_DEPENDS+=libc++.so:devel/libc++


This is because of -L/usr/local/lib appears before -L/usr/lib in the linker
flags (and -rpath is specified as /usr/local/lib by default - unless you define
PREFIX otherwise - see cpp/Makefile.in & poppler/Makefile.in).

Removing 'localbase' is not necessary as far as I can see, so removing it from
USES helps the situation with the unrecorded dependency on devel/libc++:

 - ldd libpoppler.so & ldd libpoppler-cpp.so will report /usr/lib/libc++.so.1

 - the QA test still fails with a false positive because proxydeps() bogusly
hard-codes LD_LIBRARY_PATH=${LOCALBASE}/lib, but that can be addressed
separately.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-gnome mailing list