Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 677874

Summary: net-fs/autofs-5.1.5: automount.c:40:10: fatal error: systemd/sd-daemon.h: No such file or directory
Product: Gentoo Linux Reporter: Daniel M. Weeks <dan>
Component: Current packagesAssignee: Yixun Lan <dlan>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: net-fs:autofs-5.1.5:20190213-164917.log

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 ***