libdbi0: ABI breakage without package name change
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Release Notes for Ubuntu |
Fix Released
|
Undecided
|
Thierry Carrez | ||
collectd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Maverick |
Won't Fix
|
Undecided
|
Unassigned | ||
gammu (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Maverick |
Won't Fix
|
Undecided
|
Unassigned | ||
icinga (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Maverick |
Won't Fix
|
Undecided
|
Unassigned | ||
libapache-mod-log-sql (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Maverick |
Won't Fix
|
Undecided
|
Unassigned | ||
libdbi (Debian) |
Fix Released
|
Unknown
|
|||
libdbi (Ubuntu) |
Fix Released
|
High
|
Clint Byrum | ||
Maverick |
Won't Fix
|
High
|
Clint Byrum | ||
libdbi-drivers (Ubuntu) |
Fix Released
|
Undecided
|
Clint Byrum | ||
Maverick |
Won't Fix
|
Undecided
|
Clint Byrum | ||
rrdtool (Ubuntu) |
Fix Released
|
High
|
Clint Byrum | ||
Maverick |
Won't Fix
|
High
|
Clint Byrum | ||
syslog-ng (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Maverick |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
RELEASE NOTE FOR MAVERICK
===
The version of libdbi (0.8.3) has a known ABI incompatibility with earlier versions of libdbi that have been distributed with past versions of Ubuntu and Debian. As such, any software linked against libdbi.so.0 may give unexpected results if they utilize the 'dbi_error_flag' enum. Recompiling these applications will resolve this issue.
===
This was found in Debian this past week, and affects our 0.8.3 package as well.
http://
From the debian bug report:
The diff between libdbi 0.8.2 and 0.8.3 includes this:
/* other type definitions */
typedef enum {
- DBI_ERROR_USER = -1, DBI_ERROR_NONE = 0, DBI_ERROR_DBD, DBI_ERROR_
- DBI_ERROR_BADTYPE, DBI_ERROR_BADIDX, DBI_ERROR_BADNAME, DBI_ERROR_
,
- DBI_ERROR_NOCONN, DBI_ERROR_NOMEM, DBI_ERROR_BADPTR
+ DBI_ERROR_USER = -10, /* must be the first in the list */
+ DBI_ERROR_DBD = -9,
+ DBI_ERROR_
+ DBI_ERROR_BADTYPE,
+ DBI_ERROR_BADIDX,
+ DBI_ERROR_BADNAME,
+ DBI_ERROR_
+ DBI_ERROR_NOCONN,
+ DBI_ERROR_NOMEM,
+ DBI_ERROR_BADPTR,
+ DBI_ERROR_NONE = 0,
+ DBI_ERROR_CLIENT
} dbi_error_flag;
which changes the values of various error constants. That's an
incompatible ABI change, and should therefore have come with a SONAME
change, AFAICT.
Related branches
- Martin Pitt: Disapprove
- Diff: 104941 lines (has conflicts)
Changed in libdbi (Ubuntu): | |
status: | In Progress → Confirmed |
Changed in libdbi-drivers (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Clint Byrum (clint-fewbar) |
Changed in rrdtool (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Clint Byrum (clint-fewbar) |
tags: | added: server-mrs |
Changed in libdbi-drivers (Ubuntu): | |
status: | In Progress → Triaged |
Changed in rrdtool (Ubuntu): | |
status: | In Progress → Triaged |
Changed in libdbi (Ubuntu): | |
status: | Confirmed → Triaged |
description: | updated |
Changed in ubuntu-release-notes: | |
assignee: | nobody → Thierry Carrez (ttx) |
tags: | removed: server-mrs |
Changed in ubuntu-release-notes: | |
status: | New → Fix Released |
Changed in libdbi (Debian): | |
status: | Unknown → Fix Released |
Marking High, this ABI incompatibility will cause broken error messages.