|Summary:||>=www-client/mozilla-firefox-3.5 should not use --enable-system-sqlite|
|Product:||Gentoo Linux||Reporter:||Adam Nielsen <a.nielsen>|
|Component:||New packages||Assignee:||Mozilla Gentoo Team <mozilla>|
|Package list:||Runtime testing required:||---|
Description Adam Nielsen 2009-08-28 23:55:08 UTC
I've been dealing with a segfault in Firefox which happens in sqlite code (see https://bugzilla.mozilla.org/show_bug.cgi?id=512940) and it seems Gentoo builds Firefox with --enable-system-sqlite, which Mozilla recommend against and seems to cause this problem. There are other issues related to the system installation of sqlite (bug 278798, bug 281695) so given Mozilla discourage its use perhaps it would be best to take this flag out, and use the bundled sqlite instead? (Or at least have a USE flag so the user can choose to use the system version if they really want to, with a warning at the end of the ebuild.)
Comment 1 Ryan Hill (RETIRED) 2009-08-29 01:04:50 UTC
It's Gentoo policy to use system libraries whenever possible. See http://blog.flameeyes.eu/2009/01/02/bundling-libraries-for-despair-and-insecurity
Comment 2 Adam Nielsen 2009-08-30 03:35:05 UTC
Thanks for the info. I have discussed it with Mozilla and they only bundle the library because they lack the resources to test against the many different versions of sqlite available. During this discussion we discovered that Firefox (and XULRunner) crash with sqlite-3.6.17 (the latest in Portage), they require 3.6.16 to work correctly and downgrading (then recompiling xulrunner) fixed Firefox crashing on my Gentoo machine. Can we put something in Portage to force firefox and >=net-libs/xulrunner-1.9 to be compiled with sqlite-3.6.16?
Comment 3 Raúl Porcel (RETIRED) 2009-08-30 11:15:34 UTC
I had to disable it on firefox-3.0 some time ago... bug 228305
Comment 4 Jory A. Pratt 2009-08-30 14:51:56 UTC
I have drop'd system support for sqlite, this will cause everyone to use bundled sqlite until I can resolve the segv.
Comment 5 Jory A. Pratt 2009-08-30 15:04:48 UTC
sorry for the bug spam.