https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: gnome-base/gnome-settings-daemon-46.0 fails to compile. Discovered on: amd64 (internal ref: ci) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
CC'ing also the author of the commit (6eba61692333d11b62f85e60f55343cb5ac83a30)
Created attachment 898894 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: FAILED: plugins/sharing/gsd-sharing.p/gsd-sharing-manager.c.o ../gnome-settings-daemon-46.0/plugins/sharing/gsd-sharing-manager.c:23:10: fatal error: systemd/sd-login.h: No such file or directory Run-time dependency libsystemd found: NO (tried pkgconfig and cmake) Run-time dependency systemd found: NO (tried pkgconfig and cmake) ../gnome-settings-daemon-46.0/plugins/sharing/gsd-sharing-manager.c:23:10: fatal error: systemd/sd-login.h: No such file or directory
Its solved with the following patch: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/merge_requests/360/diffs
Created attachment 898973 [details, diff] Fix-building-without-systemd
(In reply to gjdijkman from comment #5) > Created attachment 898973 [details, diff] [details, diff] > Fix-building-without-systemd Was a bit to early (sorry) We need this patch: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/merge_requests/348/diffs Previous one was merged into this one, and with that it works. src_onfigure now also needs: $(meson_use elogind) Seems the patch will be merged into 46.1 but for me the provided patch worked: https://git.gjdwebserver.nl/gjdwebserver/gjdwebserver-overlay/src/branch/master/gnome-base/gnome-settings-daemon
Created attachment 898974 [details, diff] Correct patch for building without systemd
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d10ec547b9c45bf708142de86ff9c9c357f5e50d commit d10ec547b9c45bf708142de86ff9c9c357f5e50d Author: Guillermo Joandet <gjoandet@gmail.com> AuthorDate: 2024-08-04 22:37:03 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2024-08-07 10:48:40 +0000 gnome-base/gnome-settings-daemon: Fix elogind support Closes: https://bugs.gentoo.org/937244 Signed-off-by: Guillermo Joandet <gjoandet@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/37960 Signed-off-by: Pacho Ramos <pacho@gentoo.org> ...-settings-daemon-46.0-add-elogind-support.patch | 98 ++++++++++++++ .../gnome-settings-daemon-46.0-r1.ebuild | 143 +++++++++++++++++++++ 2 files changed, 241 insertions(+)