The bug is only partially due to elogind, and is fixed with the attached patch. xen.h uses uint64_t and other stdint types without including stdint.h. All fixes were achieved through uncommenting include lines in reboot-util.c
Created attachment 902998 [details] Build Failure Log
Created attachment 902999 [details, diff] Fix elogind build with xen
Please provide emerge --info.
Created attachment 903095 [details] emerge info
FWIW ran into the same thing here; the attached patch allowed elogind to build.
This should really be reported @upstream. Commit that commented out these headers: https://github.com/elogind/elogind/commit/e1827812fc8f5b9a1aab6ed9bc056df0a2c74c48
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=265054dc933b168d0ac4c71961ea1d0b1170f5f1 commit 265054dc933b168d0ac4c71961ea1d0b1170f5f1 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2024-11-14 19:38:49 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2024-11-14 19:47:46 +0000 sys-auth/elogind: Revert s2idle default, build w/ xen Switch RemoveIPC default to "no". Bug: https://bugs.gentoo.org/939042 Closes: https://bugs.gentoo.org/939673 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> sys-auth/elogind/elogind-255.5-r1.ebuild | 179 +++++++++++++++++++++ .../elogind-255.5-no-fchmod_and_chown-tty.patch | 29 ++++ .../elogind-255.5-part-revert-header-cleanup.patch | 41 +++++ .../files/elogind-255.5-revert-s2idle.patch | 138 ++++++++++++++++ 4 files changed, 387 insertions(+)
(In reply to Andreas Sturmlechner from comment #6) > This should really be reported @upstream. > > Commit that commented out these headers: > https://github.com/elogind/elogind/commit/ > e1827812fc8f5b9a1aab6ed9bc056df0a2c74c48 It wasn't, but I found the patch in the tree and have commented back in the includes.