Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Oct 2016 16:59:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 213359] graphics/poppler: Update to 0.48.0
Message-ID:  <bug-213359-6497-2YXG9X13hq@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-213359-6497@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #2 from John Hein <z7dr6ut7gs@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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213359-6497-2YXG9X13hq>