Future of Firefox on Slackware 14.2 / Building current Firefox
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Future of Firefox on Slackware 14.2 / Building current Firefox
I wonder about the future of Firefox on Slackware 14.2, since 52.9.0 will be the last non-Quantum Firefox version and building Firefox Quantum require some tweaks (e.g. Rust, "--disable-stylo" in mozconfig).
Until now I was able to build current Firefox on Slackware 14.2.
But beginning with Firefox 61 it seems no longer possible since Firefox now requires GCC 6.1 or newer (Slackware 14.2 provides GCC 5.5). Building with LLVM isn't an option, because Stylo requires LLVM 3.9 or newer (Slackware 14.2 has LLVM 3.8) and the "--disable-stylo" switch isn't longer available.
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627
Rep:
If you want the latest firefox (or any version,actually), you don't have to build it. Download the tarball from mozilla, extract it to a folder of your choice and create a symlink in /usr/bin/.
If you want the latest firefox (or any version,actually), you don't have to build it. Download the tarball from mozilla, extract it to a folder of your choice and create a symlink in /usr/bin/.
This, of course, I know
Since the binaries from mozilla.org are not fully free software and bringing a lot of bloat (meaning they are not build against system libraries) I rather build it myself.
Personally, I have problems with Firefox 60.0.2 on '-current'. My session will not re-init and I loose all my tabs. Especially pinned tabs. I tried using 'sync' but it too would not complete and the session would sometimes freeze.
I am trying to migrate to Palemoon exactly because of Firefox's disabling pure ALSA support. I honestly tried to like it, for about 3 months, but have grown to really despise Pulseaudio and it has become a real dealbreaker for me and that's a bit sad because I like Firefox especially since the reduced resource gobbling newer releases.
I wonder about the future of Firefox on Slackware 14.2, since 52.9.0 will be the last non-Quantum Firefox version and building Firefox Quantum require some tweaks (e.g. Rust, "--disable-stylo" in mozconfig).
Until now I was able to build current Firefox on Slackware 14.2.
But beginning with Firefox 61 it seems no longer possible since Firefox now requires GCC 6.1 or newer (Slackware 14.2 provides GCC 5.5). Building with LLVM isn't an option, because Stylo requires LLVM 3.9 or newer (Slackware 14.2 has LLVM 3.8) and the "--disable-stylo" switch isn't longer available.
I just upgraded Slackware 14.2 and it installed Firefox 60.2.2esr. After restarting the system and launching firefox it restored the half-dozen tab I had previous opened ... sort of. The tabs were all there, but the pages were blank. Clicking on refresh did nothing. I had to open a new tab and copy the address to the new tab; then the page was shown. More importantly, and critically, when I attempted to drag a tab firefox shutdown completely. If I restarted firefox, the tabs were all there. I have 4 monitors and I drag tabs around all the time. This is a must-have for me.
To get back in action I ended up restoring my system from latest back up and getting Firefox 52.9.0 back (I couldn't locate a package for the old version, so I just restored everything).
Before posting a message on the Mozilla forum I thought I'd search for this problem and came across this thread. So, please elaborate a bit. What do you mean by, "52.9.0 will be the last non-Quantum Firefox version"? What is 'Quantum'? Why would a Slackware 14.2 package update for Firefox not work? I should think that would be tested before being released. Could this be a configuration issue on my end?
Before posting a message on the Mozilla forum I thought I'd search for this problem and came across this thread. So, please elaborate a bit. What do you mean by, "52.9.0 will be the last non-Quantum Firefox version"? What is 'Quantum'? Why would a Slackware 14.2 package update for Firefox not work? I should think that would be tested before being released. Could this be a configuration issue on my end?
Firefox was overhauled from version 58 [I think] and called Firefox Quantum. Basically it's a lot faster than it used it be, and they changed the design. More here:
Slackware uses an ESR - Extended Support Release - version of Firefox. So after version 52 ESR, 60 was the next ESR release. I have had no issues with Firefox 60.2.2 on Slackware, it may be a config issue at your end.
Have a look at the changelog, you may find it useful. Did you update Rust and LLVM as it says below?
Quote:
Thu Sep 6 05:28:05 UTC 2018
Hey folks, in light of Firefox 52.x ESR reaching EOL a few hours ago, I'm
providing some updates. This required adding Rust and a newer version of
LLVM as optional updates for Slackware 14.2. And in case it doesn't work
for you (perhaps there's an extension you need that's not supported by 60.x
ESR), the last Firefox and Thunderbird 52.x EST have been moved to /pasture
as a fallback. If there are any more updates to those (but I don't think
there will be), I'll make those updates in /pasture as well.
pasture/mozilla-firefox-52.9.0esr-x86_64-1_slack14.2.txz: Added.
Moved here from patches/packages/.
pasture/mozilla-thunderbird-52.9.1-x86_64-1_slack14.2.txz: Added.
Moved here from patches/packages/.
patches/packages/curl-7.61.1-x86_64-1_slack14.2.txz: Upgraded.
This update fixes an NTLM password overflow via integer overflow.
For more information, see: https://curl.haxx.se/docs/CVE-2018-14618.html https://cve.mitre.org/cgi-bin/cvenam...CVE-2018-14618
(* Security fix *)
patches/packages/ghostscript-9.24-x86_64-1_slack14.2.txz: Upgraded.
Patched multiple -dSAFER sandbox bypass vulnerabilities.
Thanks to Tavis Ormandy.
For more information, see: https://www.ghostscript.com/doc/9.24/News.htm https://www.kb.cert.org/vuls/id/332928
(* Security fix *)
patches/packages/llvm-6.0.1-x86_64-1_slack14.2.txz: Upgraded.
This upgrade to LLVM is provided because Firefox and Thunderbird require
a newer version than what was shipped with Slackware 14.2. The libLLVM
shared library from llvm-3.8.0 is also included in this package, so it
should be safe to upgrade on Slackware 14.2 systems without breaking
anything, but unless you are planning to recompile Firefox or Thunderbird,
or you need a newer version of LLVM for some reason, it is optional.
patches/packages/mozilla-firefox-60.2.0esr-x86_64-1_slack14.2.txz: Upgraded.
This release contains security fixes and improvements.
For more information, see: https://www.mozilla.org/security/kno...irefoxESR.html
(* Security fix *)
patches/packages/mozilla-thunderbird-60.0-x86_64-1_slack14.2.txz: Upgraded.
This release contains security fixes and improvements.
For more information, see: https://www.mozilla.org/en-US/thunde.../releasenotes/ https://www.mozilla.org/security/kno...underbird.html https://www.mozilla.org/en-US/securi...s/mfsa2018-19/
(* Security fix *)
patches/packages/rust-1.28.0-x86_64-1_slack14.2.txz: Added.
Since Rust is now a requirement to compile Firefox and Thunderbird we
are adding it here. Unless you will need to recompile those (or need to
compile other code written in Rust), it is an optional addition.
Last edited by Lysander666; 10-04-2018 at 09:33 AM.
More importantly, and critically, when I attempted to drag a tab firefox shutdown completely. If I restarted firefox, the tabs were all there. I have 4 monitors and I drag tabs around all the time. This is a
must-have for me.
close firefox and try renaming temporarily your ~/.mozilla directory to something else so that it gets re-created blank whe you will start it again: it happened to me also and I had to create a new profile from scratch (might be just some incompatible extension: you can try also removing them one by one).
Since the binaries from mozilla.org are not fully free software and bringing a lot of bloat (meaning they are not build against system libraries) I rather build it myself.
I suppose if you are really determined to build the latest Firefox on 14.2, you could build a newer GCC locally and use that to build Firefox. What the official policy will be from Pat on future patches for Firefox, I'm not sure. My guess is that the latest ESR will be the last one for 14.2.
Rust and llvm are only required if you want to *build* firefox. They are not runtime dependencies, so they should have no effect on mfoley's issues.
@mfoley, like ponce, I suspect it is an issue with your profile. There were a LOT of changes when Firefox switched to the Quantum release and many extensions no longer work. Firefox is still notorious for needing to occasionally clear your profile to fix issues (how this is still a thing 15 years later, I have no idea... I've never needed to clear my Chrome profile), so that would be the first thing to try.
If you absolutely don't want to try a clean profile, the old package is in the pasture/ directory on your favorite mirror, but you won't see any additional updates to that version (since Mozilla doesn't provide them anymore).
The whole "profile" idea sounds likely. I will give it a try removing my current profile. However, as I have a number of tabs opened that I *need*, that may not happen for several days. I'll post back when I've accomplished that.
Later ...
I tried removing the user profiles on a different computer, still Slackware64 14.2, but with no saved tabs I cared about. I then installed firefox 60.2.2esr. Interestingly, It wouldn't run so I had to run it at the command line to see the error that I also had to install a new zlib package. Hmmm. Anyway, this did appear to work. I was able to drag a tab to a new window without Firefox crashing. Looks likely that it's a profile issue. I haven't tried it on the original problem computer yet, but I will after saving off the tab links.
Nope - on my multi-monitor system with NVIDIA driver I deleted the profile and installed firefox 60.2.2. Still the same problem. If I drag a tab, Firefox crashes. Sucks, now I've got to find the old 52.9 package and reinstall that. Then I'll blacklist mozilla-firefox until perhaps Slackware 15.0. I hope I can find the old package in the /pasture package.
Later ...
OK, found the 59.2 in the pasture Slackware 64 repository. Installed it. All is well. I can drag tabs again. mozilla-firefox is blacklisted from further updates. I'm done messing with this.
Nope - on my multi-monitor system with NVIDIA driver I deleted the profile and installed firefox 60.2.2. Still the same problem. If I drag a tab, Firefox crashes. Sucks, now I've got to find the old 52.9 package and reinstall that. Then I'll blacklist mozilla-firefox until perhaps Slackware 15.0. I hope I can find the old package in the /pasture package.
Later ...
OK, found the 59.2 in the pasture Slackware 64 repository. Installed it. All is well. I can drag tabs again. mozilla-firefox is blacklisted from further updates. I'm done messing with this.
just FYI another reason for the crash might be that you are using the depecrated (also by Nvidia) xinerama with your multimonitor setup.
I am trying to migrate to Palemoon exactly because of Firefox's disabling pure ALSA support. I honestly tried to like it, for about 3 months, but have grown to really despise Pulseaudio and it has become a real dealbreaker for me and that's a bit sad because I like Firefox especially since the reduced resource gobbling newer releases.
There is an alternative: apulse: Apulse, a wrapper library that connects to ALSA.
I've already left Firefox for Waterfox. Palemoon and Vivaldi are also good, and work much better than Firefox anyway.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.