Date: Thu, 1 Sep 2011 15:07:05 +1000 (EST) From: Peter Jeremy <Peter.Jeremy@alcatel-lucent.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/160352: net-im/pidgin-sipe has undocumented NSS dependency Message-ID: <201109010507.p81575hM093216@pjdesk.au.alcatel-lucent.com> Resent-Message-ID: <201109010520.p815K8Lv045164@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 160352 >Category: ports >Synopsis: net-im/pidgin-sipe has undocumented NSS dependency >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 01 05:20:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Peter Jeremy >Release: FreeBSD 8.2-STABLE amd64 >Organization: n/a >Environment: System: FreeBSD pjdesk.au.alcatel-lucent.com 8.2-STABLE FreeBSD 8.2-STABLE #6: Mon Feb 28 10:09:48 EST 2011 root@C2B0004103.au.alcatel-lucent.com:/var/obj/usr/src/sys/pjdesk amd64 pidgin-sipe-1.11.2_3 >Description: By default, pidgin-sipe uses pkg-config to include the first of "nss" (security/nss), "mozilla-nss" (www/libxul) or "microb-engine-nss" (not a FreeBSD port AFAIK) to provide NSS functionality. None of these are listed as dependencies. By default, net-im/libpurple and net-im/pidgin both include a dependency on security/nss (via a config option) and this will be inherited by pidgin-sipe. If this dependency is disabled but either security/nss or www/libxul are installed for other reasons, pidgin-sipe will have an unlisted dependency on that package. Note that if libxul-1.9.2.17_1 is installed without security/nss being installed, pidgin-sipe will fail to build because mozilla-nss is currently broken (see ports/160351). It's possible there are other undocumented implicit dependencies, I only noticed this one due to the mozilla-nss breakage. >How-To-Repeat: Build and install net-im/libpurple and net-im/pidgin with NSS disabled. Build and install security/nss Build and install pidgin-sipe pkg_info -r pidgin-sipe-1.11.2_3 | grep nss pkg_info -R nss-\* | grep pidgin show no dependency is recorded. ldd /usr/local/lib/purple-2/libsipe.so | grep nss shows pidgin-sipe depends on files in security/nss >Fix: The NSS dependency in pidgin-sipe cannot be disabled via a configure knob so pidgin-sipe should probably have a LIB_DEPENDS on security/nss. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109010507.p81575hM093216>