Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package iptables for openSUSE:Factory checked in at 2026-11-16 09:07:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/iptables (Old) and /work/SRC/openSUSE:Factory/.iptables.new.1251 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "iptables" Mon Nov 16 09:07:24 2026 rev:91 rq:1397068 version:1.8.13 Changes: -------- --- /work/SRC/openSUSE:Factory/iptables/iptables.changes 2026-03-05 17:13:09.433684470 +0100 +++ /work/SRC/openSUSE:Factory/.iptables.new.1251/iptables.changes 2026-11-16 09:11:05.834406501 +0100 @@ -1,0 +2,6 @@ +Tue Nov 10 09:26:03 UTC 2026 - Guillaume GARDET <[email protected]> + +- Add upstream patch to fix build on aarch64 with kernel 7.3+: + * iptables-fix-aarch64.patch + +------------------------------------------------------------------- New: ---- iptables-fix-aarch64.patch ----------(New B)---------- New:- Add upstream patch to fix build on aarch64 with kernel 7.3+: * iptables-fix-aarch64.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ iptables.spec ++++++ --- /var/tmp/diff_new_pack.fxofkg/_old 2026-11-16 09:11:06.768445660 +0100 +++ /var/tmp/diff_new_pack.fxofkg/_new 2026-11-16 09:11:06.770445744 +0100 @@ -43,6 +43,7 @@ Patch1: iptables-batch.patch Patch2: iptables-batch-lock.patch Patch3: iptables-1.8.2-dont_read_garbage.patch +Patch4: iptables-fix-aarch64.patch BuildRequires: bison BuildRequires: fdupes BuildRequires: flex >= 2.5.33 ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.fxofkg/_old 2026-11-16 09:11:06.798446918 +0100 +++ /var/tmp/diff_new_pack.fxofkg/_new 2026-11-16 09:11:06.801447044 +0100 @@ -1,5 +1,5 @@ -mtime: 1772627301 -commit: 13966eb051e86ecd619296033cd8f31073f5ea15388a3febbe50218d51d1d3fb +mtime: 1794471188 +commit: 39d4091ef9613177bc88d7f213c6c1afdbcfb1bd27e2b28c8c74ac4fd37cb390 url: https://src.opensuse.org/jengelh/iptables revision: master ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/iptables-fix-aarch64.patch new/iptables-fix-aarch64.patch --- old/iptables-fix-aarch64.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/iptables-fix-aarch64.patch 2026-11-12 09:13:08.000000000 +0100 @@ -0,0 +1,91 @@ +From 4ff539651269640ebaa912e256e671aacfb977b7 Mon Sep 17 00:00:00 2001 +From: Yegor Yefremov <[email protected]> +Date: Sat, 24 Oct 2026 15:55:09 +0200 +Subject: include: linux: drop bundled copy of types.h + +The bundled include/linux/types.h is a copy of the kernel UAPI header +from v3.1-rc3. Since the build uses -I../include, it shadows the system +<linux/types.h>. + +Kernel UAPI headers v7.3 changed arm64's asm/sigcontext.h, included via +<signal.h>, to use the __u128 type from linux/types.h: + + - __uint128_t vregs[32]; + + __u128 vregs[32]; + +The stale copy lacks __u128, so the build fails on arm64: + + asm/sigcontext.h:81:9: error: unknown type name '__u128'; did you mean '__u32'? + +The system header provides everything the bundled copy did (the +__aligned_u64 and __sum16 types used by iptables have been available +since well before v3.10), so drop it, as was done for ebtables. + +Link: https://lore.kernel.org/netfilter-devel/CAD04=wrzafkknwixggrzwtyd_ydfdl4uk39s_rkwz6wueva...@mail.gmail.com/ +Signed-off-by: Yegor Yefremov <[email protected]> +Signed-off-by: Florian Westphal <[email protected]> +--- + include/linux/types.h | 51 --------------------------------------------------- + 1 file changed, 51 deletions(-) + delete mode 100644 include/linux/types.h + +diff --git a/include/linux/types.h b/include/linux/types.h +deleted file mode 100644 +index 630cd3bb..00000000 +--- a/include/linux/types.h ++++ /dev/null +@@ -1,51 +0,0 @@ +-#ifndef _LINUX_TYPES_H +-#define _LINUX_TYPES_H +- +-#include <asm/types.h> +- +-#ifndef __ASSEMBLY__ +- +-#include <linux/posix_types.h> +- +- +-/* +- * Below are truly Linux-specific types that should never collide with +- * any application/library that wants linux/types.h. +- */ +- +-#ifdef __CHECKER__ +-#define __bitwise__ __attribute__((bitwise)) +-#else +-#define __bitwise__ +-#endif +-#ifdef __CHECK_ENDIAN__ +-#define __bitwise __bitwise__ +-#else +-#define __bitwise +-#endif +- +-typedef __u16 __bitwise __le16; +-typedef __u16 __bitwise __be16; +-typedef __u32 __bitwise __le32; +-typedef __u32 __bitwise __be32; +-typedef __u64 __bitwise __le64; +-typedef __u64 __bitwise __be64; +- +-typedef __u16 __bitwise __sum16; +-typedef __u32 __bitwise __wsum; +- +-/* +- * aligned_u64 should be used in defining kernel<->userspace ABIs to avoid +- * common 32/64-bit compat problems. +- * 64-bit values align to 4-byte boundaries on x86_32 (and possibly other +- * architectures) and to 8-byte boundaries on 64-bit architetures. The new +- * aligned_64 type enforces 8-byte alignment so that structs containing +- * aligned_64 values have the same alignment on 32-bit and 64-bit architectures. +- * No conversions are necessary between 32-bit user-space and a 64-bit kernel. +- */ +-#define __aligned_u64 __u64 __attribute__((aligned(8))) +-#define __aligned_be64 __be64 __attribute__((aligned(8))) +-#define __aligned_le64 __le64 __attribute__((aligned(8))) +- +-#endif /* __ASSEMBLY__ */ +-#endif /* _LINUX_TYPES_H */ +-- +cgit v1.2.3 + ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-11-12 09:13:08.000000000 +0100 @@ -0,0 +1 @@ +.osc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/iptables-fix-aarch64.patch new/iptables-fix-aarch64.patch --- old/iptables-fix-aarch64.patch 1970-01-01 01:00:00.000000000 +0100 +++ new/iptables-fix-aarch64.patch 2026-11-12 09:13:08.000000000 +0100 @@ -0,0 +1,91 @@ +From 4ff539651269640ebaa912e256e671aacfb977b7 Mon Sep 17 00:00:00 2001 +From: Yegor Yefremov <[email protected]> +Date: Sat, 24 Oct 2026 15:55:09 +0200 +Subject: include: linux: drop bundled copy of types.h + +The bundled include/linux/types.h is a copy of the kernel UAPI header +from v3.1-rc3. Since the build uses -I../include, it shadows the system +<linux/types.h>. + +Kernel UAPI headers v7.3 changed arm64's asm/sigcontext.h, included via +<signal.h>, to use the __u128 type from linux/types.h: + + - __uint128_t vregs[32]; + + __u128 vregs[32]; + +The stale copy lacks __u128, so the build fails on arm64: + + asm/sigcontext.h:81:9: error: unknown type name '__u128'; did you mean '__u32'? + +The system header provides everything the bundled copy did (the +__aligned_u64 and __sum16 types used by iptables have been available +since well before v3.10), so drop it, as was done for ebtables. + +Link: https://lore.kernel.org/netfilter-devel/CAD04=wrzafkknwixggrzwtyd_ydfdl4uk39s_rkwz6wueva...@mail.gmail.com/ +Signed-off-by: Yegor Yefremov <[email protected]> +Signed-off-by: Florian Westphal <[email protected]> +--- + include/linux/types.h | 51 --------------------------------------------------- + 1 file changed, 51 deletions(-) + delete mode 100644 include/linux/types.h + +diff --git a/include/linux/types.h b/include/linux/types.h +deleted file mode 100644 +index 630cd3bb..00000000 +--- a/include/linux/types.h ++++ /dev/null +@@ -1,51 +0,0 @@ +-#ifndef _LINUX_TYPES_H +-#define _LINUX_TYPES_H +- +-#include <asm/types.h> +- +-#ifndef __ASSEMBLY__ +- +-#include <linux/posix_types.h> +- +- +-/* +- * Below are truly Linux-specific types that should never collide with +- * any application/library that wants linux/types.h. +- */ +- +-#ifdef __CHECKER__ +-#define __bitwise__ __attribute__((bitwise)) +-#else +-#define __bitwise__ +-#endif +-#ifdef __CHECK_ENDIAN__ +-#define __bitwise __bitwise__ +-#else +-#define __bitwise +-#endif +- +-typedef __u16 __bitwise __le16; +-typedef __u16 __bitwise __be16; +-typedef __u32 __bitwise __le32; +-typedef __u32 __bitwise __be32; +-typedef __u64 __bitwise __le64; +-typedef __u64 __bitwise __be64; +- +-typedef __u16 __bitwise __sum16; +-typedef __u32 __bitwise __wsum; +- +-/* +- * aligned_u64 should be used in defining kernel<->userspace ABIs to avoid +- * common 32/64-bit compat problems. +- * 64-bit values align to 4-byte boundaries on x86_32 (and possibly other +- * architectures) and to 8-byte boundaries on 64-bit architetures. The new +- * aligned_64 type enforces 8-byte alignment so that structs containing +- * aligned_64 values have the same alignment on 32-bit and 64-bit architectures. +- * No conversions are necessary between 32-bit user-space and a 64-bit kernel. +- */ +-#define __aligned_u64 __u64 __attribute__((aligned(8))) +-#define __aligned_be64 __be64 __attribute__((aligned(8))) +-#define __aligned_le64 __le64 __attribute__((aligned(8))) +- +-#endif /* __ASSEMBLY__ */ +-#endif /* _LINUX_TYPES_H */ +-- +cgit v1.2.3 + ++++++ iptables-fix-aarch64.patch ++++++ >From 4ff539651269640ebaa912e256e671aacfb977b7 Mon Sep 17 00:00:00 2001 From: Yegor Yefremov <[email protected]> Date: Sat, 24 Oct 2026 15:55:09 +0200 Subject: include: linux: drop bundled copy of types.h The bundled include/linux/types.h is a copy of the kernel UAPI header from v3.1-rc3. Since the build uses -I../include, it shadows the system <linux/types.h>. Kernel UAPI headers v7.3 changed arm64's asm/sigcontext.h, included via <signal.h>, to use the __u128 type from linux/types.h: - __uint128_t vregs[32]; + __u128 vregs[32]; The stale copy lacks __u128, so the build fails on arm64: asm/sigcontext.h:81:9: error: unknown type name '__u128'; did you mean '__u32'? The system header provides everything the bundled copy did (the __aligned_u64 and __sum16 types used by iptables have been available since well before v3.10), so drop it, as was done for ebtables. Link: https://lore.kernel.org/netfilter-devel/CAD04=wrzafkknwixggrzwtyd_ydfdl4uk39s_rkwz6wueva...@mail.gmail.com/ Signed-off-by: Yegor Yefremov <[email protected]> Signed-off-by: Florian Westphal <[email protected]> --- include/linux/types.h | 51 --------------------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 include/linux/types.h diff --git a/include/linux/types.h b/include/linux/types.h deleted file mode 100644 index 630cd3bb..00000000 --- a/include/linux/types.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef _LINUX_TYPES_H -#define _LINUX_TYPES_H - -#include <asm/types.h> - -#ifndef __ASSEMBLY__ - -#include <linux/posix_types.h> - - -/* - * Below are truly Linux-specific types that should never collide with - * any application/library that wants linux/types.h. - */ - -#ifdef __CHECKER__ -#define __bitwise__ __attribute__((bitwise)) -#else -#define __bitwise__ -#endif -#ifdef __CHECK_ENDIAN__ -#define __bitwise __bitwise__ -#else -#define __bitwise -#endif - -typedef __u16 __bitwise __le16; -typedef __u16 __bitwise __be16; -typedef __u32 __bitwise __le32; -typedef __u32 __bitwise __be32; -typedef __u64 __bitwise __le64; -typedef __u64 __bitwise __be64; - -typedef __u16 __bitwise __sum16; -typedef __u32 __bitwise __wsum; - -/* - * aligned_u64 should be used in defining kernel<->userspace ABIs to avoid - * common 32/64-bit compat problems. - * 64-bit values align to 4-byte boundaries on x86_32 (and possibly other - * architectures) and to 8-byte boundaries on 64-bit architetures. The new - * aligned_64 type enforces 8-byte alignment so that structs containing - * aligned_64 values have the same alignment on 32-bit and 64-bit architectures. - * No conversions are necessary between 32-bit user-space and a 64-bit kernel. - */ -#define __aligned_u64 __u64 __attribute__((aligned(8))) -#define __aligned_be64 __be64 __attribute__((aligned(8))) -#define __aligned_le64 __le64 __attribute__((aligned(8))) - -#endif /* __ASSEMBLY__ */ -#endif /* _LINUX_TYPES_H */ -- cgit v1.2.3
