| Message ID | 20261021103638.156904-1-badrikesh.prusty@siemens.com |
|---|---|
| State | New |
| Headers | show |
| Series | linux-kselftest: use libfuse3-dev for Debian forky | expand |
On Wed, 2026-10-21 at 06:36 -0400, 'Badrikesh Prusty' via isar-users wrote: > In Debian forky, fuse 2 has been deprecated, and packages build against > libfuse3-dev instead of libfuse-dev. > > Conditionally depend on `libfuse3-dev` when `BASE_DISTRO_CODENAME` is > `forky`, while retaining `libfuse-dev` for older Debian releases to > avoid build dependency resolution failures. Hi, makes sense. I'll add a test target for forky with KFAIL as well, so issues like this are caught faster in the future. Reviewed-by: Felix Moessbauer <felix.moessbauer@siemens.com> Felix > > Suggested-by: Cedric Hombourger <cedric.hombourger@siemens.com> > Signed-off-by: Badrikesh Prusty <badrikesh.prusty@siemens.com> > --- > meta/classes-recipe/linux-kselftest.bbclass | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/classes-recipe/linux-kselftest.bbclass b/meta/classes-recipe/linux-kselftest.bbclass > index f8d8c170..d875e33a 100644 > --- a/meta/classes-recipe/linux-kselftest.bbclass > +++ b/meta/classes-recipe/linux-kselftest.bbclass > @@ -20,7 +20,7 @@ DEBIAN_BUILD_DEPENDS ?= " \ > libpopt-dev, \ > libcap-dev, \ > libmount-dev, \ > - libfuse-dev, \ > + ${@ 'libfuse3-dev' if d.getVar('BASE_DISTRO_CODENAME') in ['forky'] else 'libfuse-dev'}, \ > libmnl-dev, \ > pkg-config, \ > clang:native, \ > -- > 2.39.5 > > -- > You received this message because you are subscribed to the Google Groups "isar-users" group. > To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com. > To view this discussion visit https://groups.google.com/d/msgid/isar-users/20261021103638.156904-1-badrikesh.prusty%40siemens.com.
Hi Badrikesh, On Wed, 2026-10-21 at 06:36 -0400, 'Badrikesh Prusty' via isar-users wrote: > In Debian forky, fuse 2 has been deprecated, and packages build against > libfuse3-dev instead of libfuse-dev. > > Conditionally depend on `libfuse3-dev` when `BASE_DISTRO_CODENAME` is > `forky`, while retaining `libfuse-dev` for older Debian releases to > avoid build dependency resolution failures. > > Suggested-by: Cedric Hombourger <cedric.hombourger@siemens.com> > Signed-off-by: Badrikesh Prusty <badrikesh.prusty@siemens.com> > --- > meta/classes-recipe/linux-kselftest.bbclass | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/classes-recipe/linux-kselftest.bbclass b/meta/classes-recipe/linux-kselftest.bbclass > index f8d8c170..d875e33a 100644 > --- a/meta/classes-recipe/linux-kselftest.bbclass > +++ b/meta/classes-recipe/linux-kselftest.bbclass > @@ -20,7 +20,7 @@ DEBIAN_BUILD_DEPENDS ?= " \ > libpopt-dev, \ > libcap-dev, \ > libmount-dev, \ > - libfuse-dev, \ > + ${@ 'libfuse3-dev' if d.getVar('BASE_DISTRO_CODENAME') in ['forky'] else 'libfuse-dev'}, \ I think that this approach will not scale. We have to touch that for each new Debian release. Listing the old (= still supported) Debian releases seems easier. No? > libmnl-dev, \ > pkg-config, \ > clang:native, \ > -- > 2.39.5 > > -- > You received this message because you are subscribed to the Google Groups "isar-users" group. > To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com. > To view this discussion visit https://groups.google.com/d/msgid/isar-users/20261021103638.156904-1-badrikesh.prusty%40siemens.com.
diff --git a/meta/classes-recipe/linux-kselftest.bbclass b/meta/classes-recipe/linux-kselftest.bbclass index f8d8c170..d875e33a 100644 --- a/meta/classes-recipe/linux-kselftest.bbclass +++ b/meta/classes-recipe/linux-kselftest.bbclass @@ -20,7 +20,7 @@ DEBIAN_BUILD_DEPENDS ?= " \ libpopt-dev, \ libcap-dev, \ libmount-dev, \ - libfuse-dev, \ + ${@ 'libfuse3-dev' if d.getVar('BASE_DISTRO_CODENAME') in ['forky'] else 'libfuse-dev'}, \ libmnl-dev, \ pkg-config, \ clang:native, \
In Debian forky, fuse 2 has been deprecated, and packages build against libfuse3-dev instead of libfuse-dev. Conditionally depend on `libfuse3-dev` when `BASE_DISTRO_CODENAME` is `forky`, while retaining `libfuse-dev` for older Debian releases to avoid build dependency resolution failures. Suggested-by: Cedric Hombourger <cedric.hombourger@siemens.com> Signed-off-by: Badrikesh Prusty <badrikesh.prusty@siemens.com> --- meta/classes-recipe/linux-kselftest.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)