[pkg-cryptsetup-devel] Bug#911042: ftcbfs

Helmut Grohne helmut at subdivi.de
Mon Oct 15 05:30:33 BST 2018


Source: cryptsetup
Version: 2:2.0.4-2
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

cryptsetup fails to cross build from source, because debian/rules uses
the build architecture compiler for building askpass via the make
default of $(CC). Including dpkg's buildtools.mk supplies a default that
works for cross compilation. After doing so, cryptsetup cross builds
successfully. Please consider applying the attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru cryptsetup-2.0.4/debian/changelog cryptsetup-2.0.4/debian/changelog
--- cryptsetup-2.0.4/debian/changelog	2018-08-07 17:25:30.000000000 +0200
+++ cryptsetup-2.0.4/debian/changelog	2018-10-15 06:27:13.000000000 +0200
@@ -1,3 +1,10 @@
+cryptsetup (2:2.0.4-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Supply $(CC) from dpkg's buildtools.mk. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Mon, 15 Oct 2018 06:27:13 +0200
+
 cryptsetup (2:2.0.4-2) unstable; urgency=medium
 
   * debian/cryptsetup-initramfs.preinst: Don't try to overwrite
diff --minimal -Nru cryptsetup-2.0.4/debian/rules cryptsetup-2.0.4/debian/rules
--- cryptsetup-2.0.4/debian/rules	2018-08-07 17:25:30.000000000 +0200
+++ cryptsetup-2.0.4/debian/rules	2018-10-15 06:27:11.000000000 +0200
@@ -7,6 +7,7 @@
 export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow,+pie
 DEB_CFLAGS_MAINT_APPEND = -Wall
 include /usr/share/dpkg/architecture.mk
+-include /usr/share/dpkg/buildtools.mk
 
 CONFFLAGS =
 


More information about the pkg-cryptsetup-devel mailing list