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
Created attachment 565056 [details] net-fs:autofs-5.1.5:20190213-164917.log
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 ***