Your message dated Tue, 02 Apr 2019 20:45:39 +0000
with message-id <e1hbqhr-0009at...@fasolo.debian.org>
and subject line Bug#915603: fixed in graphicsmagick 1.4~hg15916-2
has caused the Debian Bug report #915603,
regarding libgraphicsmagick++-q16-12: Requires soname/shlibs bump for C++11 ABI 
changes
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
915603: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915603
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libgraphicsmagick++-q16-12
Version: 1.3.31-1
Severity: important

Important due to RC Policy "Shared library packages must include correct shlibs
files".

There was an ABI change between libgraphicsmagick++-q16-12 versions
1.3.30+hg15796-1~deb9u2 and 1.3.31-1 but the shlibs file was not changed. As a
result, some dependent packages like python3-pgmagick don't get a strict-enough
dependency from dpkg-shlibdeps and can end up in a broken state when built with
the newer library but installed with the older.

Steps to reproduce:

1. Ensure you have the stable repo in your apt sources.
2. Install the older library:

    apt install libgraphicsmagick++-q16-12=1.3.30+hg15796-1~deb9u2

3. Install python3-pgmagick from testing/unstable:

    apt install python3-pgmagick=0.7.4-1+b2

4. Try to load the library (which has an unconstrained dependency on
   libgraphicsmagick++-q16-12):

    echo 'import pgmagick' | python3

Observation: failure to load libGraphicsMagick++-Q16.so due to missing symbol:

    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "/usr/lib/python3/dist-packages/pgmagick/__init__.py", line
1, in <module>
        from pgmagick import _pgmagick
    ImportError:
/usr/lib/python3/dist-packages/pgmagick/_pgmagick.cpython-36m-x86_64-linux-gnu.so:
undefined symbol:
_ZNK6Magick5ColorcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEv

This is because the python3-pgmagick library was built with the newer GM++
library, which declares the same soname/shlibs as the older library, but the
exported symbols differ because of the libstdc++ C++11 ABI change
<https://wiki.debian.org/GCC5#libstdc.2B-.2B-_ABI_transition>.

You can compare the exported symbols from each version of
libgraphicsmagick++-q16-12:

    readelf -s -W /usr/lib/libGraphicsMagick++-Q16.so.12 | awk '{
print $8 }' | sort -u

Diffing the symbol lists, you can see some changes related to the C++11 ABI
change:

    
-_ZNK6Magick5ColorcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev
    +_ZNK6Magick5ColorcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEv

There are also some other changes not necessarily related to the libstdc++ ABI
change.

So I think the soname should have been incremented in version 1.3.31-1 to
prevent packages getting dependencies that are too weak and allow broken
installations. Incrementing it now and rebuilding all dependent packages would
fix them.

-- System Information:
Debian Release: 9.6
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500,
'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.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.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libgraphicsmagick++-q16-12 depends on:
ii  libc6                    2.27-8
ii  libgcc1                  1:8.2.0-10
ii  libgomp1                 8.2.0-10
ii  libgraphicsmagick-q16-3  1.3.30+hg15796-1~deb9u2
ii  libstdc++6               8.2.0-10

libgraphicsmagick++-q16-12 recommends no packages.

Versions of packages libgraphicsmagick++-q16-12 suggests:
pn  graphicsmagick-dbg  <none>

--- End Message ---
--- Begin Message ---
Source: graphicsmagick
Source-Version: 1.4~hg15916-2

We believe that the bug you reported is fixed in the latest version of
graphicsmagick, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 915...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Laszlo Boszormenyi (GCS) <g...@debian.org> (supplier of updated graphicsmagick 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 02 Apr 2019 18:49:40 +0000
Source: graphicsmagick
Architecture: source
Version: 1.4~hg15916-2
Distribution: unstable
Urgency: medium
Maintainer: Laszlo Boszormenyi (GCS) <g...@debian.org>
Changed-By: Laszlo Boszormenyi (GCS) <g...@debian.org>
Closes: 915603 915606
Changes:
 graphicsmagick (1.4~hg15916-2) unstable; urgency=medium
 .
   * Declare break on python{,3}-pgmagick versions compiled with GCC 7
     compiled versions of GraphicsMagick (closes: #915603, #915606).
Checksums-Sha1:
 41665733619afe24599bcf85067a0a55dff8285b 2855 graphicsmagick_1.4~hg15916-2.dsc
 dab56ee9d9fbf8e6da5c7bab9038055e3887b142 143512 
graphicsmagick_1.4~hg15916-2.debian.tar.xz
 286e14ef55286aba92f1589b4ebd6860a1629b2c 11895 
graphicsmagick_1.4~hg15916-2_amd64.buildinfo
Checksums-Sha256:
 31b0e673805491701c2a6564b35a70e4a61699e2fcae5dae722b8912d77e2f05 2855 
graphicsmagick_1.4~hg15916-2.dsc
 d026a55f8b8c92bb63a6e8eed9e622b73b5b2f9975d7433b7ece0149d758a351 143512 
graphicsmagick_1.4~hg15916-2.debian.tar.xz
 329413aa7a69ab5f8583a4e6ba428f703d5805033ddcdee0c5309b3a7a2e7e6e 11895 
graphicsmagick_1.4~hg15916-2_amd64.buildinfo
Files:
 923de2cf36b9b4693afca1a39afe6f2c 2855 graphics optional 
graphicsmagick_1.4~hg15916-2.dsc
 7a24ac40f74850101838533db64a2bbd 143512 graphics optional 
graphicsmagick_1.4~hg15916-2.debian.tar.xz
 37ce949cc0cb16c84ec645d179469dca 11895 graphics optional 
graphicsmagick_1.4~hg15916-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEfYh9yLp7u6e4NeO63OMQ54ZMyL8FAlyjvVUACgkQ3OMQ54ZM
yL8yGQ//YJcSOvMkwEbAKN9TtC8EGmmnX//0h0M+yczxNcPchsb8KiZhGqQF7LAE
R03MzZXedT0FVJht36JgU9cjX45HbDHW9WkKCvN5/cClF8qfHO2Hq4YubH0w+wu/
97djgzONsIAFn6NOSScXAFyOkfTVNpcjgGmRUSc80xwq4MwwXvngaCd2DqEFWWw3
qLzt+azz9/6sMUiw2k6l4uXaV62lEdBXHWjSPse5lzBegPUjYNfDaj2/2LeDRkZa
RUJIeczPp+0wMMp5M7da2aZXV/Avub+DRa2s0Y0+J5yzfqNCW6FdQSG0VYj+eWog
j4fmRr2X+fvhKW1YdGmrTsQbIHkXmO66ok8dCxVv505Mg8ldSC8wDdu4GXSu85P2
2c1PpMV6WrH33zTAlpkaVG/Y1AZgi9TT7Ng6Wr0Fqp7z/t5+v+LbM9MdQ8Txtq2T
vUOuEHDibXUPluSCyFdD8zG3WNj3bFd+SEn6hDk7RGwZ/hq8nSnfGr1b++Ia53Nq
mSi3ZrI+LmjYYnLboOLLkQ4laFF3N8SzG62Aq/O13MG9OmcWoIv3zabgm5Wmh945
eii0aA2CbOcc2ieOo6fSJ3sR6GNsNgOS6Chv7Ap3CHER0FRfgjbeG9/rIdEGDY+s
Y+COA+JzqsVdgnhq3x5VT6W9w5QgAGS1jimSZJhlnXjCWImlYCk=
=0eeU
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to