All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle via buildroot <buildroot@buildroot.org>
To: buildroot@buildroot.org
Subject: [Buildroot] [git commit branch/2025.02.x] package/ebtables: disable sparc64 target
Date: Wed, 22 Oct 2025 18:35:49 +0200	[thread overview]
Message-ID: <20251022163634.F11CD866C6@busybox.osuosl.org> (raw)

commit: https://git.buildroot.net/buildroot/commit/?id=f03637d2be9ab7aaf09efd48a147841c559dab7b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2025.02.x

Commit c5d6cde7b627 ("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>
(cherry picked from commit 0549ed0ed1ce7b0b107ac7bd50ccf0496cf8172f)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
---
 package/ebtables/Config.in | 1 +
 package/libvirt/Config.in  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/package/ebtables/Config.in b/package/ebtables/Config.in
index ce5f67bc61..83337feec6 100644
--- a/package/ebtables/Config.in
+++ b/package/ebtables/Config.in
@@ -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
 
diff --git a/package/libvirt/Config.in b/package/libvirt/Config.in
index c55ab429eb..5664f69dd8 100644
--- a/package/libvirt/Config.in
+++ b/package/libvirt/Config.in
@@ -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
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

                 reply	other threads:[~2025-10-22 16:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251022163634.F11CD866C6@busybox.osuosl.org \
    --to=buildroot@buildroot.org \
    --cc=arnout@rnout.be \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.