Your message dated Sat, 29 Jun 2024 12:14:19 +0000
with message-id <e1snwyb-0089cf...@fasolo.debian.org>
and subject line Bug#969128: fixed in imagemagick 8:6.9.13.12+dfsg1-1
has caused the Debian Bug report #969128,
regarding libmagick++-6.q16-dev includes assert.h inside namespace.
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.)
--
969128: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=969128
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libmagick++-6.q16-dev
Version: 8:6.9.11.24+dfsg-1+b1
This bug is based on testing related to
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966904
Compiling the following simple test program fails.
#include <Magick++.h>
#include <assert.h>
int main() {
assert(1==2);
}
g++ `pkg-config --cflags ImageMagick++` test.cpp
In file included from test.cpp:2:
test.cpp: In function ‘int main()’:
test.cpp:4:5: error: ‘__assert_fail’ was not declared in this scope; did you
mean ‘MagickCore::__assert_fail’?
4 | assert(1==2);
| ^~~~~~
In file included from /usr/include/ImageMagick-6/magick/memory_.h:22,
from /usr/include/ImageMagick-6/magick/MagickCore.h:125,
from /usr/include/ImageMagick-6/Magick++/Include.h:45,
from /usr/include/ImageMagick-6/Magick++.h:10,
from test.cpp:1:
/usr/include/assert.h:69:13: note: ‘MagickCore::__assert_fail’ declared here
69 | extern void __assert_fail (const char *__assertion, const char *__file,
|
The same code builds fine in buster.
The issue is that Magick++/Include.h includes the imagemagick headers inside a
namespace,
unfortunately the imagemagick headers in turn include the assert.h header which
therefore
gets included inside the namespace and breaks other code that tries to use
functionality
from assert.h
A possible fix would be to have Include.h include assert.h before opening the
namespace.
(a number of other standard C headers are already included by Include.h
presumablly
for this very reason).
--- End Message ---
--- Begin Message ---
Source: imagemagick
Source-Version: 8:6.9.13.12+dfsg1-1
Done: Bastien Roucariès <ro...@debian.org>
We believe that the bug you reported is fixed in the latest version of
imagemagick, 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 969...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bastien Roucariès <ro...@debian.org> (supplier of updated imagemagick 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: SHA512
Format: 1.8
Date: Fri, 28 Jun 2024 16:37:24 +0000
Source: imagemagick
Architecture: source
Version: 8:6.9.13.12+dfsg1-1
Distribution: unstable
Urgency: medium
Maintainer: ImageMagick Packaging Team
<pkg-gmagick-im-t...@lists.alioth.debian.org>
Changed-By: Bastien Roucariès <ro...@debian.org>
Closes: 969128 1070340
Changes:
imagemagick (8:6.9.13.12+dfsg1-1) unstable; urgency=medium
.
* New upstream version
* Acknowledge NMU
* Drop time-to-live-returned-incorrect-results-when-SOURCE_.patch
applied upstream.
* use pkgconf instead of pkg-config
* Close variation of CVE-2023-34151 (Closes: #1070340)
* Libmagick++-6.q16-dev included assert.h inside namespace.
(Closes: #969128)
Checksums-Sha1:
76237265e80290a3c0c950bcbead82b636d854bb 5106 imagemagick_6.9.13.12+dfsg1-1.dsc
966b1f9ccbfbfdc4164ccbd0a73aa903c24edf40 9829420
imagemagick_6.9.13.12+dfsg1.orig.tar.xz
dc3a06e59136ae258ccd960ca61c21b7a7b55912 260856
imagemagick_6.9.13.12+dfsg1-1.debian.tar.xz
876f0e4d1f4536e6acda4332fe1b41847426a75d 30081
imagemagick_6.9.13.12+dfsg1-1_amd64.buildinfo
Checksums-Sha256:
a6352e88577b25beff4a0ec289b21ea5f079e793ff022bb2bea92558136a0428 5106
imagemagick_6.9.13.12+dfsg1-1.dsc
0e3979571e2ba9a0d90c449a40972a26268a1b952f5c039fa857cc02cbca659a 9829420
imagemagick_6.9.13.12+dfsg1.orig.tar.xz
111d2ceac8358fb19b9156e20fddcf82407ee0414b0be017a963a6182b5a042c 260856
imagemagick_6.9.13.12+dfsg1-1.debian.tar.xz
0d6e772b71d1c587f23ae847354199bb2a47f40a9b26830f9692b6ff54c7803f 30081
imagemagick_6.9.13.12+dfsg1-1_amd64.buildinfo
Files:
ecda821fc64478588bb1a9cb023ae508 5106 graphics optional
imagemagick_6.9.13.12+dfsg1-1.dsc
59618ecc5150959680c9ba5ea7b2e6f5 9829420 graphics optional
imagemagick_6.9.13.12+dfsg1.orig.tar.xz
3923d6fa7a803f6b76fcf6192405bad4 260856 graphics optional
imagemagick_6.9.13.12+dfsg1-1.debian.tar.xz
b6d177e21ca2d5f1c20c8f550bbbab50 30081 graphics optional
imagemagick_6.9.13.12+dfsg1-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEEXQGHuUCiRbrXsPVqADoaLapBCF8FAmZ/9poRHHJvdWNhQGRl
Ymlhbi5vcmcACgkQADoaLapBCF/MYQ//Qai7MWjRKMJQxvHx2+SzGjm+ZY7/1TcV
ki6HpA9mNwDgNyl35sA9Yu5osVCN8JTcjohPhblww/C/UC/kIcSnCqbEsC9xaviw
XQr4Sr+Y7AdQ2uDUBWaRkGCfUWRCErlRIGBYHXFrfbVltTTKdYr51a88XDaor/W/
ywgTqvE04uEib3baxDsBPMVUlnCl0qVJlAx9X8FDBuUIzcDTEhfknqPCLqFOa8vS
NrQnOV9fK/oLb3bJ8kzcvJNZpw2RC6yMWSWRABILKIScwpmWdPDkCrh8JJBlwE5O
GXk9n4RjhOExUK3//kiZC6Whss+GUPNsFkohTxs11AXorjGPMDcfSHmaxWQIMoir
Kf5uNi8T2pj8MYBV2ZIz+ojCrpp5KzXDZtE+XSSEnbqcAaq5/VgEm1Rj5/t4phu0
MOayjRm1iZ90cTSyN7Qu6qs4RTU9BmEXRMju1J0ctdD58ahQFV7EkH0m+vORfKhM
qZAR3eZbvhQ1bzBLadtcgKx+IlYsClarikF0Rn+psNFEalc07f51bkMnvIIAppFl
1yhuV/I9eQ0vjkL9n/VWqSmxEYi1a3ZJa8eCeknaHBYhLDdQf2sKu4X1gYks2OoE
cmt4TRcH66F2l6wqisrWFGjX4a0N8GSsLcBcyHDA4wZgIgiwR9+lWR9P+JsnIox5
Ai5Ag4Lhucc=
=7VEm
-----END PGP SIGNATURE-----
pgplyqpmYmAyP.pgp
Description: PGP signature
--- End Message ---