[Pkg-fonts-devel] Bug#901174: fontforge-extras FTCBFS: uses the build architecture compiler

Helmut Grohne helmut at subdivi.de
Sat Jun 9 20:15:57 BST 2018


Source: fontforge-extras
Version: 0.3-4
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

fontforge-extras fails to cross build from source, because it uses the
make default of CC as compiler. Letting dpkg's buildtools.mk initializes
CC with a cross compiler fixes that and makes fontforge-extras cross
buildable. Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru fontforge-extras-0.3/debian/changelog fontforge-extras-0.3/debian/changelog
--- fontforge-extras-0.3/debian/changelog	2013-09-30 00:13:47.000000000 +0200
+++ fontforge-extras-0.3/debian/changelog	2018-06-09 21:13:34.000000000 +0200
@@ -1,3 +1,10 @@
+fontforge-extras (0.3-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dpkg's buildtools.mk set up CC. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sat, 09 Jun 2018 21:13:34 +0200
+
 fontforge-extras (0.3-4) unstable; urgency=low
 
   * Team upload.
diff --minimal -Nru fontforge-extras-0.3/debian/rules fontforge-extras-0.3/debian/rules
--- fontforge-extras-0.3/debian/rules	2013-09-30 00:13:47.000000000 +0200
+++ fontforge-extras-0.3/debian/rules	2018-06-09 21:13:32.000000000 +0200
@@ -2,6 +2,7 @@
 #export DH_VERBOSE=1
 
 export DEB_BUILD_MAINT_OPTIONS := hardening=+all
+-include /usr/share/dpkg/buildtools.mk
 
 %:
 	dh $@


More information about the Pkg-fonts-devel mailing list