[Debian-med-packaging] Bug#1107684: genometester FTCBFS: C vs C++ confusion
Helmut Grohne
helmut at subdivi.de
Wed Jun 11 16:48:02 BST 2025
Source: genometester
Version: 4.0+git20200511.91cecb5+dfsg-1
Tags: patch upstream
User: debian-cross at lists.debian.org
Usertags: ftcbfs
genometester fails to cross build from source in a surprising way. It's
a compilation failure, but upon closer inspection the notable difference
is that the cross build used g++ whereas the native build used gcc.
dh_auto_build overrides CXX, which is the standard variable for the C++
compiler, but the upstream Makefile sets it to gcc. This also means that
the native build presently passes CXXFLAGS to the C compiler, which may
presently work but fail later. I suggest using the standard variables
with standard meanings. Once doing so it readily cross builds. I'm
attaching a patch (for forky) for your convenience.
Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross.patch
Type: text/x-diff
Size: 3331 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20250611/9f410a76/attachment.patch>
More information about the Debian-med-packaging
mailing list