Your message dated Wed, 31 Aug 2016 22:21:58 +0000
with message-id <[email protected]>
and subject line Bug#836072: fixed in dnsmasq 2.76-4
has caused the Debian Bug report #836072,
regarding dnsmasq FTCBFS: uses build architecture tools
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
836072: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836072
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: dnsmasq
Version: 2.76-3
Tags: patch
User: [email protected]
Usertags: rebootstrap
dnsmasq fails to cross build from source, because it uses build
architecture tools (e.g. gcc, pkg-config, strip) instead of triplet
prefixed tools. Adding those prefixes makes cross builds work and does
not affect native builds. Please consider applying the attached patch.
Helmut
diff -u dnsmasq-2.76/debian/changelog dnsmasq-2.76/debian/changelog
--- dnsmasq-2.76/debian/changelog
+++ dnsmasq-2.76/debian/changelog
@@ -1,3 +1,10 @@
+dnsmasq (2.76-3.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Use triplet-prefixed tools. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]> Tue, 30 Aug 2016 13:59:12 +0200
+
dnsmasq (2.76-3) unstable; urgency=medium
* Bump auth zone serial on SIGHUP. (closes: #833733)
diff -u dnsmasq-2.76/debian/rules dnsmasq-2.76/debian/rules
--- dnsmasq-2.76/debian/rules
+++ dnsmasq-2.76/debian/rules
@@ -24,8 +24,13 @@
TARGET = install-i18n
DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
BUILD_DATE := $(shell dpkg-parsechangelog --show-field Date)
+ifeq ($(origin CC),default)
+ CC = $(DEB_HOST_GNU_TYPE)-gcc
+endif
+
# Force package version based on git tags.
ifneq (,$(filter gitversion,$(DEB_BUILD_OPTIONS)))
PACKAGE_VERSION = $(shell bld/get-version `pwd` | sed 's/test/~&/;
s/[a-z]/~&/; s/-/./g; s/$$/-1/; s/^/-v/';)
@@ -138,7 +143,7 @@
-d debian/base/usr/share/doc/$(package)/examples \
-d debian/base/usr/share/$(package) \
-d debian/base/var/lib/misc
- make $(TARGET) PREFIX=/usr DESTDIR=`pwd`/debian/base CFLAGS="$(CFLAGS)"
LDFLAGS="$(LDFLAGS)" COPTS="$(DEB_COPTS)" CC=gcc
+ make $(TARGET) PREFIX=/usr DESTDIR=`pwd`/debian/base CFLAGS="$(CFLAGS)"
LDFLAGS="$(LDFLAGS)" COPTS="$(DEB_COPTS)" CC=$(CC)
PKG_CONFIG=$(DEB_HOST_GNU_TYPE)-pkg-config
ifeq (,$(findstring nodocs,$(DEB_BUILD_OPTIONS)))
# Need to remove paypal links in Debian Package for policy reasons.
sed -e /\<H2\>Donations/Q -e /icon.png/d doc.html -e /favicon.ico/d
>debian/base/usr/share/doc/$(package)/doc.html
@@ -170,7 +175,7 @@
fi \
done
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
- strip -R .note -R .comment debian/base/usr/sbin/dnsmasq
+ $(DEB_HOST_GNU_TYPE)-strip -R .note -R .comment
debian/base/usr/sbin/dnsmasq
endif
cd debian/base && find . -type f ! -regex '.*DEBIAN/.*' -printf '%P\0'
| LC_ALL=C sort -z | xargs -r0 md5sum > DEBIAN/md5sums
dpkg-shlibdeps --warnings=1 debian/base/usr/sbin/dnsmasq
@@ -186,7 +191,7 @@
-d debian/utils/usr/share/man/man1 \
-d debian/utils/usr/bin \
-d debian/utils/usr/share/doc/dnsmasq-utils
- make -C contrib/lease-tools PREFIX=/usr DESTDIR=`pwd`/debian/utils
CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" COPTS="$(DEB_COPTS)" CC=gcc
+ make -C contrib/lease-tools PREFIX=/usr DESTDIR=`pwd`/debian/utils
CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" COPTS="$(DEB_COPTS)" CC=$(CC)
PKG_CONFIG=$(DEB_HOST_GNU_TYPE)-pkg-config
install -m 755 contrib/lease-tools/dhcp_release
debian/utils/usr/bin/dhcp_release
install -m 644 contrib/lease-tools/dhcp_release.1
debian/utils/usr/share/man/man1/dhcp_release.1
gzip -9n debian/utils/usr/share/man/man1/dhcp_release.1
@@ -200,8 +205,8 @@
gzip -9n debian/utils/usr/share/doc/dnsmasq-utils/changelog.Debian
gzip -9n debian/utils/usr/share/man/man1/dhcp_lease_time.1
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
- strip -R .note -R .comment debian/utils/usr/bin/dhcp_release
- strip -R .note -R .comment debian/utils/usr/bin/dhcp_lease_time
+ $(DEB_HOST_GNU_TYPE)-strip -R .note -R .comment
debian/utils/usr/bin/dhcp_release
+ $(DEB_HOST_GNU_TYPE)-strip -R .note -R .comment
debian/utils/usr/bin/dhcp_lease_time
endif
cd debian/utils && find . -type f ! -regex '.*DEBIAN/.*' -printf '%P\0'
| LC_ALL=C sort -z | xargs -r0 md5sum > DEBIAN/md5sums
dpkg-shlibdeps -Tdebian/utils-substvars
debian/utils/usr/bin/dhcp_release debian/utils/usr/bin/dhcp_lease_time
--- End Message ---
--- Begin Message ---
Source: dnsmasq
Source-Version: 2.76-4
We believe that the bug you reported is fixed in the latest version of
dnsmasq, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Helmut Grohne <[email protected]> (supplier of updated dnsmasq 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 30 Aug 2016 13:59:12 +0200
Source: dnsmasq
Binary: dnsmasq dnsmasq-base dnsmasq-utils
Architecture: source amd64 all
Version: 2.76-4
Distribution: unstable
Urgency: medium
Maintainer: Simon Kelley <[email protected]>
Changed-By: Helmut Grohne <[email protected]>
Description:
dnsmasq - Small caching DNS proxy and DHCP/TFTP server
dnsmasq-base - Small caching DNS proxy and DHCP/TFTP server
dnsmasq-utils - Utilities for manipulating DHCP leases
Closes: 836072
Changes:
dnsmasq (2.76-4) unstable; urgency=medium
.
* Non-maintainer upload.
* Fix FTCBFS: Use triplet-prefixed tools. (closes: #836072)
Checksums-Sha1:
d7d98ef6b3f2c63c153eb1a56d7a4cd258939dfa 1862 dnsmasq_2.76-4.dsc
7819e2b0046b773392e02374779705f4508df8d6 22925 dnsmasq_2.76-4.diff.gz
db48928a0eb47b35a4e68013ec750769517dd377 419216 dnsmasq-base_2.76-4_amd64.deb
f140451f8f0c368d37ca2a70645decc833dd21b2 32668 dnsmasq-utils_2.76-4_amd64.deb
7ba348033e2cf2478b21e3c5c0d0534cdc3639e5 15932 dnsmasq_2.76-4_all.deb
Checksums-Sha256:
f1f55090a8fb79f75cb9bd7610542fd154055a5dc458160e5ab13d956cd28518 1862
dnsmasq_2.76-4.dsc
9b0acd59f1d6f00d1dac1a08f6ea7122bd6fa7d79a95490f26d7dbbec28a7b97 22925
dnsmasq_2.76-4.diff.gz
5bf3f47b1c4099b3f2c9718a76b2ca9c9779f61181f52d48552ba0aa50d4fdcc 419216
dnsmasq-base_2.76-4_amd64.deb
26a6592d670ec50abda47f70b8e99f1c41328918b7dcdf53f3c7fb433d15d280 32668
dnsmasq-utils_2.76-4_amd64.deb
7c1c52d40ae99110af7429f36c3268890f75bd96e92c83a7c5a1ba3722ba151c 15932
dnsmasq_2.76-4_all.deb
Files:
cf19dfcc2f610e7c919e122d795d3bb4 1862 net optional dnsmasq_2.76-4.dsc
954ba3f2dc6455fb3f3ff9e1cba93c1f 22925 net optional dnsmasq_2.76-4.diff.gz
551e7b2b2e8504fbc337e4488676a03a 419216 net optional
dnsmasq-base_2.76-4_amd64.deb
e6c74e98bcfb9d196559fe7445cc8941 32668 net optional
dnsmasq-utils_2.76-4_amd64.deb
a359338a207f6f742a471e49af457ec2 15932 net optional dnsmasq_2.76-4_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJXx0+dAAoJEBXN2mrhkTWienYQAJN9mhymYpf0aUytFU7jf+kC
Y03HgHNDQ5OvARAsP54J1OMT7Pai4WS6qVbfii7A+zdwaHsh3jNOTDErDNy0Ox/8
UvResiY/haOjRlUgsmMCYXr1q2kkmhxBTOL+wISVknm73pkjEqWgZaa1Mg5Jlx5D
EELbpiZHSKjQwSEOqJiI7MFteetPFEXU00jhEvS5yEbt1bAxMSpMcxFIiF86fsuq
gZVxgqDc5btjF8fR5yCLtx1/nTsoq4jqBml2CMt4DabGZl53YAU5XvypgaKthqEa
HSuurlKv+IngHOw4wRvi+RnDUjUz9utIpglxaK8nimAvmZVm4/iTm/CinEYXXUrj
w/pId2xZuveKlrzsM52nHYntzX0dsuE5zOw20UBpj7Utq5/99OxXO0hMFr8jtYCY
qYz+RZzW3n2r+8YgEFXRMmgUrbHALJq6t9Z2yX+BfvW0lcs6clks0ZoauR1So3EF
AR14p842undTameG2sbo5H435x8Xi/qGOu/QprAviTepcv1bhQ9fV1FlFfUQ3cox
K6jsb/oVk8f7f0QixtG4O1Am6Anc563KId9D2KY/BM5fZSh4hjlx0laeDkRG30qS
BpTkyWT96ZpWI0h2DCznJFlm0zTbNBppcMo7YhSQ8Avmn6NioC2QF77tvoJCmzVB
67GUH26KVkdVrVy5auQW
=gDwx
-----END PGP SIGNATURE-----
--- End Message ---