[blfs-support] Building Firefox glitch patched

Paul Rogers paulgrogers at fastmail.fm
Sat Mar 12 20:09:38 PST 2016

I'm trying to build Firefox-38.{something}esr.  Mozilla released a buggy
configure script!  :o  The consequence was the test for the system NSS
failed on a nonnumeric, arithmetic "test".  This MAY only affect some
builds.  Here's my patch as example of the fix:

[19:35 mozilla-esr38]# diff -Naur configure configure.fix 
--- /mozilla-esr38/configure  2016-03-02 17:18:50.000000000 -0800
+++ /mozilla-esr38/configure.fix   2016-03-12 19:33:49.000000000 -0800
@@ -15259,7 +15259,7 @@
   echo "$ac_t""no" 1>&6

-       min_nss_version=
+       min_nss_version=3.19.2
        echo $ac_n "checking for NSS - version >= $min_nss_version""...
        $ac_c" 1>&6
 echo "configure:15265: checking for NSS - version >= $min_nss_version"

[19:35 mozilla-esr38]# 

The way the script goes, min_nss_version can only be tripartite.  

I'm thinking the consequence of the failure is configure has it build
the internal NSS, so you get something that does work, just not your
system NSS lib.

Paul Rogers
paulgrogers at fastmail.fm
Rogers' Second Law: "Everything you do communicates."
(I do not personally endorse any additions after this line. TANSTAAFL

http://www.fastmail.com - IMAP accessible web-mail

More information about the blfs-support mailing list