[Pkg-phototools-devel] Bug#966904: pfstools: FTBFS: array2d.h:173:9: error: ‘__assert_fail’ was not declared in this scope; did you mean ‘MagickCore::__assert_fail’?

Andreas Metzler ametzler at bebt.de
Thu Sep 24 08:28:11 BST 2020


On 2020-09-24 peter green <plugwash at p10link.net> wrote:
> On 24/09/2020 06:25, Andreas Metzler wrote:
[...]
>> Did you note that the ImageMagick6 issue 95 has an comment ("We compiled
>> your source under Fedora and Centos without complaint [...]  Perhaps
>> there is a problem in the Debian tool chains.")
> I did see it, but not sure how best to respond (and I don't really
> want to get deeply involved in this).

Hello Peter

[having now setup a Fedora chroot ;-) ... ]
afaict the different behavior is caused by

https://salsa.debian.org/glibc-team/glibc/-/blob/sid/debian/patches/any/local-asserth-decls.diff

i.e. on Debian assert.h is included once in a imagemagick namespace
while everywhere else it is also included a second time outside the
namespace. So *afaict* this argument ...

> I still think it's imagemagick's fault for including assert.h inside a
> namespace and hence breaking other users of the header, even if it
> happens to work on some other distros (which presumably have slightly
> different header interdependencies).

... only holds partially.

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the Pkg-phototools-devel mailing list