[Pkg-gmagick-im-team] Bug#587227: libmagick++3: ABI breakage without SONAME change (yet again)

Julien Cristau jcristau at debian.org
Sat Jun 26 12:50:07 UTC 2010


On Sat, Jun 26, 2010 at 13:10:26 +0100, Julien Cristau wrote:

> Package: libmagick++3
> Version: 7:6.6.2.6-1
> Severity: serious
> 
> libMagick++.so.3 in squeeze exports a _ZN6Magick5Image8contrastEj
> symbol.  The version in sid doesn't.  This breaks (at least)
> python-imagemagick.  Please be more careful about ABI compatibility...
> 
So on amd64 I count 130 removed symbols.  It's likely there are others
that only affect 32bit archs.  Checking that kind of things should be
the *first* thing you do on a new upstream release, especially when you
know upstream is unable to maintain their ABI properly.  And it's not
like these things are well-hidden, a debdiff shows e.g. for
lib/Magick++/Drawable.h:

@@ -2055,8 +2055,8 @@
 class MagickDLLDecl DrawableViewbox : public DrawableBase
 {
 public:
-  DrawableViewbox(unsigned long x1_, unsigned long y1_,
-                  unsigned long x2_, unsigned long y2_)
+  DrawableViewbox(ssize_t x1_, ssize_t y1_,
+                  ssize_t x2_, ssize_t y2_)
     : _x1(x1_),
       _y1(y1_),
       _x2(x2_),

which is quite trivially not going to fly.

Cheers,
Julien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gmagick-im-team/attachments/20100626/92e3e84d/attachment.pgp>


More information about the Pkg-gmagick-im-team mailing list