| Summary: | www-client/firefox-52.1.0-r1 ABORT: u_init() failed: file ${S}/xpcom/build/XPCOMInit.cpp, line 709 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | ernsteiswuerfel <erhard_f> |
| Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | ppc64, ppc, slyfox |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | PPC64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build.log | ||
|
Description
ernsteiswuerfel
2017-05-04 18:30:51 UTC
Updating the summary, since this error doesn't seem to be the usual startup-cache-precompilation error. Is it normal on ppc to see the following on every single compiled object?
> * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p
(In reply to Ian Stakenvicius from comment #2) > Is it normal on ppc to see the following on every single compiled object? > > > * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p It is for Firefox. As far as I can recall on some other ebuilds too, but certainly not for all ebuilds. This problem still persists on my machine with current stable firefox-52.1.0-r1.
# emerge -pqv firefox
[ebuild R ] www-client/firefox-52.1.0-r1 USE="dbus gmp-autoupdate jemalloc pulseaudio startup-notification -bindist -custom-cflags -custom-optimization -debug -gtk2 -hardened -hwaccel -jack (-neon) (-pgo) (-rust) (-selinux) (-system-cairo) -system-harfbuzz -system-icu* -system-jpeg -system-libevent -system-libvpx -system-sqlite {-test} -wifi" L10N="de -ach -af -an -ar -as -ast -az -bg -bn-BD -bn-IN -br -bs -ca -cak -cs -cy -da -dsb -el -en-GB -en-ZA -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW"
Playing around with different USE-flags I found out that USE="system-icu" serves as a workaround - emerge is able to finish the build!
However, sadly firefox-52.1.0-r1 still won't work on my G5. FF crashes with "firefox[11760]: bad frame in handle_rt_signal32: 00000000ff507a20 nip 1d4bce2c lr 1d4bce00". Looks similar to bug #594864?
Install phase fails at the same place on my G4. It aborts on this line:
Executing /var/tmp/portage/www-client/firefox-52.1.0-r1/work/firefox-52.1.0esr/ff/dist/bin/xpcshell -g /var/tmp/portage/www-client/firefox-52.1.0-r1/work/firefox-52.1.0esr/ff/dist/bin/ -a /var/tmp/portage/www-client/firefox-52.1.0-r1/work/firefox-52.1.0esr/ff/dist/bin/ -f /var/tmp/portage/www-client/firefox-52.1.0-r1/work/firefox-52.1.0esr/toolkit/mozapps/installer/precompile_cache.js -e precompile_startupcache("resource://gre/");
When I cd to "/var/tmp/portage/www-client/firefox-52.1.0-r1/work/firefox-52.1.0esr/ff/browser/installer" and manually execute that line it fails with:
vertigo installer # /var/tmp/portage/www-client/firefox-52.1.0-r1/work/firefox-52.1.0esr/ff/dist/bin/xpcshell -g /var/tmp/portage/www-client/firefox-52.1.0-r1/work/firefox-52.1.0esr/ff/dist/bin/ -a /var/tmp/portage/www-client/firefox-52.1.0-r1/work/firefox-52.1.0esr/ff/dist/bin/ -f /var/tmp/portage/www-client/firefox-52.1.0-r1/work/firefox-52.1.0esr/toolkit/mozapps/installer/precompile_cache.js -e 'precompile_startupcache("resource://gre/");'
/var/tmp/portage/www-client/firefox-52.1.0-r1/work/firefox-52.1.0esr/ff/dist/bin/xpcshell: error while loading shared libraries: libmozalloc.so: cannot open shared object file: No such file or directory
vertigo installer #
There is no libmozalloc.so anywhere within the build dir.
Can confirm that this happens with thunderbird 52.2.0.
I do currently have firefox 52.1.0-r1 installed, but I recall I had to do some hacking with ICU data files. If I recall correctly, the ones Firefox shipped were in the wrong endianness format. I also have a G5 PPC970MP, ppc64.
If I get Firefox 53 or Thunderbird 52 to work, I'll let you know.
BTW, I don't think there are necessarily libraries missing.
From this directory: /var/tmp/portage/mail-client/thunderbird-52.2.0/work/thunderbird-52.2.0/tbird/dist/bin
eppel bin # LD_LIBRARY_PATH=`pwd` ./xpcshell xpcshell -g /var/tmp/portage/mail-client/thunderbird-52.2.0/work/thunderbird-52.2.0/tbird/dist/bin/ -a /var/tmp/portage/mail-client/thunderbird-52.2.0/work/thunderbird-52.2.0/tbird/dist/bin/ -f /var/tmp/portage/mail-client/thunderbird-52.2.0/work/thunderbird-52.2.0/mozilla/toolkit/mozapps/installer/precompile_cache.js -e 'precompile_startupcache("resource://gre/")'
[9964] ###!!! ABORT: u_init() failed: file /var/tmp/portage/mail-client/thunderbird-52.2.0/work/thunderbird-52.2.0/mozilla/xpcom/build/XPCOMInit.cpp, line 709
[9964] ###!!! ABORT: u_init() failed: file /var/tmp/portage/mail-client/thunderbird-52.2.0/work/thunderbird-52.2.0/mozilla/xpcom/build/XPCOMInit.cpp, line 709
Segmentation fault
https://bugzilla.mozilla.org/show_bug.cgi?id=926980 suggests to build with -with-system-icu or --disable-intl-api. system-icu used to be a USE flag, but no more it seems. Confirmed. Perhaps try USE="system-icu" ? It doesn't look like Mozilla is keen on fixing their ICU mess. eppel ~ # USE="system-icu" emerge -a1 thunderbird These are the packages that would be merged, in order: Calculating dependencies \ ... done! [ebuild U ~] mail-client/thunderbird-52.2.0::gentoo [45.8.0::gentoo] USE="-bindist crypt -custom-cflags -custom-optimization -dbus -debug (-ffmpeg%*) (-gstreamer%*) -gtk2% -hardened jemalloc%* (-jemalloc3%*) (-jit%*) -ldap -lightning minimal -mozdom (-neon) -pulseaudio (-rust) (-selinux) -startup-notification (-system-cairo) -system-harfbuzz system-icu* -system-jpeg -system-libevent system-libvpx -system-sqlite -wifi%" L10N="-ar -ast -be -bg -bn-BD -br -ca -cs -cy -da -de -el -en-GB -es-AR -es-ES -et -eu -fi -fr -fy -ga -gd -gl -he -hr -hsb -hu -hy -id -is -it -ja -ko -lt -nb -nl -nn -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -sq -sr -sv -ta-LK -tr -uk -vi -zh-CN -zh-TW" 0 KiB Total: 1 package (1 upgrade), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Running pre-merge checks for mail-client/thunderbird-52.2.0 * Checking for at least 4 GiB disk space at "/var/tmp/portage/mail-client/thunderbird-52.2.0/temp" ... [ ok ] >>> Emerging (1 of 1) mail-client/thunderbird-52.2.0::gentoo >>> Installing (1 of 1) mail-client/thunderbird-52.2.0::gentoo >>> Jobs: 1 of 1 complete Load avg: 1.31, 1.91, 2.52 * Messages for package mail-client/thunderbird-52.2.0: * You are enabling official branding. You may not redistribute this build * to any users on your network or the internet. Doing so puts yourself into * a legal problem with Mozilla Foundation * You can disable it by emerging thunderbird _with_ the bindist USE-flag * * Failed to set XATTR_PAX markings -me /var/tmp/portage/mail-client/thunderbird-52.2.0/work/thunderbird-52.2.0/tbird/dist/bin/xpcshell. * Failed to set XATTR_PAX markings -pme /var/tmp/portage/mail-client/thunderbird-52.2.0/image//usr/lib64/thunderbird/thunderbird. * Failed to set XATTR_PAX markings -pme /var/tmp/portage/mail-client/thunderbird-52.2.0/image//usr/lib64/thunderbird/thunderbird-bin. * Failed to set XATTR_PAX markings -pme /var/tmp/portage/mail-client/thunderbird-52.2.0/image//usr/lib64/thunderbird/plugin-container. * * If you experience problems with plugins please issue the * following command : rm ${HOME}/.thunderbird/*/extensions.sqlite , * then restart thunderbird * * If calendar fails to show up in extensions please open config editor * and set extensions.lastAppVersion to 38.0.0 to force a reload. If this * fails to show the calendar extension after restarting with above change * please file a bug report. >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. I think this can be closed as www-client/firefox-52.1.0-r1 is no longer in tree and www-client/firefox-52.4.0 builds fine with USE="system-icu". More recent versions of >mail-client/thunderbird-52.2.0 are available too. |