[Debian-astro-maintainers] Bug#915263: montage FTCBFS: insane build system
Helmut Grohne
helmut at subdivi.de
Sun Dec 2 09:31:46 GMT 2018
Source: montage
Version: 6.0+dfsg-2
Tags: patch upstream
User: helmutg at debian.org
Usertags: rebootstrap
montage fails to cross build from source, because its build system is
insane. Part of that is already reported as #915163, but there are two
other aspects that stick:
* It tends to stuff compiler flags into the CC variable. When
dh_auto_build supplies CC, those flags get lost. It is much better to
store them in CFLAGS.
* While it uses $(CC) most of the time, it hard codes gcc in a few
places, so dh_auto_build has now way of substituting the compiler.
The attached patch fixes these aspects while still leaving the failure
propagation (#915163) as is. The patch makes montage cross build
successfully. In the presence of #915163, I cannot quite tell whether
that's enough. Please consider applying it.
Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.patch
Type: text/x-diff
Size: 2603 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-astro-maintainers/attachments/20181202/d749867e/attachment-0001.patch>
More information about the Debian-astro-maintainers
mailing list