Bug#972827: libgiac-dev: should include config.h

Benjamin Barenblat bbaren at debian.org
Sat Oct 24 14:56:09 BST 2020


Package: libgiac-dev
Version: 1.4.9.69+dfsg1-2
Severity: grave

Many Giac headers #include "config.h", and they use its contents in such
a way that config.h is essential to define the library ABI. (For
example, some members are gated behind #ifdef HAVE_LIBPTHREAD.)
Developing against Giac without the exact config.h generated during the
library build thus triggers an ABI mismatch, usually manifesting as a
segfault.

Requiring Giac’s config.h is unfortunate, and upstream recognizes it –
giac/gen.h includes the note

  // FIXME: macros defined in config.h are not welcome in a public header!

Until that FIXME is resolved, though, Debian needs to ship Giac’s
config.h with the other Giac headers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20201024/0c8fb293/attachment.sig>


More information about the debian-science-maintainers mailing list