Bug#958095: singular FTCBFS: gmp check doesn't work

Helmut Grohne helmut at subdivi.de
Sat Apr 18 13:02:45 BST 2020


Source: singular
Version: 1:4.1.1-p2+ds-4
Tags: patch upstream
User: debian-cross at lists.debian.org
Usertags: ftcbfs

singular fails to cross build for a few reasons. In this bug report, I'm
addressing one of them. The check for GMP uses AC_TRY_RUN, which doesn't
work during cross compilation and the implemented fallback code doesn't
work either. Thus it thinks that GMP is missing and gives up. I've
reimplemented that part to not rely on AC_TRY_RUN as what we need here
can be examined using AC_COMPUTE_INT. What do you think about the
attached patch? Please close this bug when solving the gmp detection
issue even if singular still fails to cross build.

Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.patch
Type: text/x-diff
Size: 2194 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20200418/b27b6b33/attachment-0001.patch>


More information about the debian-science-maintainers mailing list