compilation fails: ccache version 3.2 [disabled] dev-util/ccache: 3.2 part of the log: Host System...i686-pc-linux-gnu Build System...i686-pc-linux-gnu C compiler...ccache i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe C++ compiler...ccache c++ -O2 -march=i686 -pipe Build C compiler...cc * ACCESS DENIED: utimes: /var/ccache Checking for stdlib.h...ok * ACCESS DENIED: utimes: /var/ccache * ACCESS DENIED: utimes: /var/ccache * ACCESS DENIED: utimes: /var/ccache ... workaround: CCACHE=none emerge -a fossil (I took that "none" from fossil-src-20140612172556/autosetup/cc.tcl) Reproducible: Always Steps to Reproduce: 1. install ccache (not sure if matters, but it's disabled here) 2. emerge fossil
Created attachment 390612 [details] sandbox log
This was fixed at some point. I'm running ccache-3.2.4, and emerging fossil-1.34 causes no violations.
I had to type: CCACHE=none emerge fossil to have it built.
Same with 2.4. I wonder if you had /var/ccache like I suggested.
(In reply to Sławomir Nizio from comment #4) > Same with 2.4. I wonder if you had /var/ccache like I suggested. C compiler...ccache x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe C++ compiler...ccache c++ -O2 -march=native -pipe Build C compiler...cc Checking for stdlib.h...ok And so on with a successful emerge with CCACHE_DIR not declared in make.conf and declared in make.conf with /var/ccache. Maybe your cache needs to be cleared: # CCACHE_DIR='/var/ccache' ccache -C
I have CCACHE_DIR=/var/cache/ccache in make.conf. Running ccache -C on it fixes this for me, but I noticed the build uses ccache even with FEATURES="-ccache". That doesn't seem right.
Same with 2.5.