Gentoo Archives: gentoo-portage-dev

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