incus uses `nft --json` to run nft commands which is why it fails to succeed detecting nftables on a system if json support is not compiled in (USE=json) So it requires a dependency on nftables[json] to work. But looking at the incus code, it only uses the --json option when detecting nftables but not when actually using it. I asked the maintainer about it in the mentioned URL
I'll monitor the discussion forum for a bit before adding the dependency. If it's taken out in the next upstream release, that should be good.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9e8847b0174f73e549d06e7936dd26a3006c165 commit b9e8847b0174f73e549d06e7936dd26a3006c165 Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2025-02-28 08:00:16 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2025-02-28 08:41:54 +0000 app-containers/incus: add 6.10 - update nftables dependency to have 'json' use flag enabled, for now. Closes: https://bugs.gentoo.org/950211 Signed-off-by: Joonas Niilola <juippis@gentoo.org> app-containers/incus/Manifest | 2 + app-containers/incus/incus-6.10.ebuild | 223 +++++++++++++++++++++++++++++++++ 2 files changed, 225 insertions(+)