Summary: | sys-apps/systemd-253-r1 - ../.../cryptsetup-fido2.c: error: CRYPT_LUKS2 undeclared (first use in this function) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo systemd Team <systemd> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tar.bz2 logs.tar.bz2 sys-apps:systemd-253-r1:20230323-004952.log.bz2 temp.tar.bz2 |
Description
Toralf Förster
![]() Created attachment 858711 [details]
emerge-info.txt
Created attachment 858713 [details]
emerge-history.txt
Created attachment 858715 [details]
environment
Created attachment 858717 [details]
etc.portage.tar.bz2
Created attachment 858719 [details]
logs.tar.bz2
Created attachment 858721 [details]
sys-apps:systemd-253-r1:20230323-004952.log.bz2
Created attachment 858723 [details]
temp.tar.bz2
Adding use dep cryptsetup on fido2 will solve the problem. I'm not sure whether USE="fido2 -cryptsetup" actually makes sense, but I have a system with libfido2 but no libcryptsetup and upstream's default build (./configure && make) fails as, as 253 makes one part implicitly dependent on the other in https://github.com/systemd/systemd/commit/0a8e026e825dda142a8f1552a4b45815cbfd0b48. I reported this as https://github.com/systemd/systemd/issues/27374 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3b80d0103479e526f6eda5e45bc7d0ba82d22e5 commit c3b80d0103479e526f6eda5e45bc7d0ba82d22e5 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2023-04-24 15:15:05 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2023-04-24 15:15:05 +0000 sys-apps/systemd: REQUIRED_USE="fido2? ( cryptsetup )" Closes: https://bugs.gentoo.org/902831 Signed-off-by: Mike Gilbert <floppym@gentoo.org> sys-apps/systemd/systemd-252.7.ebuild | 2 +- sys-apps/systemd/systemd-253.3.ebuild | 2 +- sys-apps/systemd/systemd-9999.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) This is now fixed upstream and the REQUIRED_USE constraint is not essentially required for future releases. Upstream did not want to make the two configurations options dependent on each other in their build system. I'll keep the required use constraint anyway since it makes the dependencies easier to express. |