On 2024-01-17, at 10:43:07 +0100, Helmut Grohne wrote:
> Source: iptables
> Version: 1.8.10-2
> Tags: patch
> User: debian-cr...@lists.debian.org
> Usertags: cross-satisfiability
> 
> iptables cannot be cross built from source, because it depends on
> python3. More precisely, it depends on the host architecture Python
> interpreter, which cannot be run and therefore cannot be installed. It
> really needs Python as a tool during build rather than to link it or
> integrate host code with and thus it should be annotated :any or
> :native. It also only needs Python for testing and thus it should be
> annotated <!nocheck>. Doing so immediately fixes the cross build
> failure. I'm attaching a patch for your convenience.
> 
> Helmut

> diff --minimal -Nru iptables-1.8.10/debian/changelog 
> iptables-1.8.10/debian/changelog
> --- iptables-1.8.10/debian/changelog  2024-01-11 14:08:21.000000000 +0100
> +++ iptables-1.8.10/debian/changelog  2024-01-17 10:04:33.000000000 +0100
> @@ -1,3 +1,11 @@
> +iptables (1.8.10-2.1) UNRELEASED; urgency=medium
> +
> +  * Non-maintainer upload.
> +  * Fix FTCBFS: Annotate python3 build dependency with :native and 
> <!nocheck>.
> +    (Closes: #-1)
> +
> + -- Helmut Grohne <hel...@subdivi.de>  Wed, 17 Jan 2024 10:04:33 +0100
> +
>  iptables (1.8.10-2) unstable; urgency=medium
>  
>    * [06f4121] d/control: use tracker.d.o address for `Maintainer:`
> diff --minimal -Nru iptables-1.8.10/debian/control 
> iptables-1.8.10/debian/control
> --- iptables-1.8.10/debian/control    2023-12-13 14:22:25.000000000 +0100
> +++ iptables-1.8.10/debian/control    2024-01-17 10:04:33.000000000 +0100
> @@ -11,7 +11,7 @@
>                 libnfnetlink-dev,
>                 libnftnl-dev (>= 1.1.6),
>                 netbase (>= 6.0),
> -               python3
> +               python3:native <!nocheck>
>  Standards-Version: 4.6.2
>  Rules-Requires-Root: no
>  Homepage: https://www.netfilter.org/

Applied.  Will upload shortly.

J.

Attachment: signature.asc
Description: PGP signature

Reply via email to