Bug#979030: sollya FTCBFS: uses AC_RUN_IFELSE

Helmut Grohne helmut at subdivi.de
Sat Jan 2 07:16:32 GMT 2021


Source: sollya
Version: 7.0+ds-3
Tags: patch upstream
User: debian-cross at lists.debian.org
Usertags: ftcbfs

sollya fails to cross build from source, because it uses AC_RUN_IFELSE a
lot. Such tests cannot be performed during cross builds. A number of
them test whether libraries work at runtime. There is little we can do
here about during cross builds, so skipping these checks during cross
builds only seems best. Another pile checks whether the linker accepts
certain flags. Those can be converted to AC_LINK_IFELSE at no loss.
That removes the big chunk. For the remainders it would help to
introduce cache variables using AC_CACHE_CHECK such that a cross builder
could provide the expected results. Please consider applying the
attached patch.

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


More information about the debian-science-maintainers mailing list