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

Bug#941192: ebview FTCBFS: debian/rules uses the build architecture compiler



Source: ebview
Version: 0.3.6.2-2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

ebview fails to cross build from source, because debian/rules uses the
build architecture compiler as a make default. The easiest way of fixing
that is seeding CC from dpkg's buildtools.mk. Please consider applying
the attached patch.

Helmut
diff --minimal -Nru ebview-0.3.6.2/debian/changelog ebview-0.3.6.2/debian/changelog
--- ebview-0.3.6.2/debian/changelog	2018-11-04 16:12:52.000000000 +0100
+++ ebview-0.3.6.2/debian/changelog	2019-09-26 06:46:07.000000000 +0200
@@ -1,3 +1,9 @@
+ebview (0.3.6.2-3) UNRELEASED; urgency=medium
+
+  * Fix FTCBFS: Seed CC from dpkg's buildtools.mk. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Thu, 26 Sep 2019 06:46:07 +0200
+
 ebview (0.3.6.2-2) unstable; urgency=medium
 
   * QA upload
diff --minimal -Nru ebview-0.3.6.2/debian/rules ebview-0.3.6.2/debian/rules
--- ebview-0.3.6.2/debian/rules	2018-11-04 16:12:52.000000000 +0100
+++ ebview-0.3.6.2/debian/rules	2019-09-26 06:46:06.000000000 +0200
@@ -1,5 +1,6 @@
 #!/usr/bin/make -f
 
+-include /usr/share/dpkg/buildtools.mk
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 %:

Reply to: