[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#915323: starvoyager FTCBFS: C++ compiler called CPPC



Source: starvoyager
Version: 0.4.4-9
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

starvoyager fails to cross build from source, because its build system
(unconventionally) expects the C++ compiler to be called $(CPPC), but
dh_auto_build passes it as $(CXX). After renaming the variable,
starvoyager cross builds successfully. Please consider applying the
attached patch.

Helmut
diff --minimal -Nru starvoyager-0.4.4/debian/changelog starvoyager-0.4.4/debian/changelog
--- starvoyager-0.4.4/debian/changelog	2017-03-17 19:00:40.000000000 +0100
+++ starvoyager-0.4.4/debian/changelog	2018-12-02 20:24:03.000000000 +0100
@@ -1,3 +1,10 @@
+starvoyager (0.4.4-9.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Supply C++ compiler as CPPC. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sun, 02 Dec 2018 20:24:03 +0100
+
 starvoyager (0.4.4-9) unstable; urgency=medium
 
   * QA upload.
diff --minimal -Nru starvoyager-0.4.4/debian/rules starvoyager-0.4.4/debian/rules
--- starvoyager-0.4.4/debian/rules	2017-03-17 18:33:57.000000000 +0100
+++ starvoyager-0.4.4/debian/rules	2018-12-02 20:24:02.000000000 +0100
@@ -1,3 +1,6 @@
 #!/usr/bin/make -f
 %:
 	dh $@
+
+override_dh_auto_build:
+	dh_auto_build -- 'CPPC=$$(CXX)'

Reply to: