Closed Bug 440118 Opened 18 years ago Closed 18 years ago

Full-Text Search module doesn't work on Debian

Categories

(Core :: SQLite and Embedded Database Bindings, defect)

1.9.0 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: ancestor.ak, Unassigned)

Details

(Keywords: platform-parity)

Attempting to use the Full-Text Search module in Debian results in an error: "no such module: fts3". Debian and some other distributions make Firefox use system sqlite. I suspect that either they don't include FTS at all or they build it as a standalone shared library. Both of which would break platform parity.
We either need to add a check that FTS is enabled in system sqlite, or disallow system sqlite.
The quickest road to getting the Debian-specific instance of this fixed is to file a bug in the Debian bug-tracking system, I suspect.
Also, Debian doesn't include Firefox. They have their own unbranded version called ice weasel.
Status: NEW → ASSIGNED
Status: ASSIGNED → NEW
Mike, can you either get the FTS module enabled on Debian's sqlite or disable system sqlite? Thanks!
Just to be clear - add-on authors will expect FTS to be enabled by default.
(In reply to comment #4) > Mike, can you either get the FTS module enabled on Debian's sqlite or disable > system sqlite? Thanks! If it doesn't change sqlite ABI, this should be possible.
Even if it does change the sqlite ABI you can always switch back to the internal copy of sqlite, yeah?
(In reply to comment #7) > Even if it does change the sqlite ABI you can always switch back to the > internal copy of sqlite, yeah? Technically, yes, we can. Practically, we'd rather avoid.
I got a report from one of the users of my extension suggesting that Gentoo has the same issue.
(In reply to comment #9) > I got a report from one of the users of my extension suggesting that Gentoo has > the same issue. I imagine anyone using system sqlite will hit this since I don't think most system sqlite's will compile with FTS enabled.
It should work in Debian, now: http://packages.qa.debian.org/s/sqlite3/news/20080625T233203Z.html sqlite3 (3.5.9-3) unstable; urgency=low * Enable full text search (closes: #487914).
I'll also note that any distro actually running our unit tests would be aware of this issue as well.
(In reply to comment #12) > I'll also note that any distro actually running our unit tests would be aware > of this issue as well. Well, maybe mozilla.org should run the unit tests under linux, too... ../../_tests/xpcshell-simple/xpcom/unit/test_bug364285-1.js: FAIL ../../_tests/xpcshell-simple/xpcom/unit/test_bug364285-1.js.log: >>>>>>> *** test pending *** exiting *** CHECK FAILED: CAA:89 == CAA:89 JS frame :: ../../tools/test-harness/xpcshell-simple/head.js :: do_throw :: line 99 JS frame :: ../../tools/test-harness/xpcshell-simple/head.js :: do_check_eq :: line 114 JS frame :: ../../_tests/xpcshell-simple/xpcom/unit/test_bug364285-1.js :: create_file :: line 33 JS frame :: ../../_tests/xpcshell-simple/xpcom/unit/test_bug364285-1.js :: test_create :: line 40 JS frame :: ../../_tests/xpcshell-simple/xpcom/unit/test_bug364285-1.js :: run_test :: line 49 JS frame :: ../../tools/test-harness/xpcshell-simple/tail.js :: _execute_test :: line 41 JS frame :: ../../tools/test-harness/xpcshell-simple/execute_test.js :: <TOP_LEVEL> :: line 38 2147500036 *** FAIL *** <<<<<<< (and that's only the first one)
(In reply to comment #13) > (In reply to comment #12) > > I'll also note that any distro actually running our unit tests would be aware > > of this issue as well. > > Well, maybe mozilla.org should run the unit tests under linux, too... We do run them under Linux. See http://tinderbox.mozilla.org/Firefox/ (Linux qm-centos5-04 dep unit test) and http://tinderbox.mozilla.org/Mozilla2/ (Linux mozilla-central qm-centos5-moz2-01 dep unit test).
(In reply to comment #13) > Well, maybe mozilla.org should run the unit tests under linux, too... If you are seeing failures, you probably have some bugs in your local tree.
(In reply to comment #15) > (In reply to comment #13) > > Well, maybe mozilla.org should run the unit tests under linux, too... > If you are seeing failures, you probably have some bugs in your local tree. Except I get the same with vanilla mozilla.org tarballs. But that's enough offtopic.
bug numbers for these debian-specific failures?
(In reply to comment #17) > bug numbers for these debian-specific failures? #442627
As far as Debian is concerned, this bug is fixed. Please reopen and retitle if it is still a concern on other distros.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Product: Toolkit → Core
You need to log in before you can comment on or make changes to this bug.