Source: glyr
Version: 1.0.10-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

glyr successfully cross builds, but the resulting binary packages are
useless as they contain build architecture paths. The attached patch
fixes the confusion around build vs. host. Please refer to man
dpkg-architecture for their meaning and consider applying the attached
patch.

Helmut
diff --minimal -Nru glyr-1.0.10/debian/changelog glyr-1.0.10/debian/changelog
--- glyr-1.0.10/debian/changelog        2018-03-05 23:11:40.000000000 +0100
+++ glyr-1.0.10/debian/changelog        2018-11-11 21:08:44.000000000 +0100
@@ -1,3 +1,10 @@
+glyr (1.0.10-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix build/host confusion. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 11 Nov 2018 21:08:44 +0100
+
 glyr (1.0.10-1) unstable; urgency=medium
 
   * New upstream release.
diff --minimal -Nru glyr-1.0.10/debian/rules glyr-1.0.10/debian/rules
--- glyr-1.0.10/debian/rules    2018-03-05 23:05:03.000000000 +0100
+++ glyr-1.0.10/debian/rules    2018-11-11 21:08:42.000000000 +0100
@@ -1,4 +1,5 @@
 #!/usr/bin/make -f
+include /usr/share/dpkg/architecture.mk
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
@@ -6,7 +7,7 @@
        dh $@
 
 override_dh_auto_configure:
-       dh_auto_configure -- -DINSTALL_LIB_DIR=lib/$(DEB_BUILD_MULTIARCH)
+       dh_auto_configure -- -DINSTALL_LIB_DIR=lib/$(DEB_HOST_MULTIARCH)
 
 override_dh_auto_build:
        dh_auto_build

Reply via email to