[Debian-med-packaging] Bug#904145: concavity FTCBFS: uses a C compiler for C++ sources

Helmut Grohne helmut at subdivi.de
Fri Jul 20 16:31:13 BST 2018


Source: concavity
Version: 0.1+dfsg.1-2
Tags: patch upstream
User: helmutg at debian.org
Usertags: rebootstrap

concavity fails to cross build from source, because it uses a C compiler
for C++ sources. The upstream Makefile assigns CC=g++, which is quite
non-standard. When dh_auto_build overrides CC with a cross C compiler,
things go wrong badly. Renaming CC to the standard CXX variable makes
the build succeed as dh_auto_build passes a C++ compiler there. Please
consider applying the attached patch.

Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.patch
Type: text/x-diff
Size: 784 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20180720/055ce621/attachment.patch>


More information about the Debian-med-packaging mailing list