Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 505334 - ccache does not create symlinks on systemd (no /etc/init.d/functions.sh)
Summary: ccache does not create symlinks on systemd (no /etc/init.d/functions.sh)
Status: RESOLVED DUPLICATE of bug 504380
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-22 08:30 UTC by Hylke
Modified: 2014-03-22 14:59 UTC (History)
0 users

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


Attachments
emerge --info (emerge-info.txt,4.84 KB, text/plain)
2014-03-22 08:30 UTC, Hylke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hylke 2014-03-22 08:30:10 UTC
Created attachment 373246 [details]
emerge --info

The dev-util/ccache ebuild uses ccache-config to create symlinks. This script imports /etc/init.d/functions.sh, which does not exist on systemd installs

From /usr/bin/ccache-config:
  . "${EPREFIX}"/etc/init.d/functions.sh 2>/dev/null || {
Note the '2>/dev/null', which will suppress any errors, in my case no 'file not found' was shown.

Tested dev-util/ccache versions:
 3.1.9
 3.1.9-r3 (~amd64)

possible fixes:
 -  depend on gentoo-functions and fix the explicit path in /usr/bin/ccache-config
 - don't use functions.sh at all. pretty names are nices, but would be nice to have it still working otherwise
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-03-22 14:59:56 UTC

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