Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 625478 - =sys-devel/distcc-3.2_rc1-r4 has hard-coded /usr/lib/systemd reference that no longer works
Summary: =sys-devel/distcc-3.2_rc1-r4 has hard-coded /usr/lib/systemd reference that n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-18 03:27 UTC by Greg Turner
Modified: 2017-08-17 07:50 UTC (History)
2 users (show)

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


Attachments
build.log (sys-devel:distcc-3.2_rc1-r4:20170812-182131.log,215.36 KB, text/plain)
2017-08-12 18:26 UTC, Erich Seifert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Turner 2017-07-18 03:27:11 UTC
I presume there may be a blocker somewhere for this sort of thing...?  I guess it should be changed to use systemd_get_systemunitdir() from systemd.eclass.
Comment 1 Erich Seifert 2017-08-12 18:26:13 UTC
Created attachment 488702 [details]
build.log

sys-devel/distcc-3.2_rc1-r4 also fails here with:

sed: can't read /var/tmp/portage/sys-devel/distcc-3.2_rc1-r4/image//usr/lib/systemd/system/distccd.service: No such file or directory
 * ERROR: sys-devel/distcc-3.2_rc1-r4::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 115:  Called src_install
 *   environment, line 4123:  Called die
 * The specific snippet of code:
 *           sed -i '/ExecStart/ s|$| --zeroconf|' "${ED}"/usr/lib/systemd/system/distccd.service || die;
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-08-17 07:50:03 UTC
commit 10f2fcff55d2e5a38effe1fb4626f59e7f89f5e1
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: Thu Aug 17 09:36:11 2017
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Thu Aug 17 09:44:20 2017

    sys-devel/distcc: Fix hardcoded systemd path, #625478