Bug#1061069: iptables FTCBFS: python3 dependency not installable for host

2024-01-17 Thread Jeremy Sowden
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 . 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.0 +0100
> +++ iptables-1.8.10/debian/changelog  2024-01-17 10:04:33.0 +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 
> .
> +(Closes: #-1)
> +
> + -- Helmut Grohne   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/control2023-12-13 14:22:25.0 +0100
> +++ iptables-1.8.10/debian/control2024-01-17 10:04:33.0 +0100
> @@ -11,7 +11,7 @@
> libnfnetlink-dev,
> libnftnl-dev (>= 1.1.6),
> netbase (>= 6.0),
> -   python3
> +   python3:native 
>  Standards-Version: 4.6.2
>  Rules-Requires-Root: no
>  Homepage: https://www.netfilter.org/

Applied.  Will upload shortly.

J.


signature.asc
Description: PGP signature


Bug#1061069: iptables FTCBFS: python3 dependency not installable for host

2024-01-17 Thread Helmut Grohne
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 . 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/changelog2024-01-11 14:08:21.0 +0100
+++ iptables-1.8.10/debian/changelog2024-01-17 10:04:33.0 +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 .
+(Closes: #-1)
+
+ -- Helmut Grohne   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.0 +0100
+++ iptables-1.8.10/debian/control  2024-01-17 10:04:33.0 +0100
@@ -11,7 +11,7 @@
libnfnetlink-dev,
libnftnl-dev (>= 1.1.6),
netbase (>= 6.0),
-   python3
+   python3:native 
 Standards-Version: 4.6.2
 Rules-Requires-Root: no
 Homepage: https://www.netfilter.org/