| Summary: | flatpak not building, sqlcipher build error | ||
|---|---|---|---|
| Product: | [Applications] skrooge | Reporter: | skierpage <info> |
| Component: | general | Assignee: | skierpage <info> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | Trunk from git | ||
| Target Milestone: | 25.1.0 | ||
| Platform: | Flatpak | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
skierpage
2025-04-08 09:36:55 UTC
In branch work/flatpak_sqlcipher_fix I tried simplifying the sqlcipher module recipe in the flatpak manifest based on qTox's much simpler recipe, and the pipeline failed 😕. sqlcipher v4.7.0 has "complete upstream SQLite refactoring of build system to use autosetup". See its changelog https://github.com/sqlcipher/sqlcipher/blob/master/CHANGELOG.md for all the BREAKING CHANGES, including: - No more configure.ac, hence the flatpak build that invokes autoreconf fails. - Instead it gives ./configure options you need to specify. - It changes the name of the library it builds from libsqlcipher to libsqlite3 "for alignment with SQLite". - this seems very prone to error since a Linux distribution and/or the flatpak runtime probably already have "vanilla" libsqlite3 and sqlite3.pc that don't have the cipher support! - In builds, it uses `jimsh` instead of `tclsh`, so perhaps it no longer requires building tclsh. As a workaround, merge request !73 changes .flatpak-manifest.json to build sqlcipher v4.6.1 (same as skrooge stable on flathub), not latest sqlcipher version from git. > - this seems very prone to error since a Linux distribution and/or the flatpak runtime probably already have "vanilla" libsqlite3 and sqlite3.pc that don't have the cipher support! Yes, the sqlite and sqlcipher packages would conflict in Fedora (which is still shipping 4.5.2). I filed https://github.com/sqlcipher/sqlcipher/issues/556 asking for help to build with the old name. |