Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 613920

Summary: www-client/firefox-52 and seamonkey-2.46-r1 fail in install phase (startup precompilation)
Product: Gentoo Linux Reporter: Sven Müller <musv>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED INVALID    
Severity: normal CC: polynomial-c
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: firefox build.log
seamonkey build.log
emerge --info

Description Sven Müller 2017-03-26 17:53:48 UTC
Since the last system update I'm unable to emerge Firefox. Not sure if it's a duplicate of https://bugs.gentoo.org/show_bug.cgi?id=600676

It fails to install: 

resource://gre/modules/addons/LightweightThemeImageOptimizer.jsm
resource://gre/modules/addons/PluginProvider.jsm
resource://gre/modules/addons/ProductAddonChecker.jsm
resource://gre/modules/addons/SpellCheckDictionaryBootstrap.js
resource://gre/modules/addons/WebExtensionBootstrap.js
resource://gre/modules/addons/XPIProvider.jsm
Traceback (most recent call last):
  File "/var/tmp/portage/www-client/firefox-52.0.1-r1/work/firefox-52.0.1/toolkit/mozapps/installer/packager.py", line 415, in <module>
    main()
  File "/var/tmp/portage/www-client/firefox-52.0.1-r1/work/firefox-52.0.1/toolkit/mozapps/installer/packager.py", line 409, in main
    args.source, gre_path, base)
  File "/var/tmp/portage/www-client/firefox-52.0.1-r1/work/firefox-52.0.1/toolkit/mozapps/installer/packager.py", line 166, in precompile_cache
    errors.fatal('Error while running startup cache precompilation')
  File "/var/tmp/portage/www-client/firefox-52.0.1-r1/work/firefox-52.0.1/python/mozbuild/mozpack/errors.py", line 103, in fatal
    self._handle(self.FATAL, msg)
  File "/var/tmp/portage/www-client/firefox-52.0.1-r1/work/firefox-52.0.1/python/mozbuild/mozpack/errors.py", line 98, in _handle
    raise ErrorMessage(msg)
mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation
make[1]: *** [/var/tmp/portage/www-client/firefox-52.0.1-r1/work/firefox-52.0.1/toolkit/mozapps/installer/packager.mk:41: stage-package] Error 1
make[1]: Leaving directory '/var/tmp/portage/www-client/firefox-52.0.1-r1/work/firefox-52.0.1/ff/browser/installer'
make: *** [/var/tmp/portage/www-client/firefox-52.0.1-r1/work/firefox-52.0.1/browser/build.mk:21: install] Error 2
 * ERROR: www-client/firefox-52.0.1-r1::gentoo failed (install phase):
Comment 1 Sven Müller 2017-03-26 17:59:48 UTC
Created attachment 468356 [details]
firefox build.log

firefox-52.0.1-r1 build log bzip2 compressed
Comment 2 Sven Müller 2017-03-26 18:00:41 UTC
Created attachment 468358 [details]
seamonkey build.log

seamonkey-2.46-r1 build log bzip2 compressed
Comment 3 Sven Müller 2017-03-26 18:01:55 UTC
Created attachment 468360 [details]
emerge --info
Comment 4 Sven Müller 2017-04-12 18:28:26 UTC
Found the solution of the problem: 

Pulseaudio

Due to some basic problems of Pulseaudio with my Asus Xonar card I removed that "nice piece" after some time of testing. Not sure why, but some libs remained in the system:

/usr/lib32/libpulse.so.0
/usr/lib64/libpulse.so.0
/usr/lib64/libpulse-simple.so.0

After removing that stuff Firefox installed successfully and runs fine (including sound). 

Hence, I assume the problem was caused by an incomplete Pulseaudio installation (or better removal).
Comment 5 Sven Müller 2017-07-13 18:14:54 UTC
As I wrote. The problem was caused by a dirty Pulseaudio deinstallation.