All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/2] package/passt: dependency fixes and version bump
@ 2026-08-18 20:55 Joseph Kogut
  2026-08-18 20:55 ` [Buildroot] [PATCH 1/2] package/passt: disable on uclibc Joseph Kogut
  2026-08-18 20:55 ` [Buildroot] [PATCH 2/2] package/passt: bump to version 2026_07_28.f8df3f1 Joseph Kogut
  0 siblings, 2 replies; 7+ messages in thread
From: Joseph Kogut @ 2026-08-18 20:55 UTC (permalink / raw)
  To: buildroot; +Cc: Joseph Kogut, joseph.kogut

Hello all,

This series has a few small improvements for passt.

Patch 1/2 resolves some unexpressed dependencies that preexist this
version bump. Passt doesn't currently support uclibc, and it's tracked
as an upstream issue.

Patch 2/2 bumps passt to version 2026_07_28.

Best regards,
Joseph

Signed-off-by: Joseph Kogut <joseph@anodize.com>
---
Joseph Kogut (2):
      package/passt: disable on uclibc
      package/passt: bump to version 2026_07_28.f8df3f1

 package/passt/Config.in  | 6 ++++--
 package/passt/passt.hash | 2 +-
 package/passt/passt.mk   | 2 +-
 package/podman/Config.in | 6 ++++--
 4 files changed, 10 insertions(+), 6 deletions(-)
---
base-commit: 2d40ae9f2c6026fe201c894c79b2fc844e953465
change-id: 20260818-passt-20260728-241cc6b71c6e

Best regards,
--  
Joseph Kogut <joseph@anodize.com>

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 1/2] package/passt: disable on uclibc
  2026-08-18 20:55 [Buildroot] [PATCH 0/2] package/passt: dependency fixes and version bump Joseph Kogut
@ 2026-08-18 20:55 ` Joseph Kogut
  2026-09-07  6:08   ` Thomas Petazzoni via buildroot
  2026-08-18 20:55 ` [Buildroot] [PATCH 2/2] package/passt: bump to version 2026_07_28.f8df3f1 Joseph Kogut
  1 sibling, 1 reply; 7+ messages in thread
From: Joseph Kogut @ 2026-08-18 20:55 UTC (permalink / raw)
  To: buildroot; +Cc: Joseph Kogut, joseph.kogut

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>
---
 package/passt/Config.in  | 6 ++++--
 package/podman/Config.in | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/package/passt/Config.in b/package/passt/Config.in
index fca1dff7c5..d06cc3e482 100644
--- a/package/passt/Config.in
+++ b/package/passt/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PASST
 	bool "passt"
+	depends on !BR2_TOOLCHAIN_USES_UCLIBC
 	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9
 	help
 	  passt: Plug A Simple Socket Transport
@@ -19,5 +20,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
diff --git a/package/podman/Config.in b/package/podman/Config.in
index 7884171380..bbcb15691d 100644
--- a/package/podman/Config.in
+++ b/package/podman/Config.in
@@ -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"

-- 
2.55.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 2/2] package/passt: bump to version 2026_07_28.f8df3f1
  2026-08-18 20:55 [Buildroot] [PATCH 0/2] package/passt: dependency fixes and version bump Joseph Kogut
  2026-08-18 20:55 ` [Buildroot] [PATCH 1/2] package/passt: disable on uclibc Joseph Kogut
@ 2026-08-18 20:55 ` Joseph Kogut
  2026-09-06 21:15   ` Thomas Petazzoni via buildroot
  1 sibling, 1 reply; 7+ messages in thread
From: Joseph Kogut @ 2026-08-18 20:55 UTC (permalink / raw)
  To: buildroot; +Cc: Joseph Kogut, joseph.kogut

Signed-off-by: Joseph Kogut <joseph@anodize.com>
---
 package/passt/passt.hash | 2 +-
 package/passt/passt.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/passt/passt.hash b/package/passt/passt.hash
index af55658594..296e2724c4 100644
--- a/package/passt/passt.hash
+++ b/package/passt/passt.hash
@@ -1,4 +1,4 @@
 # Locally computed
-sha256  ac2562e4b589c518b6e30101daaa430691da2605ccc2988d0b704079c2aea4f3  passt-2025_06_11.0293c6f-git4.tar.gz
+sha256  2c9e0f3cdb33585edc28b8171d23e0631d718ace8acbad5c58bd415e644008af  passt-2026_07_28.f8df3f1-git4.tar.gz
 sha256  32dfe03d9985f5feb581da26a2fe6c84530cccb6b53ede0d8dab075cd048ac5b  LICENSES/BSD-3-Clause.txt
 sha256  aaf135472f81c5b4a0dca9367e5bb5e9750032b5bebe5442b36e4c0a47430df3  LICENSES/GPL-2.0-or-later.txt
diff --git a/package/passt/passt.mk b/package/passt/passt.mk
index 8f9ab937b1..e34e7e505e 100644
--- a/package/passt/passt.mk
+++ b/package/passt/passt.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-PASST_VERSION = 2025_06_11.0293c6f
+PASST_VERSION = 2026_07_28.f8df3f1
 PASST_SITE = https://passt.top/passt
 PASST_SITE_METHOD = git
 

-- 
2.55.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [Buildroot] [PATCH 2/2] package/passt: bump to version 2026_07_28.f8df3f1
  2026-08-18 20:55 ` [Buildroot] [PATCH 2/2] package/passt: bump to version 2026_07_28.f8df3f1 Joseph Kogut
@ 2026-09-06 21:15   ` Thomas Petazzoni via buildroot
  2026-09-07  6:02     ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-09-06 21:15 UTC (permalink / raw)
  To: Joseph Kogut; +Cc: buildroot, joseph.kogut

Hello Joseph,

On Tue, Aug 18, 2026 at 01:55:34PM -0700, Joseph Kogut wrote:
> Signed-off-by: Joseph Kogut <joseph@anodize.com>
> ---
>  package/passt/passt.hash | 2 +-
>  package/passt/passt.mk   | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Thanks for this patch. With this version bump, the build fails with:

isolation.c: In function ‘isolate_fds’:
isolation.c:277:13: error: implicit declaration of function ‘close_range’; did you mean ‘SYS_close_range’? [-Wimplicit-function-declaration]
  277 |         if (close_range(close_from, ~0U, CLOSE_RANGE_UNSHARE)) {
      |             ^~~~~~~~~~~
      |             SYS_close_range
isolation.c:277:42: error: ‘CLOSE_RANGE_UNSHARE’ undeclared (first use in this function)
  277 |         if (close_range(close_from, ~0U, CLOSE_RANGE_UNSHARE)) {
      |                                          ^~~~~~~~~~~~~~~~~~~
isolation.c:277:42: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [Makefile:103: passt] Error 1
make[1]: Leaving directory '/home/thomas/projets/buildroot/output/build/passt-2026_07_28.f8df3f1'
make: *** [package/pkg-generic.mk:273: /home/thomas/projets/buildroot/output/build/passt-2026_07_28.f8df3f1/.stamp_built] Error 2

With the following configuration:

BR2_aarch64=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_MUSL_BLEEDING_EDGE=y
BR2_INIT_NONE=y
BR2_SYSTEM_BIN_SH_NONE=y
# BR2_PACKAGE_BUSYBOX is not set
BR2_PACKAGE_PODMAN=y
# BR2_TARGET_ROOTFS_TAR is not set

Note that I didn't try _before_ the bump, so I am not 100% sure the
build issue is caused by the bump.

Could you have a look?

Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Buildroot] [PATCH 2/2] package/passt: bump to version 2026_07_28.f8df3f1
  2026-09-06 21:15   ` Thomas Petazzoni via buildroot
@ 2026-09-07  6:02     ` Thomas Petazzoni via buildroot
  2026-09-07 20:23       ` Joseph Kogut
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-09-07  6:02 UTC (permalink / raw)
  To: Joseph Kogut; +Cc: buildroot, joseph.kogut

Hello Joseph,

On Sun, Sep 06, 2026 at 11:15:48PM +0200, Thomas Petazzoni wrote:

> Note that I didn't try _before_ the bump, so I am not 100% sure the
> build issue is caused by the bump.

I tried before the bump, with the same toolchain and it builds
fine. So it's really the version bump that is causing the build
regression.

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Buildroot] [PATCH 1/2] package/passt: disable on uclibc
  2026-08-18 20:55 ` [Buildroot] [PATCH 1/2] package/passt: disable on uclibc Joseph Kogut
@ 2026-09-07  6:08   ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 7+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-09-07  6:08 UTC (permalink / raw)
  To: Joseph Kogut; +Cc: joseph.kogut, buildroot

Hello,

On Tue, Aug 18, 2026 at 01:55:33PM -0700, Joseph Kogut wrote:
> 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>

Thanks, I have applied.

However:

- ARG_MAX is not a standard definition, the code should be using
  getconf() to get this kind of value

- The code uses ARG_MAX incorrectly. ARG_MAX is the maximum number of
  bytes occupied by arguments, but the code uses it as the max number
  of arguments.

For the other two problems, I guess a bug should be reported to
uClibc. I've Cc'ed Waldemar, uClibc-ng's maintainer.

> diff --git a/package/passt/Config.in b/package/passt/Config.in
> index fca1dff7c5..d06cc3e482 100644
> --- a/package/passt/Config.in
> +++ b/package/passt/Config.in
> @@ -1,5 +1,6 @@
>  config BR2_PACKAGE_PASST
>  	bool "passt"
> +	depends on !BR2_TOOLCHAIN_USES_UCLIBC

I added a comment above this to explain why.

Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Buildroot] [PATCH 2/2] package/passt: bump to version 2026_07_28.f8df3f1
  2026-09-07  6:02     ` Thomas Petazzoni via buildroot
@ 2026-09-07 20:23       ` Joseph Kogut
  0 siblings, 0 replies; 7+ messages in thread
From: Joseph Kogut @ 2026-09-07 20:23 UTC (permalink / raw)
  To: Thomas Petazzoni; +Cc: Joseph Kogut, buildroot

Hello Thomas,

On Sun, Sep 6, 2026 at 11:02 PM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> Hello Joseph,
>
> On Sun, Sep 06, 2026 at 11:15:48PM +0200, Thomas Petazzoni wrote:
>
> > Note that I didn't try _before_ the bump, so I am not 100% sure the
> > build issue is caused by the bump.
>
> I tried before the bump, with the same toolchain and it builds
> fine. So it's really the version bump that is causing the build
> regression.
>

I'll have a look. Thanks for the review!

> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering and training
> https://bootlin.com

Best,
Joseph
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-09-07 20:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-18 20:55 [Buildroot] [PATCH 0/2] package/passt: dependency fixes and version bump Joseph Kogut
2026-08-18 20:55 ` [Buildroot] [PATCH 1/2] package/passt: disable on uclibc Joseph Kogut
2026-09-07  6:08   ` Thomas Petazzoni via buildroot
2026-08-18 20:55 ` [Buildroot] [PATCH 2/2] package/passt: bump to version 2026_07_28.f8df3f1 Joseph Kogut
2026-09-06 21:15   ` Thomas Petazzoni via buildroot
2026-09-07  6:02     ` Thomas Petazzoni via buildroot
2026-09-07 20:23       ` Joseph Kogut

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.