Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 531182 - dev-vcs/fossil-20140612172556 with dev-util/ccache-3.2 - sandbox violations in /var/ccache
Summary: dev-vcs/fossil-20140612172556 with dev-util/ccache-3.2 - sandbox violations i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rafael Martins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-29 22:06 UTC by Sławomir Nizio
Modified: 2018-04-30 21:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sandbox log (sandbox-18114.log,4.03 KB, text/plain)
2014-11-29 22:15 UTC, Sławomir Nizio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sławomir Nizio 2014-11-29 22:06:11 UTC
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
Comment 1 Sławomir Nizio 2014-11-29 22:15:00 UTC
Created attachment 390612 [details]
sandbox log
Comment 2 Aaron W. Swenson gentoo-dev 2016-06-08 09:58:09 UTC
This was fixed at some point.

I'm running ccache-3.2.4, and emerging fossil-1.34 causes no violations.
Comment 3 Sławomir Nizio 2016-07-31 15:15:28 UTC
I had to type:

CCACHE=none emerge fossil

to have it built.
Comment 4 Sławomir Nizio 2017-12-07 17:32:35 UTC
Same with 2.4. I wonder if you had /var/ccache like I suggested.
Comment 5 Aaron W. Swenson gentoo-dev 2017-12-07 23:28:00 UTC
(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
Comment 6 Enne Eziarc 2018-04-15 08:27:34 UTC
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.
Comment 7 Enne Eziarc 2018-04-30 21:15:23 UTC
Same with 2.5.