[blfs-support] Building Firefox glitch patched

Ken Moffat zarniwhoop at ntlworld.com
Sun Mar 13 10:31:45 PDT 2016


On Sun, Mar 13, 2016 at 01:18:00AM -0500, Chris Staub wrote:
> On 03/12/2016 11:09 PM, Paul Rogers wrote:
> >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
> >  fi
> >
> >-       min_nss_version=3.19.2.3
> >+       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"
> >  >&5
> >
> >[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.
> >
> You are aware that current BLFS has Firefox 45, not 38, correct?

I think Paul got sucked in by the Extended Support Release name:
https://www.mozilla.org/en-US/firefox/organizations/

These *are* still maintained for a few releases of current firefox,
so they should get the vulnerability fixes.  But almost nobody here
builds them.

I think Andrew is right - the link probably needs more space.  For
x86_64 current firefox is 4.4GB.  It also needs a lot of RAM.  My i3
has 3.75GB of RAM (the rest is used for video) and I think it goes
into swap when linking.

Interestingly,
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Build_Instructions/Simple_Firefox_build/Linux_and_MacOS_build_preparation

mentions 2GB RAM with lots of available swap space, recommends 6GB
free disk space for optimized builds.  It then says "As of early
2015, it is no longer possible to do a full compile of Firefox from
source on most 32-bit systems; a 64-bit OS is required."

Sounds unlikely, but who knows.

ĸen
-- 
This email was written using 100% recycled letters.


More information about the blfs-support mailing list