[Debian-med-packaging] Bug#922196: t-coffee FTCBFS: confuses C/C++ compilers
Helmut Grohne
helmut at subdivi.de
Wed Feb 13 05:44:05 GMT 2019
Source: t-coffee
Version: 12.00.7fb08c2-3
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap
Hi Andreas,
thank you for quickly removing the -i flag. Now diagnosing why t-coffee
fails to cross build became a lot easier. As it happens, the upstream
Makefile stores g++ in CC, but for cross compilation dh_auto_build
overrides that with a C cross compiler. That doesn't work well. All we
need to do here is store the C++ compiler in CC. Please consider
applying the attached patch (possibly after buster).
Helmut
-------------- next part --------------
diff --minimal -Nru t-coffee-12.00.7fb08c2/debian/changelog t-coffee-12.00.7fb08c2/debian/changelog
--- t-coffee-12.00.7fb08c2/debian/changelog 2019-02-12 19:37:40.000000000 +0100
+++ t-coffee-12.00.7fb08c2/debian/changelog 2019-02-13 06:40:44.000000000 +0100
@@ -1,3 +1,10 @@
+t-coffee (12.00.7fb08c2-3.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Pass C++ compiler as CC. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Wed, 13 Feb 2019 06:40:44 +0100
+
t-coffee (12.00.7fb08c2-3) unstable; urgency=medium
* Do not use -i flag to ignore build failures
diff --minimal -Nru t-coffee-12.00.7fb08c2/debian/rules t-coffee-12.00.7fb08c2/debian/rules
--- t-coffee-12.00.7fb08c2/debian/rules 2019-02-12 19:37:40.000000000 +0100
+++ t-coffee-12.00.7fb08c2/debian/rules 2019-02-13 06:40:43.000000000 +0100
@@ -11,7 +11,7 @@
dh $@ --sourcedirectory=t_coffee_source
override_dh_auto_build:
- dh_auto_build -- USER_BIN=../bin/ FCC="$(FCC)" all
+ dh_auto_build -- USER_BIN=../bin/ FCC="$(FCC)" 'CC=$$(CXX)' all
override_dh_auto_clean:
rm -rf t_coffee_source/*.o t_coffee_source/t_coffee bin/t_coffee $(shell find example/ -size 0) bin/t_coffee
More information about the Debian-med-packaging
mailing list