--- Begin Message ---
Source: mate-polkit
Version: 1.20.1-1
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap
mate-polkit successfully cross builds a completely broken package. The
multiarch directories use the build architecture triplet. The attached
patch fixes the build/host confusion. Please consider applying it.
Helmut
diff --minimal -Nru mate-polkit-1.20.1/debian/bin/mate-polkit.in mate-polkit-1.20.1/debian/bin/mate-polkit.in
--- mate-polkit-1.20.1/debian/bin/mate-polkit.in 2016-04-18 01:56:18.000000000 +0200
+++ mate-polkit-1.20.1/debian/bin/mate-polkit.in 2018-11-10 19:47:07.000000000 +0100
@@ -1,3 +1,3 @@
#!/bin/sh
-/usr/lib/@BUILD_ARCH@/polkit-mate/polkit-mate-authentication-agent-1 &
+/usr/lib/@DEB_HOST_MULTIARCH@/polkit-mate/polkit-mate-authentication-agent-1 &
diff --minimal -Nru mate-polkit-1.20.1/debian/changelog mate-polkit-1.20.1/debian/changelog
--- mate-polkit-1.20.1/debian/changelog 2018-07-05 18:31:46.000000000 +0200
+++ mate-polkit-1.20.1/debian/changelog 2018-11-10 19:47:50.000000000 +0100
@@ -1,3 +1,10 @@
+mate-polkit (1.20.1-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix build/host confusion. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Sat, 10 Nov 2018 19:47:50 +0100
+
mate-polkit (1.20.1-1) unstable; urgency=medium
* New upstream release.
diff --minimal -Nru mate-polkit-1.20.1/debian/rules mate-polkit-1.20.1/debian/rules
--- mate-polkit-1.20.1/debian/rules 2017-12-13 16:21:27.000000000 +0100
+++ mate-polkit-1.20.1/debian/rules 2018-11-10 19:47:48.000000000 +0100
@@ -1,5 +1,6 @@
#!/usr/bin/make -f
+include /usr/share/dpkg/architecture.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/utils.mk
@@ -20,9 +21,9 @@
DEB_CONFIGURE_EXTRA_FLAGS := --disable-silent-rules \
--localstatedir=/var \
- --libdir=/usr/lib/$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH) \
- --includedir=/usr/include/$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH) \
- --libexecdir=/usr/lib/$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH)/polkit-mate \
+ --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
+ --includedir=/usr/include/$(DEB_HOST_MULTIARCH) \
+ --libexecdir=/usr/lib/$(DEB_HOST_MULTIARCH)/polkit-mate \
--disable-silent-rules \
--disable-static \
--enable-gtk-doc
@@ -36,7 +37,7 @@
install-wrapper::
mkdir -p debian/tmp/usr/bin/
- cat debian/bin/mate-polkit.in | sed -e 's/@BUILD_ARCH@/$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH)/' > debian/tmp/usr/bin/mate-polkit
+ sed -e 's/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH)/' < debian/bin/mate-polkit.in > debian/tmp/usr/bin/mate-polkit
get-orig-source:
uscan --noconf --force-download --rename --download-current-version --destdir=..
--- End Message ---
--- Begin Message ---
Source: mate-polkit
Source-Version: 1.20.1-2
We believe that the bug you reported is fixed in the latest version of
mate-polkit, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 913416@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mike Gabriel <sunweaver@debian.org> (supplier of updated mate-polkit package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 11 Nov 2018 15:56:48 +0100
Source: mate-polkit
Binary: mate-polkit-bin mate-polkit mate-polkit-common
Architecture: source
Version: 1.20.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian+Ubuntu MATE Packaging Team <debian-mate@lists.debian.org>
Changed-By: Mike Gabriel <sunweaver@debian.org>
Description:
mate-polkit - MATE authentication agent for PolicyKit-1
mate-polkit-bin - MATE authentication agent for PolicyKit-1 (executable wrapper scr
mate-polkit-common - MATE authentication agent for PolicyKit-1 (common files)
Closes: 913416
Changes:
mate-polkit (1.20.1-2) unstable; urgency=medium
.
[ Helmut Grohne ]
* debian/rules: Fix build/host confusion. (Closes: #913416).
Checksums-Sha1:
212de2fef9d9ba2b8ecbe775797d80dae16d3840 2412 mate-polkit_1.20.1-2.dsc
1875b5f86a17ea962e4dcc07fa6073fc2068c770 9072 mate-polkit_1.20.1-2.debian.tar.xz
06a2ea87002296bd71640aeb9c0e7fef9f976852 15914 mate-polkit_1.20.1-2_source.buildinfo
Checksums-Sha256:
78515337ac4995059320e26441bca4ee5ecb2f334687f33ad3a260eb4b2b7a56 2412 mate-polkit_1.20.1-2.dsc
56415f8b5413c98a7dd8bb566b063cd7bc546be4ff728e9a532e806f9ed67918 9072 mate-polkit_1.20.1-2.debian.tar.xz
3b7ec8e3de2c1f4d3f9b2e5dc305bb51ed4701e01a3ea00a47140f839ee886d7 15914 mate-polkit_1.20.1-2_source.buildinfo
Files:
53ccfdde1b7c507cdd7cd44ce00d9264 2412 x11 optional mate-polkit_1.20.1-2.dsc
277fd610794be15f074b25bb89fe5555 9072 x11 optional mate-polkit_1.20.1-2.debian.tar.xz
55b8d835e9c940c934e076f8c12e47ed 15914 x11 optional mate-polkit_1.20.1-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJJBAEBCAAzFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAlvoRD0VHHN1bndlYXZl
ckBkZWJpYW4ub3JnAAoJEJr0azAldxsxVNkP/jpmzoWJ7OM3oHogy/uYHBOIpJyk
YQ+vbLxrLNW9KnDgclbVLpIlNXvztIekUTD3zM37fTL5bR1XIPTYaaqtyfKU/i/h
aKL1RIb6iF1UQ5sokhLarHgn/7mqR0zoNlucWsN51oG7mAh3WmPl2RjNXhAoTdph
TWMZSRBoc1rf0Bq+Bp55HreEVXK+tQKKJuP7lkYX+1xHs5H4NBMyx4VLTcssSrrj
n10YRj81ZakvBUbrV6LtdhVoTg7KfLFiU+aiaeYzISOq1ROPxAQ2Tzts3M5BDZbY
Qf2l2v2Pn3jzE9s6ND8Rod9/n/t9dOpLZNngtgYBIaUdDjZJDnRMZwfYN0b1+0jf
jjXW4C+vrAGVf3gLnRfMNYVAQbzemHe9D1aqTMfQuvmisAelsoAH/c0TIgNCrfij
Ve7LdA2y/9bccHWFbX8CEQUXeV5CzwkGL2dv5w1ON6qu3lOu+XJUETtXYrxbzX/T
YSlt4m6z0lRr6TlWntJ136dm2/gbCItaqR96+WNQ7R0RsmLaq39JEXTokQNhL3re
m6SSiz89AOq0N3v55TyA3ePVl45NT2X/J3Dsp5js9jB6QwyAC5hR9EpUPSLe5A6e
lul22jKRNOppV/9rIosilfUflH+L8r/n/k+UbaSzuIIBkHo44kUCQt5I1obOgOOV
GUBFsglhEhrj9PUR
=UaGs
-----END PGP SIGNATURE-----
--- End Message ---