Re: [ccache] ccache error: Failed to create temporary file... Read-only file system

2021-10-24 Thread Bernd Petrovitsch via ccache

Hi all!

On 24/10/2021 15:12, Raju C K via ccache wrote:
[...]

The system worked fine earlier, in the same environment, where .ccache 
directory was read-write mounted system. No changes have been made to the 
configuration.


Strange - I don't think - I fail to see any somewhat valid reason that - 
it makes sense to try to get ccache to work with a read-only cache 
directory 


Even if one disables all statistic stuff (in case that is possible - I 
never tried that) 



Error came up as a complete surprise, and I just wanted to verify whether any 
changes were made to ccache-4 that would throw up that warning.
I will keep investigating and will report back here, if I overcome this hurdle.


Kind regards,
Bernd
--
Bernd Petrovitsch  Email : be...@petrovitsch.priv.at
 LUGA : http://www.luga.at

___
ccache mailing list
ccache@lists.samba.org
https://lists.samba.org/mailman/listinfo/ccache


Re: [ccache] ccache error: Failed to create temporary file... Read-only file system

2021-10-24 Thread Raju C K via ccache


ccache *caches* something and writes the cache to some filesystem.
Obviously, that should be - thus - writable.
And obviously, the home directory of that use (or at least the
/home/ck/.ccache directory) is on a read-only mounted filesystem.

You need to tell more about your compiling environment (I never built
something for Android anywhere ...).

> Can anyone help or show some resources to read/refer ?
===
Oh.. Sorry for not elaborating.
The system worked fine earlier, in the same environment, where .ccache 
directory was read-write mounted system. No changes have been made to the 
configuration.

Error came up as a complete surprise, and I just wanted to verify whether any 
changes were made to ccache-4 that would throw up that warning.

I will keep investigating and will report back here, if I overcome this hurdle.

Thanks,
CK
___
ccache mailing list
ccache@lists.samba.org
https://lists.samba.org/mailman/listinfo/ccache


Re: [ccache] ccache error: Failed to create temporary file... Read-only file system

2021-10-24 Thread Bernd Petrovitsch via ccache

Hi all!

On 22/10/2021 18:48, Raju C K via ccache wrote:
[...]

I am trying to build bootimage from kernel sources for android. I have ccache 
enabled with max_size 90G.
The ccache version is 4.2.1

Compilation stops, throwing a "ccache error: Failed to create temporary file 
/home/ck/.ccache/tmp/tmp.a.Xdafd Read only file system".


ccache *caches* something and writes the cache to some filesystem.
Obviously, that should be - thus - writable.
And obviously, the home directory of that use (or at least the
/home/ck/.ccache directory) is on a read-only mounted filesystem.

You need to tell more about your compiling environment (I never built 
something for Android anywhere ...).



Can anyone help or show some resources to read/refer ?


Any basic Unix book/documentation should mention "rw vs ro" mounts of 
filesystems (of any type) ...


Kind regards,
Bernd
--
Bernd Petrovitsch  Email : be...@petrovitsch.priv.at
 LUGA : http://www.luga.at

___
ccache mailing list
ccache@lists.samba.org
https://lists.samba.org/mailman/listinfo/ccache


[ccache] ccache error: Failed to create temporary file... Read-only file system

2021-10-23 Thread Raju C K via ccache
Hi,
I need a help.
I am trying to build bootimage from kernel sources for android. I have ccache 
enabled with max_size 90G.
The ccache version is 4.2.1

Compilation stops, throwing a "ccache error: Failed to create temporary file 
/home/ck/.ccache/tmp/tmp.a.Xdafd Read only file system".

Can anyone help or show some resources to read/refer ?

Rgds,
CK
___
ccache mailing list
ccache@lists.samba.org
https://lists.samba.org/mailman/listinfo/ccache