Source: emacsql-sqlite3
Version: 1.0.2-1
Severity: serious
Tags: bookworm sid ftbfs patch

Hi,

Your package fails to build with SQLite 3.38.0; the reason is simple.
The output for creating an already existing table changed from
'Error:' to 'Parse error'. The attached patch updates the source
accordingly.

Regards,
Laszlo/GCS
Description: fix build with SQLite3 3.38.0+
 It changed the error message for creating an already existing table.
Forwarded: no
Author: Laszlo Boszormenyi (GCS) <g...@debian.org>
Last-Update: 2022-03-01

---

--- emacsql-sqlite3-1.0.2.orig/emacsql-sqlite3.el
+++ emacsql-sqlite3-1.0.2/emacsql-sqlite3.el
@@ -214,7 +214,7 @@ each arg will be quoted first."
 (cl-defmethod emacsql-parse ((conn emacsql-sqlite3-connection))
   (with-current-buffer (emacsql-buffer conn)
     (goto-char (point-min))
-    (if (looking-at (rx "Error: " (group (1+ any)) eol))
+    (if (looking-at (rx "Parse error " (group (1+ any)) eol))
         (signal 'emacsql-error (list (match-string 1)))
       (cl-macrolet ((sexps-in-line! ()
                       `(cl-loop until (looking-at "\n")

Reply via email to