Source: primer3 Version: 2.3.7-2 Tags: patch User: helm...@debian.org Usertags: rebootstrap
primer3 fails to cross build from source, because it stores its C++ compiler in the unconventional variable CPP. dh_auto_build passes cross compilers via CXX. Thus primer3 ends up using the build architecture C++ compiler. After overriding CPP, it cross builds successfully. Please consider applying the attached patch. Helmut
diff --minimal -Nru primer3-2.3.7/debian/changelog primer3-2.3.7/debian/changelog --- primer3-2.3.7/debian/changelog 2016-06-27 16:34:27.000000000 +0200 +++ primer3-2.3.7/debian/changelog 2017-01-13 06:58:59.000000000 +0100 @@ -1,3 +1,10 @@ +primer3 (2.3.7-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Pass CXX as CPP (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Fri, 13 Jan 2017 06:58:59 +0100 + primer3 (2.3.7-2) unstable; urgency=medium * Team Upload diff --minimal -Nru primer3-2.3.7/debian/rules primer3-2.3.7/debian/rules --- primer3-2.3.7/debian/rules 2016-06-27 16:34:27.000000000 +0200 +++ primer3-2.3.7/debian/rules 2017-01-13 06:58:59.000000000 +0100 @@ -10,6 +10,9 @@ %: dh $@ --sourcedirectory=src +override_dh_auto_build: + dh_auto_build -- 'CPP=$$(CXX)' + override_dh_auto_test: dh_auto_test --sourcedirectory=test dh clean --sourcedirectory=test