Summary: | sys-fs/lvm2-2.03.14 - lvmlockd-core.c: fatal error: systemd/sd-daemon.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | agk, robbat2 |
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-fs:lvm2-2.03.14:20211105-231657.log temp.tar.bz2 |
Description
Toralf Förster
![]() Created attachment 748944 [details]
emerge-info.txt
Created attachment 748947 [details]
emerge-history.txt
Created attachment 748950 [details]
environment
Created attachment 748953 [details]
etc.portage.tar.bz2
Created attachment 748956 [details]
logs.tar.bz2
Created attachment 748959 [details]
sys-fs:lvm2-2.03.14:20211105-231657.log
Created attachment 748962 [details]
temp.tar.bz2
Hello, I had the same problem, which is due to the use of flags: sanlock (-systemd); and I have solved it by doing a new ebuild, which contains the following lines, inside the src_prepare () section, before the 'eautoreconf' line: if ! use systemd ; then if use sanlock ; then sed -i -e "s:systemd/sd-daemon.h:elogind/systemd/sd-daemon.h:" daemons/lvmlockd/lvmlockd-core.c || die sed -i -e "s:libsystemd:libelogind:" daemons/lvmlockd/Makefile.in || die fi fi Good luck, I hope I have been of help to someone... PS: This happens because you don't like 'systemd' and refuse to have it installed on your machine... :) In daemons/lvmlockd/Makefile.in, USE_SD_NOTIFY is hard-coded to yes. It should probably be populated by configure instead. |