Summary: | app-i18n/ibus-libpinyin-1.13.1: fails to build with dev-db/sqlite-3.41 (Parse error near line 5: no such column: h) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Graham <graham> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cjk, proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
app-i18n:ibus-libpinyin-1.13.1:20230227-221945.log.bz2 emerge-history.txt.bz2 environment etc.clang.tar.bz2 etc.portage.tar.bz2 logs.tar.bz2 temp.tar.bz2 |
Description
Toralf Förster
2023-02-28 17:29:38 UTC
Created attachment 855300 [details]
emerge-info.txt
Created attachment 855302 [details]
app-i18n:ibus-libpinyin-1.13.1:20230227-221945.log.bz2
Created attachment 855304 [details]
emerge-history.txt.bz2
Created attachment 855306 [details]
environment
Created attachment 855308 [details]
etc.clang.tar.bz2
Created attachment 855310 [details]
etc.portage.tar.bz2
Created attachment 855312 [details]
logs.tar.bz2
Created attachment 855314 [details]
temp.tar.bz2
I think this is caused by the new version of sqlite 3.41 (not marked stable yet) is now enforcing proper single quotes on strings. The build script uses double quotes which is technically incorrect (but worked fine with all prior versions of sqlite). This *is* fixed upstream, the problem is I can't upgrade this package until its dependency libpinyin is upgraded. I have already raised this as bug 898402 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcc1e862ed2ee34cc89e3154e801cb9e3c6badb7 commit dcc1e862ed2ee34cc89e3154e801cb9e3c6badb7 Author: Graham Ramsey <graham.ramsey@gmail.com> AuthorDate: 2023-03-05 13:58:39 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-03-05 15:19:29 +0000 app-i18n/ibus-libpinyin: fix quotes to build with sqlite3.41+ sqlite has got more strict in latest version so it no longer accepts double quotes for sqlite string values. This adds a patch to replace double with single. There is an upstream attempt to fix this but it is not quite right so this doesn't copy it exactly. I have commented on the patch with advice. https://github.com/libpinyin/ibus-libpinyin/commit/96042887815b4700c7cafa64cf88942af438ea98 We cannot upgrade yet to this anyway, as we are dependent on older version of libpinyin. Closes: https://bugs.gentoo.org/898478 Signed-off-by: Graham Ramsey <graham.ramsey@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/29937 Signed-off-by: Sam James <sam@gentoo.org> ...us-libpinyin-1.13.1_sqlite3.41_fix_quotes.patch | 43 +++++++++++++ .../ibus-libpinyin/ibus-libpinyin-1.13.1-r1.ebuild | 73 ++++++++++++++++++++++ 2 files changed, 116 insertions(+) |