From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0FA38138330 for ; Sat, 24 Sep 2016 12:10:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A710AE0AA9; Sat, 24 Sep 2016 12:10:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0D270E0A86 for ; Sat, 24 Sep 2016 12:10:18 +0000 (UTC) Received: from mail-oi0-f54.google.com (mail-oi0-f54.google.com [209.85.218.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id E72A33406DD for ; Sat, 24 Sep 2016 12:10:17 +0000 (UTC) Received: by mail-oi0-f54.google.com with SMTP id a62so162553432oib.1 for ; Sat, 24 Sep 2016 05:10:17 -0700 (PDT) X-Gm-Message-State: AE9vXwMQXnFfFpunDDbpKIbLnj2Jk4HO0NGWdj++GTHe29D3+pQGhy7WbF5V2adIOdweJEy0+ZFuKIXfmyBHSQ== X-Received: by 10.202.181.68 with SMTP id e65mr12510791oif.151.1474719015696; Sat, 24 Sep 2016 05:10:15 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.202.57.11 with HTTP; Sat, 24 Sep 2016 05:09:55 -0700 (PDT) In-Reply-To: References: <20160924025530.22782-1-floppym@gentoo.org> From: Mike Gilbert Date: Sat, 24 Sep 2016 08:09:55 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [gentoo-portage-dev] [PATCH] ebuild: look for ccache symlinks in /usr/lib/ccache/bin To: gentoo-portage-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: e85865cd-0586-4892-ab31-f1a0a4ed7eb2 X-Archives-Hash: e18c053b823c4ddc443d6f7117cadec1 On Sat, Sep 24, 2016 at 3:37 AM, Zac Medico wrote: > On Fri, Sep 23, 2016 at 7:55 PM, Mike Gilbert wrote: >> ccache-config has been installing the symlinks there since Nov 2014. >> >> Bug: https://bugs.gentoo.org/509956 >> Bug: https://bugs.gentoo.org/594982 >> --- >> pym/portage/package/ebuild/prepare_build_dirs.py | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/pym/portage/package/ebuild/prepare_build_dirs.py b/pym/portage/package/ebuild/prepare_build_dirs.py >> index 7fdac74..808e77d 100644 >> --- a/pym/portage/package/ebuild/prepare_build_dirs.py >> +++ b/pym/portage/package/ebuild/prepare_build_dirs.py >> @@ -154,7 +154,7 @@ def _prepare_features_dirs(mysettings): >> >> features_dirs = { >> "ccache":{ >> - "path_dir": "%s/usr/%s/ccache/bin" % (EPREFIX, libdir), >> + "path_dir": "%s/usr/lib/ccache/bin" % EPREFIX, >> "basedir_var":"CCACHE_DIR", >> "default_dir":os.path.join(mysettings["PORTAGE_TMPDIR"], "ccache"), >> "always_recurse":False}, >> -- >> 2.10.0 > > The /usr/lib/ccache/bin code lives in doebuild_environment now: > > https://gitweb.gentoo.org/proj/portage.git/commit/?id=96338b8a2add3ab5f7f77fef41570807374771e3 > Got it. Thanks for the fix!