Created attachment 175602 [details] Patch to update graphics/poppler - Update to 0.48.0 - enable nss No changes for slaves ports. Tested with poudriere: - i386 9.3: OK - amd64 10.3, 11.0-RC3 : OK
=> Patch patch-poppler_PDFDoc.cc failed to apply cleanly. Original file has isDict, not isNull
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.
Created attachment 175608 [details] Patch to update graphics/poppler Submit wrong patch, new one is fine.
(In reply to Olivier Duchateau from comment #3) This patch works for me (light testing). USES=localbase can also be removed.
(In reply to John Hein from comment #4) USES= localbase is required for slaves packages (poppler-utils, poppler-qt*) otherwise build fails.
Superseded by bug #215358