Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 670346 - dev-db/sqlcipher: missing column metadata build time option
Summary: dev-db/sqlcipher: missing column metadata build time option
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sergey Popov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-05 05:16 UTC by paradox_ptr
Modified: 2019-02-26 10:34 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description paradox_ptr 2018-11-05 05:16:18 UTC
sqlcipher does not export sqlite3_column_table_name16.
It needs "-DSQLITE_ENABLE_COLUMN_METADATA" compiler definition.

Application that I use relies on qt5-sqlcipher Qt plugin.
It crashes due to missing symbol if plugin is linked against gentoo's system sqlcipher lib.
If works fine if I link it against libsqlite3.so instead or add append-cflags -DSQLITE_ENABLE_COLUMN_METADATA to sqlcipher ebuild.

ebuilds for sqlite unconditionally define a whole bunch of preprocessor definitions - I imagine, all of them should be included in sqlcipher also, due to the nature of the project.
Comment 1 Larry the Git Cow gentoo-dev 2019-02-26 10:34:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=119f30f9cb4597cb3b7631405410f4c98b04b15d

commit 119f30f9cb4597cb3b7631405410f4c98b04b15d
Author:     Sergey Popov <pinkbyte@gentoo.org>
AuthorDate: 2019-02-26 10:32:18 +0000
Commit:     Sergey Popov <pinkbyte@gentoo.org>
CommitDate: 2019-02-26 10:32:18 +0000

    dev-db/sqlcipher: version bump
    
    Bump EAPI to 7.
    Add support for some extensions during buildtime,
    including column metadata info.
    
    Signed-off-by: Sergey Popov <pinkbyte@gentoo.org>
    Reported-by: paradox_ptr <paradox_ptr@protonmail.ch>
    Closes: https://bugs.gentoo.org/670346
    Package-Manager: Portage-2.3.51, Repoman-2.3.10

 dev-db/sqlcipher/Manifest               |  1 +
 dev-db/sqlcipher/sqlcipher-4.0.1.ebuild | 67 +++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)