Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] ebuild: look for ccache symlinks in /usr/lib/ccache/bin
Date: Sat, 24 Sep 2016 07:38:02
Message-Id: CAMiTYSpZp4d5G3CGdpPy4pAwor+HZ2hTPP9VX8OUe1bRPX2MHg@mail.gmail.com
In Reply to: [gentoo-portage-dev] [PATCH] ebuild: look for ccache symlinks in /usr/lib/ccache/bin by Mike Gilbert
1 On Fri, Sep 23, 2016 at 7:55 PM, Mike Gilbert <floppym@g.o> wrote:
2 > ccache-config has been installing the symlinks there since Nov 2014.
3 >
4 > Bug: https://bugs.gentoo.org/509956
5 > Bug: https://bugs.gentoo.org/594982
6 > ---
7 > pym/portage/package/ebuild/prepare_build_dirs.py | 2 +-
8 > 1 file changed, 1 insertion(+), 1 deletion(-)
9 >
10 > diff --git a/pym/portage/package/ebuild/prepare_build_dirs.py b/pym/portage/package/ebuild/prepare_build_dirs.py
11 > index 7fdac74..808e77d 100644
12 > --- a/pym/portage/package/ebuild/prepare_build_dirs.py
13 > +++ b/pym/portage/package/ebuild/prepare_build_dirs.py
14 > @@ -154,7 +154,7 @@ def _prepare_features_dirs(mysettings):
15 >
16 > features_dirs = {
17 > "ccache":{
18 > - "path_dir": "%s/usr/%s/ccache/bin" % (EPREFIX, libdir),
19 > + "path_dir": "%s/usr/lib/ccache/bin" % EPREFIX,
20 > "basedir_var":"CCACHE_DIR",
21 > "default_dir":os.path.join(mysettings["PORTAGE_TMPDIR"], "ccache"),
22 > "always_recurse":False},
23 > --
24 > 2.10.0
25
26 The /usr/lib/ccache/bin code lives in doebuild_environment now:
27
28 https://gitweb.gentoo.org/proj/portage.git/commit/?id=96338b8a2add3ab5f7f77fef41570807374771e3

Replies