[Pkg-dns-devel] Bug#840714: bind9 FTCBFS: python3 dependency, missing --host flags, bad configure checks, etc

Helmut Grohne helmut at subdivi.de
Wed Dec 13 19:01:57 UTC 2017


Control: tags -1 - moreinfo
Control: block -1 by 854438

On Wed, Dec 13, 2017 at 03:48:49PM +0100, Bernhard Schmidt wrote:
> Could you please test again with the current package in sid (new major
> upstream release, rules converted to debhelper) and report a new
> proposed diff?

Sure. The Build-Depends are not installable. I cannot even start
building and you seem to have figured that much.

> Unfortunately I have zero experience with cross-building. With this diff
> 
> +++ b/debian/control
> @@ -21,8 +21,8 @@ Build-Depends: bison,
>                 libssl-dev,
>                 libtool,
>                 libxml2-dev,
> -               python3,
> -               python3-ply
> +               python3:any,
> +               python3-ply:all
> 
> I get to the configure step building arm64 on amd64, then hell breaks
> lose.

Annotating python3 with :any is the right thing to do. The :all
annotation is not valid unfortunately. You are now suffering the famous
"multi-arch interpreter problem" with the new python3-ply dependency. I
have little options to fix. In theory, annotating it :native could work,
but dpkg disagrees with apt and dose on what that is supposed to mean,
so that doesn't work in practise (see #854438). Then we could apply the
"multi-arch interpreter workaround" to python3-ply, which means turning
python3-ply Architecture: any. This workaround is not universally liked.
I'm sorry, I don't have any good options now. This doesn't look fixable
with reasonable effort to me.

Helmut



More information about the pkg-dns-devel mailing list