Closed
Bug 554789
Opened 16 years ago
Closed 16 years ago
configure chokes on system-sqlite not built with secure_delete though it _is_
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9.3a5
People
(Reporter: wuno, Assigned: wuno)
References
Details
Attachments
(1 file)
867 bytes,
patch
|
glandium
:
review+
ted
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.3a4pre) Gecko/20100323 Minefield/3.7a4pre
Build Identifier:
checking for sqlite3 >= 3.6.23... yes
checking SQLITE_CFLAGS...
checking SQLITE_LIBS... -lsqlite3
checking for SQLITE_SECURE_DELETE support in system SQLite... no
configure: error: System SQLite library is not compiled with SQLITE_SECURE_DELETE.
This is a log from my Sqlite compilation
libtool: compile: x86_64-pc-linux-gnu-gcc -DSQLITE_SECURE_DELETE -DSQLITE_CHECK_PAGES -DSQLITE_CORE -DNDEBUG -march=native -O2 -pipe -DSQLITE_OS_UNIX=1 -I. -I./src -D_HAVE_SQLITE_CONFIG_H -DNDEBUG -I/usr/include -DSQLITE_THREADSAFE=1 -DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DUSE_TCL_STUBS=1
configure checks for "SQLITE_SECURE_DELETE=1" "SQLITE_THREADSAFE=1" and SQLITE_ENABLE_FTS3=1" but the function check won't return !=1" for SQLITE_SECURE_DELETE and SQLITE_ENABLE_FTS3 (only for SQLITE_TRHEADSAFE
Reproducible: Always
![]() |
Assignee | |
Updated•16 years ago
|
Blocks: SQLite3.6.23
Version: unspecified → Trunk
![]() |
Assignee | |
Comment 1•16 years ago
|
||
who could review this?
![]() |
Assignee | |
Updated•16 years ago
|
Attachment #434727 -
Flags: review?(mh+mozilla)
![]() |
Assignee | |
Comment 2•16 years ago
|
||
Comment on attachment 434727 [details] [diff] [review]
remove =1 in SECURE_DELETE and ENABLE_FTS3 checks
Mike, I guess debian wants to build with system-sqlite. I'd go for review from a Mozilla peer, but probably getting a review first from a distributor building this option would be helpful
Updated•16 years ago
|
Attachment #434727 -
Flags: superreview?(ted.mielczarek)
Attachment #434727 -
Flags: review?(mh+mozilla)
Attachment #434727 -
Flags: review+
Comment 3•16 years ago
|
||
Comment on attachment 434727 [details] [diff] [review]
remove =1 in SECURE_DELETE and ENABLE_FTS3 checks
This is the right thing to do according to what sqlite3_compileoption_used does.
Updated•16 years ago
|
Attachment #434727 -
Flags: superreview?(ted.mielczarek) → review?(ted.mielczarek)
Comment 4•16 years ago
|
||
Shawn: wasn't this problem reported somewhere else?
Comment 5•16 years ago
|
||
(In reply to comment #4)
> Shawn: wasn't this problem reported somewhere else?
bug 551260 comment 15, and I asked for a new bug :)
What I'm confused about is that drh told me doing the =1 should work, so it's possible this is a bug with SQLite?
Comment 6•16 years ago
|
||
The "=1" thing in sqlite3_compileoption_used() only works for compile-time options that can take on multiple values, such as SQLITE_TEMP_STORE (which can be set to 0 through 3) or SQLITE_THREADSAFE (which can be set to 0 through 2). It does not work for SQLITE_SECURE_DELETE or SQLITE_ENABLE_FTS3. So I think Walter Meinl's patch is correct.
Comment 7•16 years ago
|
||
(In reply to comment #6)
> The "=1" thing in sqlite3_compileoption_used() only works for compile-time
> options that can take on multiple values, such as SQLITE_TEMP_STORE (which can
> be set to 0 through 3) or SQLITE_THREADSAFE (which can be set to 0 through 2).
> It does not work for SQLITE_SECURE_DELETE or SQLITE_ENABLE_FTS3. So I think
> Walter Meinl's patch is correct.
Ah, thanks for the clarification!
Updated•16 years ago
|
Attachment #434727 -
Flags: review?(ted.mielczarek) → review+
Updated•16 years ago
|
Keywords: checkin-needed
![]() |
Assignee | |
Updated•16 years ago
|
Assignee: nobody → wuno
Status: NEW → ASSIGNED
Comment 8•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
Updated•16 years ago
|
Flags: in-testsuite-
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•