Date: Thu, 1 Sep 2011 13:48:27 +1000 (EST) From: Peter Jeremy <Peter.Jeremy@alcatel-lucent.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/160351: www/libxul installs incorrect mozilla-nss.pc Message-ID: <201109010348.p813mRq2070434@pjdesk.au.alcatel-lucent.com> Resent-Message-ID: <201109010420.p814K9ae084600@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 160351 >Category: ports >Synopsis: www/libxul installs incorrect mozilla-nss.pc >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 01 04:20:09 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 libxul-1.9.2.17_1 >Description: After upgrading to libxul-1.9.2.17_1, "pkg-config --libs mozilla-nss" returns: -Wl,-rpath,/usr/local/lib/libxul -pthread -L/usr/local/lib/libxul/sdk/lib -L/usr/local/lib -lsmime3 -lssl3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 The problem is that none of -lsmime3 -lssl3 -lnss3 -lnssutil3 are located in either /usr/local/lib/libxul/sdk/lib or /usr/local/lib. They are all located in /usr/local/lib/libxul - which is only in the runtime search path. (-lplds4 -lplc4 -lnspr4 are located in /usr/local/lib). This causes link failures for programs that use mozilla-nss >How-To-Repeat: Run "pkg-config --libs mozilla-nss" Compare with "ls /usr/local/lib/libxul /usr/local/lib/libxul/sdk/lib /usr/local/lib" >Fix: Not known >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109010348.p813mRq2070434>