public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-portage-dev] [PATCH] ebuild: look for ccache symlinks in /usr/lib/ccache/bin
@ 2016-09-24  2:55 Mike Gilbert
  2016-09-24  7:37 ` Zac Medico
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Gilbert @ 2016-09-24  2:55 UTC (permalink / raw
  To: gentoo-portage-dev

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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [gentoo-portage-dev] [PATCH] ebuild: look for ccache symlinks in /usr/lib/ccache/bin
  2016-09-24  2:55 [gentoo-portage-dev] [PATCH] ebuild: look for ccache symlinks in /usr/lib/ccache/bin Mike Gilbert
@ 2016-09-24  7:37 ` Zac Medico
  2016-09-24 12:09   ` Mike Gilbert
  0 siblings, 1 reply; 3+ messages in thread
From: Zac Medico @ 2016-09-24  7:37 UTC (permalink / raw
  To: gentoo-portage-dev

On Fri, Sep 23, 2016 at 7:55 PM, Mike Gilbert <floppym@gentoo.org> 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-portage-dev] [PATCH] ebuild: look for ccache symlinks in /usr/lib/ccache/bin
  2016-09-24  7:37 ` Zac Medico
@ 2016-09-24 12:09   ` Mike Gilbert
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Gilbert @ 2016-09-24 12:09 UTC (permalink / raw
  To: gentoo-portage-dev

On Sat, Sep 24, 2016 at 3:37 AM, Zac Medico <zmedico@gentoo.org> wrote:
> On Fri, Sep 23, 2016 at 7:55 PM, Mike Gilbert <floppym@gentoo.org> 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!


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-24 12:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-24  2:55 [gentoo-portage-dev] [PATCH] ebuild: look for ccache symlinks in /usr/lib/ccache/bin Mike Gilbert
2016-09-24  7:37 ` Zac Medico
2016-09-24 12:09   ` Mike Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox