Hi Alberto,

It seems that the snapd package in Jammy already has the `libfuse-dev |
libfuse3-dev` Build-Dep, however we may still have an issue. That build-
dep *allows* snapd to be built using libfuse3-dev, but by default the
first declared dependency will be used by the resolver, which means that
by default snapd will still build against libfuse-dev on Jammy. This
will block demoting fuse2 to universe.

OTOH inverting the order (`libfuse3-dev | libfuse-dev`) will cause snapd
to be build against libfuse3-dev on pre-Jammy releases (AIUI you want to
use a common packaging across several releases).

A way out could be using a versioned dependency:

  libfuse3-dev (>= 3.10.5-1) | libfuse-dev

so libfuse3-dev will only be used on Jammy, and libfuse-dev on the older
releases. I didn't test this, but it should work.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1935667

Title:
  snapd FTBFS when built with libfuse3-dev

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1935667/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to