package/ebtables: disable sparc64 target

Commit c5d6cde7b6 ("package/ebtables: remove KERNEL_64_USERSPACE_32
workaround") fixed build with GCC 14 for when Buildroot
BR2_KERNEL_64_USERLAND_32 is enabled. However, ebtables configure script
enables its own KERNEL_64_USERSPACE_32 macro unconditionally for sparc64
target, which triggers a similar build failure. See [1].

Disable sparc64 target for ebtables and its reverse dependency to avoid
build failure.

Fixes:
https://autobuild.buildroot.net/results/9a2510e0038cd13db8c3aac0122ea7a0f834fcd2/

[1] https://git.netfilter.org/ebtables/tree/configure.ac?h=ebtables-2.0.11#n20

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
[Julien: add link to upstream script enabling KERNEL_64_USERSPACE_32]
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Baruch Siach
2025-10-08 14:53:23 +03:00
committed by Julien Olivain
parent 6bf05cb6a4
commit 0549ed0ed1
2 changed files with 2 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ config BR2_PACKAGE_EBTABLES
depends on BR2_USE_MMU # fork()
# https://lore.kernel.org/all/20210518181730.13436-1-patrickdepinguin@gmail.com/
depends on !BR2_KERNEL_64_USERLAND_32
depends on !BR2_sparc64 # int-conversion error
help
Ethernet bridge frame table administration

View File

@@ -46,6 +46,7 @@ config BR2_PACKAGE_LIBVIRT_DAEMON
default y
depends on BR2_INSTALL_LIBSTDCPP # nmap
depends on !BR2_KERNEL_64_USERLAND_32 # ebtables
depends on !BR2_sparc64 # ebtables
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS # radvd -> libbsd
select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
select BR2_PACKAGE_DNSMASQ