First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 207701
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: D.Raisin <info1@raisin.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
dev-db_sqlite-3.5.4-r99.tar.gz Portage overlay for sqlite 3.5.4. application/octet-stream D.Raisin 2008-01-27 16:27 0000 10.50 KB Details
dev-db_sqlite-3.5.4-r99.patch Portage overlay for sqlite 3.5.4., second attempt patch D.Raisin 2008-01-27 19:21 0000 6.42 KB Details | Diff
sqlite-3.5.9.ebuild-fulltext.patch diff against sqlite-3.5.9.ebuild patch Mark Lee 2009-01-15 04:57 0000 721 bytes Details | Diff
sqlite-3.6.16-ebuild-fts3.patch Diff against sqlite 3.6.16 ebuild to add fts3 support patch John W Eckhart 2009-07-25 07:38 0000 773 bytes Details | Diff
sqlite-3.6.16-fts3.patch patch for compiling sqlite-3.6.16 with fts3 patch Ivan Grund 2009-08-08 10:09 0000 2.15 KB Details | Diff
sqlite-3.6.20-fts3.patch sqlite-3.6.20-fts3 unified diff patch Jory A. Pratt 2009-11-14 02:17 0000 1.92 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 207701 depends on: Show dependency tree
Bug 207701 blocks: 280114
Votes: 15    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-01-27 16:25 0000
Hi!

Attached is a zip file containing sqlite-3.5.4-r99.ebuild including a new
patch.

I've added a new use flag 'fts3' that enables the full text search engine ver
3, a extension that is part of the sqlite distribution but is not supported
offically.

This is my first attempt to post a ebuild, so please comment if something
should be done differently.

Searle

------- Comment #1 From D.Raisin 2008-01-27 16:27:45 0000 -------
Created an attachment (id=141897) [details]
Portage overlay for sqlite 3.5.4.

I tested this sucessfully on x86

------- Comment #2 From Jakub Moc (RETIRED) 2008-01-27 16:49:03 0000 -------
Please, do NOT attach tarballs to bugs. Plaintext patches is all we want.

http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3#doc_chap2

------- Comment #3 From D.Raisin 2008-01-27 19:21:22 0000 -------
Created an attachment (id=141915) [details]
Portage overlay for sqlite 3.5.4., second attempt

Is this how you want it?

------- Comment #4 From Petteri Räty 2008-02-11 00:58:23 0000 -------
(In reply to comment #3)
> Created an attachment (id=141915) [edit] [details]
> Portage overlay for sqlite 3.5.4., second attempt
> 
> Is this how you want it?
> 

Best would be diff -u against existing ebuilds in the tree.

------- Comment #5 From Brent Millare 2008-10-13 23:37:16 0000 -------
Hello,
How is this progressing? sqlite 3.5.4 is no longer in portage. Can this be
implemented for newer versions?

Instructions for building:
http://www.sqlite.org/cvstrac/wiki?p=FtsOne

Since it is beta, either portage can add an unstable USE flag feature or a
separate module package can be created. Details about building the separate
module should also be in the link.

Best,
Brent

------- Comment #6 From D.Raisin 2008-10-14 11:26:23 0000 -------
I'm not a gentoo developer, so I don't know how to get this patch put into the
portage tree. All I could do now is to submit it. Maybe it still works with
newer sqlite versions...

Cheers, D.Raisin

------- Comment #7 From Mark Lee 2009-01-15 04:57:24 0000 -------
Created an attachment (id=178555) [details]
diff against sqlite-3.5.9.ebuild

Adding this functionality is much easier than the original attachments make it
out to be.

Basically, I added a USE flag and it activates a couple of #defines.  With this
patch, I successfully built an FTS-enabled sqlite3 (and successfully tested the
FTS functionality).

The use.local.desc entry should be something along the lines of "Fulltext
search support for SQLite".

------- Comment #8 From John W Eckhart 2009-07-25 07:38:28 0000 -------
Created an attachment (id=199080) [details]
Diff against sqlite 3.6.16 ebuild to add fts3 support

This patches the latest ebuild to provide fts3 support. Several firefox plugins
(the Brief RSS reader, for example) require this and fail in some strange and
non-functional way if it sqlite is not built with fts3.

------- Comment #9 From Ivan Grund 2009-08-08 10:09:11 0000 -------
Created an attachment (id=200562) [details]
patch for compiling sqlite-3.6.16 with fts3

I only succeeded compiling after applying these changes against source tree of
sqlite-3.6.16

------- Comment #10 From Piotr Malinski 2009-08-20 19:22:38 0000 -------
Whats the status of this bug? :)
I used 3.6.17 sqlite and added to src_configure line:
append-cppflags -DSQLITE_ENABLE_FTS3=1

And it works - index and match data nicely. USE Flag or by default on would be
nice (well on debian server it works also, no compiling needed)

------- Comment #11 From Alexander Brüning 2009-11-10 07:22:40 0000 -------
(In reply to comment #10)
> And it works - index and match data nicely. USE Flag or by default on would be
> nice (well on debian server it works also, no compiling needed)

Same here. Please do something, devs.

------- Comment #12 From Jory A. Pratt 2009-11-14 02:17:02 0000 -------
Created an attachment (id=210186) [details]
sqlite-3.6.20-fts3 unified diff

fts3 needs to be enabled by default, we are either all in or all out. Patch is
avaliable only other change is the append-cpp flag to actually fully enable the
build.

------- Comment #13 From Jory A. Pratt 2009-11-14 02:25:05 0000 -------
Without fts3 support built we can not move forward with mozilla packages, We
need this handle as soon as possible.

------- Comment #14 From Petteri Räty 2009-11-15 09:12:56 0000 -------
(In reply to comment #12)
> 
> fts3 needs to be enabled by default, we are either all in or all out. Patch is
> avaliable only other change is the append-cpp flag to actually fully enable the
> build.
> 

No it doesn't. There's now a fts3 use flag. Just use EAPI 2 use dependencies.

------- Comment #15 From Jory A. Pratt 2009-11-15 21:00:57 0000 -------
This is not fixed.

libtool: compile:  x86_64-pc-linux-gnu-gcc -O2 -march=core2 -pipe
-DSQLITE_OS_UNIX=1 -I. -I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG
-DSQLITE_ALLOW_XTHREAD_CONNECT=1 -DSQLITE_THREADSAFE=1
-DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1
-DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3=1 -DSQLITE_TEMP_STORE=1 -c
./src/loadext.c -o loadext.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -O2 -march=core2 -pipe
-DSQLITE_OS_UNIX=1 -I. -I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG
-DSQLITE_ALLOW_XTHREAD_CONNECT=1 -DSQLITE_THREADSAFE=1
-DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1
-DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3=1 -DSQLITE_TEMP_STORE=1 -c
./src/main.c  -fPIC -DPIC -o .libs/main.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -O2 -march=core2 -pipe
-DSQLITE_OS_UNIX=1 -I. -I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG
-DSQLITE_ALLOW_XTHREAD_CONNECT=1 -DSQLITE_THREADSAFE=1
-DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1
-DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3=1 -DSQLITE_TEMP_STORE=1 -c
./src/malloc.c  -fPIC -DPIC -o .libs/malloc.o
./src/main.c:20:19: error: fts3.h: No such file or directory
make: *** [main.lo] Error 1
make: *** Waiting for unfinished jobs....
libtool: compile:  x86_64-pc-linux-gnu-gcc -O2 -march=core2 -pipe
-DSQLITE_OS_UNIX=1 -I. -I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG
-DSQLITE_ALLOW_XTHREAD_CONNECT=1 -DSQLITE_THREADSAFE=1
-DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1
-DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3=1 -DSQLITE_TEMP_STORE=1 -c
./src/malloc.c -o malloc.o >/dev/null 2>&1

The patch is needed for both header and as-needed.

------- Comment #16 From Arfrever Frehtes Taifersar Arahesis 2009-11-16 10:47:10 0000 -------
(In reply to comment #15)

You should install dev-lang/tcl so that amalgamation build is used.

I suggest to unconditionally require dev-lang/tcl only in DEPEND
(DEPEND/RDEPEND already contains "tcl? ( dev-lang/tcl )").

------- Comment #17 From Petteri Räty 2009-11-16 16:37:32 0000 -------
(In reply to comment #15)
> This is not fixed.
> 

This warrants a new bug instead of using the old one so I opened bug 293405.

------- Comment #18 From erik quanstrom 2009-12-27 15:10:56 0000 -------
forcing fts3 use flag causes emerge -upND world to fail and
produce no output except suggesting that fts3 be added as
a use flag.  emerge -p world also fails with no output
except the error.

------- Comment #19 From luis 2010-01-03 09:12:20 0000 -------
(In reply to comment #18)
> forcing fts3 use flag causes emerge -upND world to fail and
> produce no output except suggesting that fts3 be added as
> a use flag.  emerge -p world also fails with no output
> except the error.
> 

I have the same today

spinoza ~ #  emerge -uDav world

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy
">=dev-db/sqlite-3.6.20-r1[fts3]".
!!! One of the following packages is required to complete your request:
- dev-db/sqlite-3.6.20-r1 (Change USE: +fts3)
(dependency required by "www-client/mozilla-firefox-3.5.6" [ebuild])
(dependency required by "world" [argument])
spinoza ~ # 

------- Comment #20 From Arfrever Frehtes Taifersar Arahesis 2010-01-03 13:36:34 0000 -------
(In reply to comment #18 and comment #19)

This isn't any bug in the tree or in package manager. The message tells you to
enable "fts3" USE flag for dev-db/sqlite, so you should do it.

First Last Prev Next    No search results available      Search page      Enter new bug