Debian Bug report logs -
#988986
ABI change in tinyxml2 8.1.0+dfsg-1
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Joachim Reichel <reichel@debian.org>:
Bug#988986; Package cppcheck.
(Sat, 22 May 2021 15:42:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Christian Göttsche <cgzones@googlemail.com>:
New Bug report received and forwarded. Copy sent to Joachim Reichel <reichel@debian.org>.
(Sat, 22 May 2021 15:42:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: cppcheck
Version: 2.3-1
Severity: important
Dear Maintainer,
running cppcheck prints the following message:
Symbol `_ZTVN8tinyxml210XMLPrinterE' has different size in shared
object, consider re-linking
Also reproducible with cppcheck version 2.4 from experimental.
-- System Information:
Debian Release: 11.0
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-7-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages cppcheck depends on:
ii libc6 2.31-12
ii libgcc-s1 11.1.0-2
ii libpcre3 2:8.39-13
ii libstdc++6 11.1.0-2
ii libtinyxml2-8 8.1.0+dfsg-1
ii libz3-4 4.8.10-1
ii python3 3.9.2-3
ii python3-pygments 2.7.1+dfsg-2
cppcheck recommends no packages.
Versions of packages cppcheck suggests:
pn clang <none>
pn clang-tidy <none>
pn cppcheck-gui <none>
-- no debconf information
Message sent on
to Christian Göttsche <cgzones@googlemail.com>:
Bug#988986.
(Sat, 22 May 2021 17:21:03 GMT) (full text, mbox, link).
Message #8 received at 988986-submitter@bugs.debian.org (full text, mbox, reply):
reassign 988986 tinyxml2
severity 988986 serious
retitle 988986 ABI change in tinyxml2 8.1.0+dfsg-1
found 988986 8.1.0+dfsg-1
thanks
Hi Chow,
it seems that there's an ABI change in tinyxml2 8.1.0+dfsg-1.
cppcheck 2.3-1 was uploaded to unstable on 2020-12-17, compiled against tinyxml2 8.0.0+dfsg-2, and
migrated to testing. On 2021-05-20, tinyxml2 8.1.0+dfsg-1 was uploaded to unstable.
Running "touch foo.cpp; cppcheck foo.cpp" works as expected in testing, but shows "_cppcheck: Symbol
`_ZTVN8tinyxml210XMLPrinterE' has different size in shared object, consider re-linking" in unstable.
$ echo _ZTVN8tinyxml210XMLPrinterE | c++filt
vtable for tinyxml2::XMLPrinter
Indeed, the diff both between versions of tinyxml shows that the vtable of XMLPrinter has been
extended. Looks to me as this ABI change requires at least a library transition.
Thinking a bit more about it ...
This also changes the vtable of derived class (XMLPrinter is not final) in an incompatible way ,
which can be seen with the example in the contrib folder. Building against 8.0.0+dfsg-2 and running
with 8.1.0+dfsg-1 leads to a crash. I wonder why upstream did not bump the SOVERSION.
Best regards,
Joachim
Information forwarded
to debian-bugs-dist@lists.debian.org, Joachim Reichel <reichel@debian.org>:
Bug#988986; Package cppcheck.
(Sat, 22 May 2021 17:24:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Joachim Reichel <joachim.reichel@posteo.de>:
Extra info received and forwarded to list. Copy sent to Joachim Reichel <reichel@debian.org>.
(Sat, 22 May 2021 17:24:03 GMT) (full text, mbox, link).
Bug reassigned from package 'cppcheck' to 'tinyxml2'.
Request was from Joachim Reichel <joachim.reichel@posteo.de>
to control@bugs.debian.org.
(Sat, 22 May 2021 17:24:04 GMT) (full text, mbox, link).
No longer marked as found in versions cppcheck/2.3-1.
Request was from Joachim Reichel <joachim.reichel@posteo.de>
to control@bugs.debian.org.
(Sat, 22 May 2021 17:24:05 GMT) (full text, mbox, link).
Severity set to 'serious' from 'important'
Request was from Joachim Reichel <joachim.reichel@posteo.de>
to control@bugs.debian.org.
(Sat, 22 May 2021 17:24:06 GMT) (full text, mbox, link).
Changed Bug title to 'ABI change in tinyxml2 8.1.0+dfsg-1' from 'cppcheck: Symbol `_ZTVN8tinyxml210XMLPrinterE' has different size in shared object, consider re-linking'.
Request was from Joachim Reichel <joachim.reichel@posteo.de>
to control@bugs.debian.org.
(Sat, 22 May 2021 17:24:06 GMT) (full text, mbox, link).
Marked as found in versions 8.1.0+dfsg-1.
Request was from Joachim Reichel <joachim.reichel@posteo.de>
to control@bugs.debian.org.
(Sat, 22 May 2021 17:24:07 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Chow Loong Jin <hyperair@debian.org>:
Bug#988986; Package tinyxml2.
(Sun, 23 May 2021 15:24:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Joachim Reichel <joachim.reichel@posteo.de>:
Extra info received and forwarded to list. Copy sent to Chow Loong Jin <hyperair@debian.org>.
(Sun, 23 May 2021 15:24:04 GMT) (full text, mbox, link).
Message #28 received at 988986@bugs.debian.org (full text, mbox, reply):
For the missing major version/SONAME change I've created an issue in the upstream github project:
https://github.com/leethomason/tinyxml2/issues/867
Best regards,
Joachim
Message sent on
to Christian Göttsche <cgzones@googlemail.com>:
Bug#988986.
(Sun, 23 May 2021 15:24:05 GMT) (full text, mbox, link).
Marked as fixed in versions 8.1.0+really8.0.0+dfsg-1.
Request was from Chow Loong Jin <hyperair@debian.org>
to control@bugs.debian.org.
(Sat, 05 Jun 2021 20:42:03 GMT) (full text, mbox, link).
Marked Bug as done
Request was from Chow Loong Jin <hyperair@debian.org>
to control@bugs.debian.org.
(Sat, 05 Jun 2021 20:42:05 GMT) (full text, mbox, link).
Notification sent
to Christian Göttsche <cgzones@googlemail.com>:
Bug acknowledged by developer.
(Sat, 05 Jun 2021 20:42:06 GMT) (full text, mbox, link).
Message sent on
to Christian Göttsche <cgzones@googlemail.com>:
Bug#988986.
(Sat, 05 Jun 2021 20:42:07 GMT) (full text, mbox, link).
Message #42 received at 988986-submitter@bugs.debian.org (full text, mbox, reply):
close 988986 8.1.0+really8.0.0+dfsg-1
thanks
Reply sent
to Chow Loong Jin <hyperair@debian.org>:
You have taken responsibility.
(Fri, 11 Jun 2021 14:15:18 GMT) (full text, mbox, link).
Notification sent
to Christian Göttsche <cgzones@googlemail.com>:
Bug acknowledged by developer.
(Fri, 11 Jun 2021 14:15:18 GMT) (full text, mbox, link).
Message #47 received at 988986-close@bugs.debian.org (full text, mbox, reply):
Source: tinyxml2
Source-Version: 8.1.0+dfsg-2
Done: Chow Loong Jin <hyperair@debian.org>
We believe that the bug you reported is fixed in the latest version of
tinyxml2, 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 988986@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Chow Loong Jin <hyperair@debian.org> (supplier of updated tinyxml2 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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 01 Jun 2021 16:01:13 +0800
Source: tinyxml2
Binary: libtinyxml2-8a libtinyxml2-8a-dbgsym libtinyxml2-dev
Architecture: source amd64
Version: 8.1.0+dfsg-2
Distribution: experimental
Urgency: medium
Maintainer: Chow Loong Jin <hyperair@debian.org>
Changed-By: Chow Loong Jin <hyperair@debian.org>
Description:
libtinyxml2-8a - C++ XML parsing library
libtinyxml2-dev - TinyXML2 library - header and static library
Closes: 988986
Changes:
tinyxml2 (8.1.0+dfsg-2) experimental; urgency=medium
.
* [0c13ef0] Rename package for abi break (Closes: #988986)
Checksums-Sha1:
d90ba99e059fc134213d1b59d3995b3cac1a634f 2011 tinyxml2_8.1.0+dfsg-2.dsc
5f08635c1f8aa9b8fdb2662451ee94b094e17080 8220 tinyxml2_8.1.0+dfsg-2.debian.tar.xz
7c7fb2c3bd5e7ebced39ea8a6be7ba6f1f7da874 107520 libtinyxml2-8a-dbgsym_8.1.0+dfsg-2_amd64.deb
8b5af7c2e6e7fd46244e41d9d52269b7e647eb0e 31568 libtinyxml2-8a_8.1.0+dfsg-2_amd64.deb
c8ffc7df66a15b5110b7fb28c3d3125a8d3d06bd 21060 libtinyxml2-dev_8.1.0+dfsg-2_amd64.deb
de238bbe19fb338b6710c0febb9df912ac6dce27 7421 tinyxml2_8.1.0+dfsg-2_amd64.buildinfo
Checksums-Sha256:
6b0657a2d1fc23a3685c88c37f474da2dd59d22f5219f9afd61f2270582e9921 2011 tinyxml2_8.1.0+dfsg-2.dsc
8151d2ed300ea0dd79fab6bb964896ce38be895d941e0570c70a64f9adb04962 8220 tinyxml2_8.1.0+dfsg-2.debian.tar.xz
9fa0dc2deb33ddd71e3da82c169b05a31931b61eaeedf5b816f239cbde00e2a7 107520 libtinyxml2-8a-dbgsym_8.1.0+dfsg-2_amd64.deb
f439e29cdacf30a04fb58407cc089b0fe11f0a36997bb162e6b1465f9a0218b0 31568 libtinyxml2-8a_8.1.0+dfsg-2_amd64.deb
2f601f93537ac0954ef0ac5494a2c8daa6f8204e012b0d915379f3f3c43da0fe 21060 libtinyxml2-dev_8.1.0+dfsg-2_amd64.deb
db79a2243b98933c97b62546cb6220adff65a37d2d0158763adba633b7d29b4a 7421 tinyxml2_8.1.0+dfsg-2_amd64.buildinfo
Files:
c76abad9d7c50f9bc82ab21cb4aadfce 2011 libs optional tinyxml2_8.1.0+dfsg-2.dsc
105445db1cb5ae0b48e85660b0a3f09c 8220 libs optional tinyxml2_8.1.0+dfsg-2.debian.tar.xz
29ac2a2c897cdc33664a2fcaa78b520b 107520 debug optional libtinyxml2-8a-dbgsym_8.1.0+dfsg-2_amd64.deb
a44d69c18f01e1a7ac133a3f736852c7 31568 libs optional libtinyxml2-8a_8.1.0+dfsg-2_amd64.deb
e7e402773a28d040ac64bae0cbe2e368 21060 libdevel optional libtinyxml2-dev_8.1.0+dfsg-2_amd64.deb
fe8ce985cdc5fcd9ab0d1c6de095b659 7421 libs optional tinyxml2_8.1.0+dfsg-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEEuDQnfs/9/dZ027Q+9UiW1iHUqEFAmC2dvwACgkQ+9UiW1iH
UqHjWBAAkXdFdnc3tLHC9iCqEV0uIppoOhTfiKNwayrVD1HYbTXIC6DohV7MpVT0
TI3WKcof6BvBvQeHHVzq3vCLM4r/A8nlgekEeTukPSS5FiqmauKJuKBhVl8vbHkh
mSHKffIxU5i4nZvCNVd0ryXCHehRmh/UrKguXC5IDc9X6NivtAuk9aFg2FUvNsrI
yj8RGvzVpOvBSKDHoOmwEmc10zzW5S7/02Ep8ITIpbelJ+ozjnH2UhFS4ecEx1v3
NsyON5if7gjX5PybRkfFnP5HHDRaPRP5T2WuPnzDmo8B77srj68zbDK+RJo8+RxY
c4Vacvnj9gC7kSeihSTZB60ehb01Bp/CQPebu52d3U50/sZlVbcb+BM/H5zCmQE6
sg/OzXoiTUTbfrrKr3RLWSVrFM3RgGPF5Bz/apXAvZnYccdBWNDGIg8x1MFMgavE
Rkx441IiB5wTEJMZQIvJ4JNdIpN85tbW7yNQTrv2y4w9pZzTvtEOCunsF1vMMb43
u7HpkxJhuiAJOCA3KGkmpJY3NyRip5kiuTQLwOhWJBg3SqNw33DQfOc2+HIZMKtT
Xz3iPhcu6k2+jEgB/MOQGh0BVP+S1wPjU5UJAZHnxqeuuPkEBAktcscXmKK4v6Vo
cfv9MEatPhgykFtT+fsQtukrin+PjE0tqEl9K+LWY0/eVW0i3IA=
=DT8e
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 10 Jul 2021 07:26:18 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed Jul 3 05:42:39 2024;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.