[Debian-med-packaging] Bug#972815: seriation FTCBFS: uses the build architecture compiler

Helmut Grohne helmut at subdivi.de
Sat Oct 24 10:54:01 BST 2020


Source: seriation
Version: 0.1+git20200810.df036aa-2
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

seriation fails to cross build from source, because it uses the build
architecture compiler as a make default. For supporting cross
compilation, it should be initialized to a triplet-prefixed value. The
easiest way of doing so - using dpkg's buildtools.mk - makes seriation
cross buildable. Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru seriation-0.1+git20200810.df036aa/debian/changelog seriation-0.1+git20200810.df036aa/debian/changelog
--- seriation-0.1+git20200810.df036aa/debian/changelog	2020-10-22 15:42:09.000000000 +0200
+++ seriation-0.1+git20200810.df036aa/debian/changelog	2020-10-24 11:51:21.000000000 +0200
@@ -1,3 +1,10 @@
+seriation (0.1+git20200810.df036aa-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dpkg's buildtools.mk initialize CC. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sat, 24 Oct 2020 11:51:21 +0200
+
 seriation (0.1+git20200810.df036aa-2) unstable; urgency=medium
 
   * Source-only-upload.
diff --minimal -Nru seriation-0.1+git20200810.df036aa/debian/rules seriation-0.1+git20200810.df036aa/debian/rules
--- seriation-0.1+git20200810.df036aa/debian/rules	2020-10-22 15:42:02.000000000 +0200
+++ seriation-0.1+git20200810.df036aa/debian/rules	2020-10-24 11:51:19.000000000 +0200
@@ -4,6 +4,7 @@
 export LC_ALL=C.UTF-8
 
 include /usr/share/dpkg/default.mk
+-include /usr/share/dpkg/buildtools.mk
 
 %:
 	dh $@


More information about the Debian-med-packaging mailing list