Hi, sys-apps/systemd-247.2 does not have explicit option to active support for fido2, instead systemd relies on implicit dependency detection. # emerge -Cv dev-libs/libfido2 ; USE=homectl emerge -v systemd ... # homectl --fido2-device=list FIDO2 tokens not supported on this build. Manually install dev-libs/libfido2 and rebuiding systemd fixes the issue See: https://github.com/systemd/systemd-stable/blob/v247-stable/meson.build#L1178 Could you please add a USE flag to make the dependency explicit ? Thanks, Reproducible: Always
Note that it's: 1) dlopen-ed, therefore... 2) RDEPEND, not DEPEND: https://github.com/systemd/systemd/blob/main/NEWS#L99. Wonder if it's better as optfeature then.
(In reply to Sam James from comment #1) libfido2 is required at build time to enable the feature. libfido2 can be removed at runtime if the functionality is not required in some minimal environment (like a container, or initramfs). I will probably just add libfido2 to both DEPEND and RDEPEND (behind a USE flag).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3b4b4b5f982639b7a411fab2f58314514b228dd commit c3b4b4b5f982639b7a411fab2f58314514b228dd Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2021-09-08 19:05:41 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2021-09-08 19:06:08 +0000 sys-apps/systemd: add fido2 USE flag Closes: https://bugs.gentoo.org/779763 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-apps/systemd/metadata.xml | 1 + sys-apps/systemd/{systemd-249.4-r2.ebuild => systemd-249.4-r3.ebuild} | 4 +++- sys-apps/systemd/systemd-9999.ebuild | 4 +++- 3 files changed, 7 insertions(+), 2 deletions(-)