~whynothugo/pimsync#181: 
DB initialisation won't work on Debian

The database initialisation uses ALTER TABLE…DROP, which was introduced to sqlite 3.35 in 2023.

The Debian version of sqlite is older than this, so when building+running on Debian, pimsync won't start.

Try to rethink database initialisation to avoid calling DROP. Strictly speaking, we only need this when upgrading a database from an older version.

Status
REPORTED
Submitter
~whynothugo
Assigned to
No-one
Submitted
a month ago
Updated
a month ago
Labels
No labels applied.

~whynothugo a month ago

FWIW: we should provide a easy recipe for locally compiling a statically linked binary, which would remove an entire class of headaches.

~whynothugo a month ago

Debian bullseye (current LTS) ships sqlite 3.34: https://repology.org/project/sqlite/versions

Register here or Log in to comment, or comment via email.