package/passt: disable on uclibc

Upstream lists uClibc-ng support as a "nice-to-have, eventually", and
tracks the required build fixes as an enhancement:

https://bugs.passt.top/show_bug.cgi?id=5

passt relies on interfaces and definitions missing from uClibc,
resulting in build failures such as:

qrap.c:145:25: error: 'ARG_MAX' undeclared
tcp.c:2926:34: error: storage size of 'wnd' isn't known
tcp.c:3321:47: error: 'TCP_SEND_QUEUE' undeclared

Disable passt for uClibc toolchains and propagate the dependency to
Podman's passt backend.

Fixes:
 - http://autobuild.buildroot.org/results/7e4/7e4434e01baece4d090e44b4b3713f2eeefc1e27/
 - http://autobuild.buildroot.org/results/3f6/3f60889b4599f1bc42a69076f6fe469517ea9ab5/

Signed-off-by: Joseph Kogut <joseph@anodize.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Joseph Kogut
2026-08-18 13:55:33 -07:00
committed by Thomas Petazzoni
parent 531be778bd
commit 87e95b9877
2 changed files with 9 additions and 4 deletions

View File

@@ -1,5 +1,7 @@
config BR2_PACKAGE_PASST
bool "passt"
# lacks ARG_MAX, struct tcp_repair_window, TCP_SEND_QUEUE
depends on !BR2_TOOLCHAIN_USES_UCLIBC
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9
help
passt: Plug A Simple Socket Transport
@@ -19,5 +21,6 @@ config BR2_PACKAGE_PASST
https://passt.top/passt/about/
comment "passt needs a toolchain w/ headers >= 5.9"
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9
comment "passt needs a glibc or musl toolchain w/ headers >= 5.9"
depends on BR2_TOOLCHAIN_USES_UCLIBC || \
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9

View File

@@ -72,11 +72,13 @@ choice
config BR2_PACKAGE_PODMAN_NET_PASST
bool "passt/pasta"
depends on !BR2_TOOLCHAIN_USES_UCLIBC # passt
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9 # passt
select BR2_PACKAGE_PASST # runtime
comment "passt/pasta backend needs a toolchain w/ headers >= 5.9"
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9
comment "passt/pasta backend needs a glibc or musl toolchain w/ headers >= 5.9"
depends on BR2_TOOLCHAIN_USES_UCLIBC || \
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9
config BR2_PACKAGE_PODMAN_NET_SLIRP4NETNS
bool "slirp4netns"