Bug 63474

Summary: buildsystem: race in 'make -j install'
Product: systemd Reporter: Enrico Scholz <enrico.scholz>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Enrico Scholz 2013-04-12 15:11:36 UTC
A parallel 'make -j install' fails here with

| ln: failed to create symbolic link '.../image//etc/systemd/system/multi-user.target.wants/remote-fs.target': No such file or directory
| make[4]: *** [install-aliases-hook] Error 1


This is because 'install-aliases-hook' requires directories created by the (parallel running) 'install-directories-hook' target which is not completed yet.

A trivial fix might be

+install-aliases-hook:  install-directories-hook
Comment 1 Zbigniew Jedrzejewski-Szmek 2013-05-15 01:52:02 UTC
Should be fixed in http://cgit.freedesktop.org/systemd/systemd/commit/?id=0b95a21bd70f.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.