Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 677874 - net-fs/autofs-5.1.5: automount.c:40:10: fatal error: systemd/sd-daemon.h: No such file or directory
Summary: net-fs/autofs-5.1.5: automount.c:40:10: fatal error: systemd/sd-daemon.h: No ...
Status: RESOLVED DUPLICATE of bug 677906
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Yixun Lan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-13 14:51 UTC by Daniel M. Weeks
Modified: 2019-02-14 04:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
net-fs:autofs-5.1.5:20190213-164917.log (net-fs:autofs-5.1.5:20190213-164917.log,16.57 KB, text/plain)
2019-02-13 17:04 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel M. Weeks 2019-02-13 14:51:48 UTC
As of 5.1.5, upstream uses --with-systemd to determine both the path for unit files and whether systemd is present. Gentoo ebuild assumes only the former, breaking the build on 5.1.5 if systemd is not present.

(If I understand correctly, Gentoo's approach is to always install unit files so this will likely need a fix upstream.)

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-02-13 17:04:16 UTC
Created attachment 565056 [details]
net-fs:autofs-5.1.5:20190213-164917.log
Comment 2 Yixun Lan archtester gentoo-dev 2019-02-14 04:31:51 UTC
for current solution, I've add an USE=systemd to solve this, the downside is that the unit file will be also guarded with this USE flag, but I think it's just fine.

I've pushed the fix, see bug #677906

*** This bug has been marked as a duplicate of bug 677906 ***