Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283083 - >=www-client/mozilla-firefox-3.5 should not use --enable-system-sqlite
Summary: >=www-client/mozilla-firefox-3.5 should not use --enable-system-sqlite
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Mozilla Gentoo Team
Keywords: InVCS
Depends on:
Reported: 2009-08-28 23:55 UTC by Adam Nielsen
Modified: 2009-08-30 15:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
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 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) gentoo-dev 2009-08-29 01:04:50 UTC
It's Gentoo policy to use system libraries whenever possible.  See
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) gentoo-dev 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 gentoo-dev 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 gentoo-dev 2009-08-30 15:04:48 UTC
sorry for the bug spam.