Source: holdingnuts
Version: 0.0.5-4
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

holdingnuts fails to cross build from source, because it wrongly
constructs dh's builddirectory and thus fails installing from a
non-existent directory. The attached patch fixes that and makes
holdingnuts cross buildable. Please consider applying it.

Helmut
diff --minimal -Nru holdingnuts-0.0.5/debian/changelog 
holdingnuts-0.0.5/debian/changelog
--- holdingnuts-0.0.5/debian/changelog  2012-02-23 13:23:05.000000000 +0100
+++ holdingnuts-0.0.5/debian/changelog  2019-02-24 09:35:50.000000000 +0100
@@ -1,3 +1,10 @@
+holdingnuts (0.0.5-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Correctly construct dh's builddirectory. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 24 Feb 2019 09:35:50 +0100
+
 holdingnuts (0.0.5-4) unstable; urgency=low
 
   * [92a4358b] Migrated from subversion to git on collab-maint
diff --minimal -Nru holdingnuts-0.0.5/debian/rules 
holdingnuts-0.0.5/debian/rules
--- holdingnuts-0.0.5/debian/rules      2012-02-23 13:16:43.000000000 +0100
+++ holdingnuts-0.0.5/debian/rules      2019-02-24 09:35:49.000000000 +0100
@@ -7,7 +7,8 @@
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed -Wl,-z,defs
 
 # builddirectory constructed by dh
-BDIR = "obj-$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)"
+include /usr/share/dpkg/architecture.mk
+BDIR = "obj-$(DEB_HOST_GNU_TYPE)"
 
 %:
        dh $@ --parallel

Reply via email to