Bug#874254: stretch-pu: package tdbcodbc/1.0.4-2+deb9u1 preapproval
Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian.org@packages.debian.org
Usertags: pu
Hi release team,
Appears that the tdbcodbc package currently in stretch hav a bug introduced by
the Debian maintainer and me the uploader, which leads to immediate segfault
on its loading. So the package is unusable at the moment.
We'd like to propose an update 1.0.4-2+deb9u1 with a fix. The difference
between 1.0.4-2 and 1.0.4-2+deb9u1 is attached.
-- System Information:
Debian Release: 9.1
APT prefers stable-debug
APT policy: (500, 'stable-debug'), (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru tdbcodbc-1.0.4/debian/changelog tdbcodbc-1.0.4/debian/changelog
--- tdbcodbc-1.0.4/debian/changelog 2016-03-15 01:16:57.000000000 +0300
+++ tdbcodbc-1.0.4/debian/changelog 2017-09-03 23:53:21.000000000 +0300
@@ -1,3 +1,10 @@
+tdbcodbc (1.0.4-2+deb9u1) stretch; urgency=medium
+
+ * Fixed bug in odbc libraries search as it caused a non existing
+ symbol to be loaded
+
+ -- Massimo Manghi <mxmanghi@apache.org> Sun, 03 Sep 2017 22:53:21 +0200
+
tdbcodbc (1.0.4-2) unstable; urgency=medium
* Removing unneeded build depend constraint that prevents the
diff -Nru tdbcodbc-1.0.4/debian/compat tdbcodbc-1.0.4/debian/compat
--- tdbcodbc-1.0.4/debian/compat 2016-03-15 01:16:57.000000000 +0300
+++ tdbcodbc-1.0.4/debian/compat 2017-09-03 23:53:21.000000000 +0300
@@ -1 +1 @@
-8
+9
diff -Nru tdbcodbc-1.0.4/debian/control tdbcodbc-1.0.4/debian/control
--- tdbcodbc-1.0.4/debian/control 2016-03-15 01:16:57.000000000 +0300
+++ tdbcodbc-1.0.4/debian/control 2017-09-03 23:53:21.000000000 +0300
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Massimo Manghi <mxmanghi@apache.org>
Build-Depends: debhelper (>=9), tcl8.6-dev, tcl8.6-tdbc (>=1.0.3~), libodbc1, odbcinst1debian2
-Standards-Version: 3.9.6
+Standards-Version: 4.0.1
Homepage: http://tdbc.tcl.tk/
Package: tcl8.6-tdbc-odbc
diff -Nru tdbcodbc-1.0.4/debian/patches/extend-stub-search tdbcodbc-1.0.4/debian/patches/extend-stub-search
--- tdbcodbc-1.0.4/debian/patches/extend-stub-search 2016-03-15 01:16:57.000000000 +0300
+++ tdbcodbc-1.0.4/debian/patches/extend-stub-search 2017-09-03 23:52:18.000000000 +0300
@@ -63,7 +63,7 @@
}
/*
-@@ -163,27 +176,34 @@
+@@ -163,27 +176,30 @@
if (status == TCL_OK) {
int status2 = TCL_ERROR;
for (i = 0; status2 == TCL_ERROR && odbcOptLibNames[i] != NULL; ++i) {
@@ -102,12 +102,11 @@
+ } else {
+ Tcl_ResetResult(interp);
}
- SQLInstallerError =
- (BOOL (INSTAPI*)(WORD, DWORD*, LPSTR, WORD, WORD*))
- Tcl_FindSymbol(NULL, *handle2Ptr, "SQLInstallerError");
+- SQLInstallerError =
+- (BOOL (INSTAPI*)(WORD, DWORD*, LPSTR, WORD, WORD*))
+- Tcl_FindSymbol(NULL, *handle2Ptr, "SQLInstallerError");
- } else {
- Tcl_ResetResult(interp);
-+
+ Tcl_DecrRefCount(path);
}
- Tcl_DecrRefCount(path);
Reply to: