Bug#913518: brisk-menu: successfully cross builds a broken package
Source: brisk-menu
Version: 0.5.0-8
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap
brisk-menu 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 brisk-menu-0.5.0/debian/changelog brisk-menu-0.5.0/debian/changelog
--- brisk-menu-0.5.0/debian/changelog 2018-10-01 10:05:05.000000000 +0200
+++ brisk-menu-0.5.0/debian/changelog 2018-11-11 21:04:51.000000000 +0100
@@ -1,3 +1,10 @@
+brisk-menu (0.5.0-8.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix build/host confusion. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Sun, 11 Nov 2018 21:04:51 +0100
+
brisk-menu (0.5.0-8) unstable; urgency=medium
[ Martin Wimpress ]
diff --minimal -Nru brisk-menu-0.5.0/debian/rules brisk-menu-0.5.0/debian/rules
--- brisk-menu-0.5.0/debian/rules 2018-01-19 23:26:19.000000000 +0100
+++ brisk-menu-0.5.0/debian/rules 2018-11-11 21:04:49.000000000 +0100
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+include /usr/share/dpkg/architecture.mk
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
@@ -14,7 +15,7 @@
override_dh_auto_configure:
dh_auto_configure -- \
- --libexecdir=/usr/lib/$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH)/brisk-menu/
+ --libexecdir=/usr/lib/$(DEB_HOST_MULTIARCH)/brisk-menu/
common-binary-post-install-arch:: list-missing
Reply to: