Source: firefox
Version: 72.0.1-1
Severity: minor
Tags: patch

Dear maintainer,

Please apply the attached patch of the d/browser.install.in file for
build the package with no system-wide SQLite, NSPR, or NSS. I suggest
to use checking of those environment variables consistent with the
d/control.in file, so that one could export USE_SYSTEM_SQLITE=0 (or
USE_SYSTEM_NSPR, or USE_SYSTEM_NSS).

Without the patch I get the following error of dh_missing at
installation phase.

(Firefox)builder@barberry:~/firefox-72.0.1$ fakeroot dh_install --fail-
missing
dh_install: Please use dh_missing --list-missing/--fail-missing instead
dh_install: This feature will be removed in compat 12.

dh_missing: usr/lib/firefox/libnspr4.so exists in debian/tmp but is not
installed to anywhere
dh_missing: usr/lib/firefox/libplc4.so exists in debian/tmp but is not
installed to anywhere
dh_missing: usr/lib/firefox/libplds4.so exists in debian/tmp but is not
installed to anywhere
dh_missing: usr/lib/firefox/libmozsqlite3.so exists in debian/tmp but
is not installed to anywhere
dh_missing: usr/lib/firefox/libfreeblpriv3.so exists in debian/tmp but
is not installed to anywhere
dh_missing: usr/lib/firefox/libnss3.so exists in debian/tmp but is not
installed to anywhere
dh_missing: usr/lib/firefox/libnssckbi.so exists in debian/tmp but is
not installed to anywhere
dh_missing: usr/lib/firefox/libnssdbm3.so exists in debian/tmp but is
not installed to anywhere
dh_missing: usr/lib/firefox/libnssutil3.so exists in debian/tmp but is
not installed to anywhere
dh_missing: usr/lib/firefox/libsmime3.so exists in debian/tmp but is
not installed to anywhere
dh_missing: usr/lib/firefox/libssl3.so exists in debian/tmp but is not
installed to anywhere
dh_missing: usr/lib/firefox/libsoftokn3.so exists in debian/tmp but is
not installed to anywhere
dh_missing: usr/lib/firefox/libsoftokn3.chk exists in debian/tmp but is
not installed to anywhere
dh_missing: usr/lib/firefox/libnssdbm3.chk exists in debian/tmp but is
not installed to anywhere
dh_missing: usr/lib/firefox/libfreeblpriv3.chk exists in debian/tmp but
is not installed to anywhere
        The following debhelper tools have reported what they installed
(with files per package)
         * dh_install: firefox (36), firefox-l10n-ach (0), firefox-
l10n-af (0), firefox-l10n-all (0), firefox-l10n-an (0), firefox-l10n-ar 
(0), firefox-l10n-ast (0), firefox-l10n-az (0), firefox-l10n-be (0),
firefox-l10n-bg (0), firefox-l10n-bn (0), firefox-l10n-br (0), firefox-
l10n-bs (0), firefox-l10n-ca (0), firefox-l10n-ca-valencia (0),
firefox-l10n-cak (0), firefox-l10n-cs (0), firefox-l10n-cy (0),
firefox-l10n-da (0), firefox-l10n-de (0), firefox-l10n-dsb (0),
firefox-l10n-el (0), firefox-l10n-en-ca (0), firefox-l10n-en-gb (0),
firefox-l10n-eo (0), firefox-l10n-es-ar (0), firefox-l10n-es-cl (0),
firefox-l10n-es-es (0), firefox-l10n-es-mx (0), firefox-l10n-et (0),
firefox-l10n-eu (0), firefox-l10n-fa (0), firefox-l10n-ff (0), firefox-
l10n-fi (0), firefox-l10n-fr (0), firefox-l10n-fy-nl (0), firefox-l10n-
ga-ie (0), firefox-l10n-gd (0), firefox-l10n-gl (0), firefox-l10n-gn
(0), firefox-l10n-gu-in (0), firefox-l10n-he (0), firefox-l10n-hi-in
(0), firefox-l10n-hr (0), firefox-l10n-hsb (0), firefox-l10n-hu (0),
firefox-l10n-hy-am (0), firefox-l10n-ia (0), firefox-l10n-id (0),
firefox-l10n-is (0), firefox-l10n-it (0), firefox-l10n-ja (0), firefox-
l10n-ka (0), firefox-l10n-kab (0), firefox-l10n-kk (0), firefox-l10n-km 
(0), firefox-l10n-kn (0), firefox-l10n-ko (0), firefox-l10n-lij (0),
firefox-l10n-lt (0), firefox-l10n-lv (0), firefox-l10n-mk (0), firefox-
l10n-mr (0), firefox-l10n-ms (0), firefox-l10n-my (0), firefox-l10n-nb-
no (0), firefox-l10n-ne-np (0), firefox-l10n-nl (0), firefox-l10n-nn-no 
(0), firefox-l10n-oc (0), firefox-l10n-pa-in (0), firefox-l10n-pl (0),
firefox-l10n-pt-br (0), firefox-l10n-pt-pt (0), firefox-l10n-rm (0),
firefox-l10n-ro (0), firefox-l10n-ru (0), firefox-l10n-si (0), firefox-
l10n-sk (0), firefox-l10n-sl (0), firefox-l10n-son (0), firefox-l10n-sq 
(0), firefox-l10n-sr (0), firefox-l10n-sv-se (0), firefox-l10n-ta (0),
firefox-l10n-te (0), firefox-l10n-th (0), firefox-l10n-tl (0), firefox-
l10n-tr (0), firefox-l10n-trs (0), firefox-l10n-uk (0), firefox-l10n-ur 
(0), firefox-l10n-uz (0), firefox-l10n-vi (0), firefox-l10n-xh (0),
firefox-l10n-zh-cn (0), firefox-l10n-zh-tw (0)
        If the missing files are installed by another tool, please file
a bug against it.
        When filing the report, if the tool is not part of debhelper
itself, please reference the
        "Logging helpers and dh_missing" section from the "PROGRAMMING"
guide for debhelper (10.6.3+).
          (in the debhelper package:
/usr/share/doc/debhelper/PROGRAMMING.gz)
        Be sure to test with dpkg-buildpackage -A/-B as the results may
vary when only a subset is built
        For a short-term work-around: Add the files to debian/not-
installed
dh_missing: missing files, aborting  
dh_install: dh_missing --fail-missing returned exit code 255

diff --git a/debian/browser.install.in b/debian/browser.install.in
index e8497bd..7426f97 100644
--- a/debian/browser.install.in
+++ b/debian/browser.install.in
@@ -7,15 +7,15 @@ usr/lib/@browser@/plugin-container
 
 usr/lib/@browser@/omni.ja
 
-%ifndef USE_SYSTEM_SQLITE
+%if !USE_SYSTEM_SQLITE
 usr/lib/@browser@/libmozsqlite3.so
 %endif
-%ifndef USE_SYSTEM_NSPR
+%if !USE_SYSTEM_NSPR
 usr/lib/@browser@/libnspr4.so
 usr/lib/@browser@/libplc4.so
 usr/lib/@browser@/libplds4.so
 %endif
-%ifndef USE_SYSTEM_NSS
+%if !USE_SYSTEM_NSS
 usr/lib/@browser@/libfreeblpriv3.chk
 usr/lib/@browser@/libfreeblpriv3.so
 usr/lib/@browser@/libnss3.so

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to