Your message dated Sun, 27 Nov 2016 21:10:49 +0000
with message-id <[email protected]>
and subject line Bug#845941: fixed in unbound 1.5.10-3
has caused the Debian Bug report #845941,
regarding unbound FTCBFS: uninstallable python Build-Depends, configures for 
the build architecture
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.)


-- 
845941: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845941
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: unbound
Version: 1.5.10-2
Tags: patch
User: [email protected]
Usertags: rebootstrap

unbound fails to cross build from source for a number of reasons. First
of all, its python Build-Depends are not installable as Python cannot be
installed for foreign architectures (its postinst fails). What is needed
here is not a host architecture Python, but a build architecture Python
and host architecture Python development files.

Secondly, it configures for the build architecture, because none of the
explicit ./configure invocations carry the necessary --host flag.
Indirecting them through dh_auto_configure fixes that as debhelper knows
when to pass --host.

And the final problem is #840080 and not fixable in unbound. I expect it
to be fixed in a week.

Can you apply the attached patch?

Helmut
--- unbound-1.5.10/debian/changelog
+++ unbound-1.5.10/debian/changelog
@@ -1,3 +1,11 @@
+unbound (1.5.10-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Convert python Build-Depends to cross-friendly ones.
+    + Let dh_auto_configure pass --host to ./configure.
+
+ -- Helmut Grohne <[email protected]>  Thu, 27 Nov 2016 07:07:27 +0100
+
 unbound (1.5.10-2) unstable; urgency=medium
 
   * debian/unbound.install: Install usr/sbin/unbound-checkconf
--- unbound-1.5.10/debian/control
+++ unbound-1.5.10/debian/control
@@ -24,8 +24,10 @@
  nettle-dev,
  pkg-config,
  protobuf-c-compiler,
- python-all-dev (>= 2.6.6-3~),
- python3-all-dev,
+ python-all-dev:any (>= 2.6.6-3~),
+ libpython-all-dev (>= 2.6.6-3~),
+ python3-all-dev:any,
+ libpython3-all-dev,
  swig,
 Standards-Version: 3.9.8
 Homepage: https://www.unbound.net/
--- unbound-1.5.10/debian/rules
+++ unbound-1.5.10/debian/rules
@@ -30,9 +30,7 @@
        # first build -- build unbound daemon
        PYTHON_VERSION="$(shell py3versions -vd)" \
        CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="-Wl,--as-needed 
$(LDFLAGS)" \
-               ./configure \
-               --prefix=/usr \
-               --sysconfdir=/etc \
+               dh_auto_configure -- \
                --disable-rpath \
                --with-pidfile=/run/unbound.pid \
                --with-rootkey-file=/var/lib/unbound/root.key \
@@ -40,6 +38,7 @@
                --with-pythonmodule \
                --enable-dnstap \
                --with-dnstap-socket-path=/run/dnstap.sock \
+               --libdir=/usr/lib \
                $(CONFIGURE_ARGS)
        $(MAKE)
        $(MAKE) install DESTDIR="$(CURDIR)/debian/tmp"
@@ -47,9 +46,7 @@
 
        # second build -- build libunbound only, against nettle
        CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="-Wl,--as-needed 
$(LDFLAGS)" \
-               ./configure \
-               --prefix=/usr \
-               --sysconfdir=/etc \
+               dh_auto_configure -- \
                --disable-rpath \
                --with-libunbound-only \
                --with-nettle \
@@ -57,7 +54,6 @@
                --without-libevent \
                --without-pythonmodule \
                --without-pyunbound \
-               --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
                $(CONFIGURE_ARGS)
        $(MAKE)
        $(MAKE) install DESTDIR="$(CURDIR)/debian/tmp-lib"
@@ -68,8 +64,7 @@
        # third build - pyunbound for Python 2
        PYTHON_VERSION="$(shell pyversions -vd)" \
        CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="-Wl,--as-needed 
$(LDFLAGS)" \
-               ./configure \
-               --prefix=/usr \
+               dh_auto_configure -- \
                --disable-rpath \
                --with-pythonmodule \
                --with-pyunbound \
@@ -86,8 +81,7 @@
        # fourth build - pyunbound for Python 3
        PYTHON_VERSION="$(shell py3versions -vd)" \
        CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="-Wl,--as-needed 
$(LDFLAGS)" \
-               ./configure \
-               --prefix=/usr \
+               dh_auto_configure -- \
                --disable-rpath \
                --with-pythonmodule \
                --with-pyunbound \

--- End Message ---
--- Begin Message ---
Source: unbound
Source-Version: 1.5.10-3

We believe that the bug you reported is fixed in the latest version of
unbound, 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.
Robert Edmonds <[email protected]> (supplier of updated unbound 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: Sun, 27 Nov 2016 14:41:30 -0500
Source: unbound
Binary: libunbound-dev libunbound2 python-unbound python3-unbound unbound 
unbound-anchor unbound-host
Architecture: source
Version: 1.5.10-3
Distribution: unstable
Urgency: medium
Maintainer: Debian DNS Packaging <[email protected]>
Changed-By: Robert Edmonds <[email protected]>
Description:
 libunbound-dev - static library, header files, and docs for libunbound
 libunbound2 - library implementing DNS resolution and validation
 python-unbound - library implementing DNS resolution and validation (Python 
bindin
 python3-unbound - library implementing DNS resolution and validation (Python3 
bindi
 unbound    - validating, recursive, caching DNS resolver
 unbound-anchor - utility to securely fetch the root DNS trust anchor
 unbound-host - reimplementation of the 'host' command
Closes: 845941
Changes:
 unbound (1.5.10-3) unstable; urgency=medium
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: (Closes: #845941)
     + Convert python Build-Depends to cross-friendly ones.
     + Let dh_auto_configure pass --host to ./configure.
Checksums-Sha1:
 43dc3a5f33c84167bd666e4eceadef0b5bf73204 2607 unbound_1.5.10-3.dsc
 dea1852a3bd7fd6141bf6898ff66cece514e45cb 15788 unbound_1.5.10-3.debian.tar.xz
Checksums-Sha256:
 abbb93cdbe90645b992d06f1704dcc7e34ab99390c5886889fce668868e9b30f 2607 
unbound_1.5.10-3.dsc
 cdc45902ed920ef5c93fcebced75d67db0bd6119ddcd18fc5981ae87418668c4 15788 
unbound_1.5.10-3.debian.tar.xz
Files:
 accbf00ebda9ace4b6e6f0c9d6f53b53 2607 net optional unbound_1.5.10-3.dsc
 510293343d7f069b6b77b652751fa0e0 15788 net optional 
unbound_1.5.10-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE3z2W7rOCeCDzAmZcAYF6sKr2za4FAlg7ObAACgkQAYF6sKr2
za647RAAuP/nPvq0J9NsFHp58sTD2SvmEQKBkbCWPLElmrzQ26PLoy5ly5l/Xe+W
END83KrpJhMtXkAZDLzwq8mUrTixX063uBF1ALBoCaY63k/4Orj75H3Op9GTJOBM
QyyO6QM3Uztl4WciHH8L/srFTiZtGkW9QTuPurQsVZc12FZfeEdud63Ts7I8DdEC
zFIzp78o5Y1Ew9n9QvDUIiJzNujYhF4Pyw7an4DpDKhrXPHerjXlEu5fls+/S8g1
IpbWhI2RlW4TTeDzF4vGwGhnml3zQaJ7/NxsI6ZG/w8fS9XAf/4EamhmsVQIkR9H
HC+ZaF8ZWa4eFBXibVY6E2BhC6yKix/FRwqheW5cvAktUMcsw4/srOLS+fZFmUBV
0bS93npyPAFFNYbpMEIc6pYGGdesmbiZr6kzM46vSXyM1K+xoElQhzgV2jG3sT7b
iQWUOFpysjAT9VAn+HEZNjeJtFpyp72hXpiLjQmjamYVSaWyg4s23/xOPL6YGfy5
m13VSR4TMX5qhc7+hlS9TNmSq32J1rBSWTnmXdbbo0XWHbSlhxW6iCVl2nAFQ8Mm
Mh8VKjbWBZW25i5reCQ2zpDbDy31lvdY6xh449TXDIVmSdq93RkmHSSL/k5Qe1n+
GyXkez1wREDH47UIkf0445dgc5g2/VdoFPKG2QmVbpx7J9dTsVc=
=o7Jp
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to