Bug#739490: iceweasel: compiled extensions can not be built with version in wheezy-sec

Mike Hommey mh at glandium.org
Mon Feb 24 08:58:22 UTC 2014


On Wed, Feb 19, 2014 at 10:33:09AM +0100, Raphael Geissert wrote:
> Package: iceweasel
> Version: 24.3.0esr-1~deb7u1
> Severity: important
> 
> Hi,
> 
> As mentioned in a private email, binary extensions fail to build with
> the backported iceweasel/xulrunner in wheezy-sec, but they do build
> with the version in sid. An example that is easy to try is
> mozilla-gnome-keyring.
> 
> It fails to find the mozilla-nspr pkg-config file, which results in a
> series of missing files and the build failure. There's also a "cannot
> find -lmozglue" error from the linker.

Can you try this patch:

diff --git a/debian/noinstall.in b/debian/noinstall.in
index 04815eb..2e4781d 100644
--- a/debian/noinstall.in
+++ b/debian/noinstall.in
@@ -6,7 +6,7 @@ usr/lib/@browser@/browser/defaults/preferences/firefox-l10n.js
 usr/lib/xulrunner- at GRE_VERSION@/libmozjs.so
 usr/lib/xulrunner- at GRE_VERSION@/dictionaries
 usr/include/xulrunner- at GRE_VERSION@/testing
-%if LESS_SYSTEM_LIBS
+%if !LESS_SYSTEM_LIBS
 usr/lib/pkgconfig/mozilla-nspr.pc
 usr/lib/pkgconfig/mozilla-nss.pc
 %endif
diff --git a/debian/xulrunner-dev.install.in b/debian/xulrunner-dev.install.in
index 5cf8918..bdbcef0 100644
--- a/debian/xulrunner-dev.install.in
+++ b/debian/xulrunner-dev.install.in
@@ -7,3 +7,7 @@ usr/lib/xulrunner-devel- at GRE_VERSION@
 usr/lib/pkgconfig/libxul.pc
 usr/lib/pkgconfig/libxul-embedding.pc
 usr/lib/pkgconfig/mozilla-plugin.pc
+%if LESS_SYSTEM_LIBS
+usr/lib/pkgconfig/mozilla-nspr.pc
+usr/lib/pkgconfig/mozilla-nss.pc
+%endif

Mike



More information about the pkg-mozilla-maintainers mailing list