[Debian-med-packaging] Bug#851230: primer3 FTCBFS: uses build architecture c++ compiler via unconventional variable CPP
Helmut Grohne
helmut at subdivi.de
Fri Jan 13 06:02:53 UTC 2017
Source: primer3
Version: 2.3.7-2
Tags: patch
User: helmutg at 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
-------------- next part --------------
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 <helmut at 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
More information about the Debian-med-packaging
mailing list