Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835810 - dev-vcs/fossil-2.18[system-sqlite] with >=dev-db/sqlite-3.38.0: Error: system SQLite library omits required build option -DSQLITE_ENABLE_JSON1
Summary: dev-vcs/fossil-2.18[system-sqlite] with >=dev-db/sqlite-3.38.0: Error: system...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Aaron W. Swenson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-22 19:08 UTC by Enne Eziarc
Modified: 2022-06-09 01:21 UTC (History)
1 user (show)

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


Attachments
build log (file_835810.txt,3.15 KB, text/plain)
2022-03-22 19:08 UTC, Enne Eziarc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Enne Eziarc 2022-03-22 19:08:42 UTC
Created attachment 767594 [details]
build log

>Found Tclsh version 8.6 in the PATH.
>Checking for sqlite3_open in sqlite3...-lsqlite3
>Error: system SQLite library omits required build option -DSQLITE_ENABLE_JSON1
>child process exited abnormally
>Try: 'configure --help' for options

This error's caused by SQLite 3.38 making JSON an always-on feature, so that flag no longer exists to check for. Upstream fixed it in vcs (a month ago…) but hasn't put out a 2.19 release yet.
Comment 1 Larry the Git Cow gentoo-dev 2022-06-09 01:20:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4459a13e0fee15f7f33fca914cf26cdfbfa8ef83

commit 4459a13e0fee15f7f33fca914cf26cdfbfa8ef83
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-09 01:18:54 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-09 01:20:25 +0000

    dev-vcs/fossil: fix build w/ USE=system-sqlite
    
    Closes: https://bugs.gentoo.org/835810
    Signed-off-by: Sam James <sam@gentoo.org>

 .../fossil-2.18-fix-sqlite-3.38-json-check.patch     | 20 ++++++++++++++++++++
 dev-vcs/fossil/fossil-2.18.ebuild                    | 10 ++++++++--
 2 files changed, 28 insertions(+), 2 deletions(-)