Summary: | mail-client/thunderbird-8.0-r1 fails to install (precompile_cache.js) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Small_Penguin <dark.shadow> |
Component: | New packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Build log (bzip2) |
Description
Small_Penguin
2011-11-19 16:35:37 UTC
Similar failure with the latest firefox ebuild: adding: defaults/profile/mimeTypes.rdf (deflated 44%) adding: defaults/profile/bookmarks.html (deflated 73%) adding: defaults/profile/chrome/ (stored 0%) adding: defaults/profile/chrome/userChrome-example.css (deflated 46%) adding: defaults/profile/chrome/userContent-example.css (deflated 47%) adding: greprefs.js (deflated 73%) /bin/sh: line 1: 18342 Segmentation fault /var/tmp/portage/www-client/firefox-8.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/run-mozilla.sh /var/tmp/portage/www-client/firefox-8.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell -g "$PWD" -a "$PWD" -f /var/tmp/portage/www-client/firefox-8.0/work/mozilla-release/toolkit/mozapps/installer/precompile_cache.js -e "populate_startupcache('GreD', 'omni.jar', 'startupCache.zip');" make[1]: *** [install] Error 139 make[1]: Leaving directory `/var/tmp/portage/www-client/firefox-8.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/browser/installer' make: *** [install] Error 2 emake failed * ERROR: www-client/firefox-8.0 failed (install phase): * emake install failed * * Call stack: * ebuild.sh, line 84: Called src_install * environment, line 6749: Called die * The specific snippet of code: * MOZ_MAKE_FLAGS="${MAKEOPTS}" emake DESTDIR="${D}" install || die "emake install failed"; * * If you need support, post the output of 'emerge --info =www-client/firefox-8.0', * the complete build log and the output of 'emerge -pqv =www-client/firefox-8.0'. * The complete build log is located at '/var/log/portage/www-client:firefox-8.0:20111119-160203.log'. * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-8.0/temp/environment'. * S: '/var/tmp/portage/www-client/firefox-8.0/work/mozilla-release' Sorry, I just notified I used custom-flags and masked gcc. Don't know when I enabled that. Again sorry, I'll try a valid configuration and reopen if the problem persists. Ok, reopen bug. It doesn't build with gcc-4.5.3 and -custom-cflags either, producing the same error message. Created attachment 293209 [details]
Build log (bzip2)
Additionally, on all builds that worked on other machines, lightning was only available in english, not in german. I had to manually download and install the add-on from mozilla to get it translated to german. Should I file another bug for this?
*** This bug has been marked as a duplicate of bug 391051 *** reopening. Please refer to http://www.gentoo.org/proj/en/qa/backtraces.xml Ok, I tried to do a backtrace, however the following is not very helpful, right? Reading symbols from /var/tmp/portage/www-client/firefox-8.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell...done. (gdb) run Starting program: /var/tmp/portage/www-client/firefox-8.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/xpcshell -f /var/tmp/portage/www-client/firefox-8.0/work/mozilla-release/toolkit/mozapps/installer/precompile_cache.js -e populate_startupcache\(\'GreD\',\ \'omni.jar\',\ \'startupCache.zip\'\)\; [Thread debugging using libthread_db enabled] Error while reading shared library symbols for /var/tmp/portage/www-client/firefox-8.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/libxul.so: Dwarf Error: Cannot handle DW_FORM_<unknown> in DWARF reader [in module /var/tmp/portage/www-client/firefox-8.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/libxul.so] Program received signal SIGSEGV, Segmentation fault. 0x00007ffff66d8fdc in ?? () from /var/tmp/portage/www-client/firefox-8.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/libxul.so (gdb) set logging file /tmp/backtrace.log (gdb) set logging on Copying output to /tmp/backtrace.log. (gdb) bt #0 0x00007ffff66d8fdc in ?? () from /var/tmp/portage/www-client/firefox-8.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/libxul.so #1 0x00007ffff66d7381 in ?? () from /var/tmp/portage/www-client/firefox-8.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/libxul.so #2 0x0000000000000005 in ?? () #3 0x00007ffff6027bd0 in ?? () from /var/tmp/portage/www-client/firefox-8.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/libxul.so #4 0x0000000000000001 in ?? () #5 0x00007ffff7de9ece in ?? () from /lib64/ld-linux-x86-64.so.2 #6 0x00007ffff7de9fb6 in ?? () from /lib64/ld-linux-x86-64.so.2 #7 0x00007ffff7ddd65a in ?? () from /lib64/ld-linux-x86-64.so.2 #8 0x0000000000000005 in ?? () #9 0x00007fffffffd805 in ?? () #10 0x00007fffffffd871 in ?? () #11 0x00007fffffffd874 in ?? () #12 0x00007fffffffd8df in ?? () #13 0x00007fffffffd8e2 in ?? () #14 0x0000000000000000 in ?? () (gdb) thread apply all bt full Thread 1 (Thread 0x7ffff7fb8900 (LWP 19805)): #0 0x00007ffff66d8fdc in ?? () from /var/tmp/portage/www-client/firefox-8.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/libxul.so No symbol table info available. #1 0x00007ffff66d7381 in ?? () from /var/tmp/portage/www-client/firefox-8.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/libxul.so No symbol table info available. #2 0x0000000000000005 in ?? () No symbol table info available. #3 0x00007ffff6027bd0 in ?? () from /var/tmp/portage/www-client/firefox-8.0/work/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin/libxul.so No symbol table info available. #4 0x0000000000000001 in ?? () No symbol table info available. #5 0x00007ffff7de9ece in ?? () from /lib64/ld-linux-x86-64.so.2 No symbol table info available. #6 0x00007ffff7de9fb6 in ?? () from /lib64/ld-linux-x86-64.so.2 No symbol table info available. #7 0x00007ffff7ddd65a in ?? () from /lib64/ld-linux-x86-64.so.2 No symbol table info available. #8 0x0000000000000005 in ?? () No symbol table info available. #9 0x00007fffffffd805 in ?? () No symbol table info available. #10 0x00007fffffffd871 in ?? () No symbol table info available. #11 0x00007fffffffd874 in ?? () No symbol table info available. #12 0x00007fffffffd8df in ?? () No symbol table info available. #13 0x00007fffffffd8e2 in ?? () No symbol table info available. #14 0x0000000000000000 in ?? () ---Type <return> to continue, or q <return> to quit--- No symbol table info available. Ok, I did the backtrace for firefox-8.0, but the error is the same as with thunderbird (in fact I tried debugging both packages). FEATURES="nostrip" CFLAGS="-O2 -march=native -pipe -fno-ident -ggdb" What's that DWARF error about? What packages should I rebuild to resolve the "missing symbol table" issues? What is ?? ()? Did I make a mistake following instructions provided by backtrace.xml? Any ideas what else I could try? xulrunner-2.0.1-r1 compiles fine, this only concerns firefox and thunderbird. I've tried to build version 7 of firefox and thunderbird, and they now bring up the same error. I switched to thunderbird-bin for now. check dmesg for the reason of segfault, also how much space is avaliable for your compile? Thanks for your response. dmesg shows similar messages: xpcshell[19023]: segfault at 0 ip 00007f7499c70c0c sp 00007fff9fabd248 error 6 in libxul.so[7f749905c000+1855000] xpcshell[30330]: segfault at 0 ip 00007f5f78546c0c sp 00007fff3afdcb18 error 6 in libxul.so[7f5f77932000+1855000] xpcshell[22989]: segfault at 0 ip 00007fa078e43c0c sp 00007fff7606db88 error 6 in libxul.so[7fa07822f000+1855000] Strange, the compiled libxul.so seems quite big (480MiB) for a library. I've already rebuild my toolchain because I've switched back to multilib from no-multilib. Additionally "emerge -e firefox" with debugging information (splitdebug now). However, this did not make the error go away, nor did it provide more debugging information. There should be enough space, as libreoffice compiles fine; df: /dev/sda10 16768288 211649 16556639 2% /var/tmp find -type f -iname "libxul.so" | xargs ls -la: -rwxr-xr-x 1 root root 486193936 14. Dez 12:46 ./mozilla-release/obj-x86_64-unknown-linux-gnu/dist/firefox/libxul.so -rwxr-xr-x 1 portage portage 486193936 14. Dez 12:44 ./mozilla-release/obj-x86_64-unknown-linux-gnu/toolkit/library/libxul.so find -type f -iname "libxul.so" | xargs file: ./mozilla-release/obj-x86_64-unknown-linux-gnu/toolkit/library/libxul.so: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, not stripped ./mozilla-release/obj-x86_64-unknown-linux-gnu/dist/firefox/libxul.so: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, not stripped This is for firefox, but I guess it's the same or similar for thunderbird. Anything else I could try/provide? At last! firefox-9 builds again. I guess thunderbird-9 will too when it gets released. At least I hope so. I will report back then. Thunderbird-8.0-r1 builds again too. I'm not sure about this, but I believe my problems were caused by a bug in dev-libs/nss, which was fixed in 3.13.1-r1: equery c nss: 19 Dec 2011; Jory A. Pratt <anarchy@gentoo.org> -nss-3.13.1.ebuild, +nss-3.13.1-r1.ebuild, +files/nss-3.13.1-pkcs11n-header-fix.patch: Fix pkcs11n header, fix mulitlib portage compilation Anyways, thanks for your help, I'm glad building firefox and thunderbird works again. |