[Debian-iot-maintainers] Bug#1009769: libhoel1.4: ABI break: h_exec_query_sqlite was dropped

Andreas Metzler ametzler at bebt.de
Sun Apr 17 06:32:28 BST 2022


Package: libhoel1.4
Version: 1.4.20-1
Severity: serious
Justification: Policy 8.6.2
X-Debbugs-Cc: glewlwyd at packages.debian.org, ametzler at bebt.de

Good morning,

1.4.18 to 1.4.20 features this change:

8X----------------------
diff -NurBbp hoel-1.4.18/include/hoel.h hoel-1.4.20/include/hoel.h
--- hoel-1.4.18/include/hoel.h  2021-06-02 19:38:17.000000000 +0200
+++ hoel-1.4.20/include/hoel.h  2022-03-25 18:47:40.000000000 +0100
@@ -525,6 +525,16 @@ long long int h_last_insert_id_sqlite(co

 /**
  * h_exec_query_sqlite
+ * legacy function name, didn't realize the typo until now...
+ * redirect to h_execute_query_sqlite
+ * @param conn the connection to the database
+ * @param query the SQL query to execute
+ * @return H_OK on success
+ */
+#define h_exec_query_sqlite(conn, query) h_execute_query_sqlite(conn, query)
[...]
-int h_exec_query_sqlite(const struct _h_connection * conn, const char * query);
+int h_execute_query_sqlite(const struct _h_connection * conn, const char * query);
8X----------------------


i.e. the symbol h_exec_query_sqlite was dropped from the library ABI.
This breaks all reverse dependencies built against 1.4.18, e.g. glewlwyd
is now broken:
(sid)ametzler at argenau:/dev/shm/GLEWY$ ldd -r /usr/bin/glewlwyd | tail -n1
undefined symbol: h_exec_query_sqlite   (/usr/bin/glewlwyd)

cu Andreas



More information about the Debian-iot-maintainers mailing list