Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 545654 - dev-java/jffi-1.2.8: sandbox failures on /var/cache/ccache (with FEATURES=-ccache)
Summary: dev-java/jffi-1.2.8: sandbox failures on /var/cache/ccache (with FEATURES=-cc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-05 21:38 UTC by Michał Górny
Modified: 2015-07-26 08:18 UTC (History)
0 users

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


Attachments
Build log (.gz) (dev-java:jffi-1.2.8:20150405-213445.log.gz,3.06 KB, application/gzip)
2015-04-05 21:38 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-04-05 21:38:08 UTC
Created attachment 400634 [details]
Build log (.gz)

make -j12 SRC_DIR=jni JNI_DIR=jni BUILD_DIR=build/jni VERSION=1.2 USE_SYSTEM_LIBFFI=1 -f j
ni/GNUmakefile 
 * ACCESS DENIED:  utimes:       /var/cache/ccache
 * ACCESS DENIED:  utimes:       /var/cache/ccache

and so on.

F: utimes
S: deny
P: /var/cache/ccache
A: /var/cache/ccache
R: /var/cache/ccache
C: /usr/bin/ccache x86_64-pc-linux-gnu-gcc-4.9.2 -march=k8-sse3 -mcx16 -msahf --param l1-c
ache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -O2 -pipe -frecord-gc
c-switches -O2 -fno-omit-frame-pointer -fno-strict-aliasing -DNDEBUG -Wundef -W -Wall -Wno
-unused -Wno-parentheses -Wno-unused-parameter -Ibuild/jni -Ibuild/jni/jni -Ijni -Ijni/jff
i -fPIC -I/opt/icedtea-bin-7.2.5.3/include -I/opt/icedtea-bin-7.2.5.3/include/linux -I/usr
/lib64/libffi-3.2.1/include -D_REENTRANT -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -pthread -c j
ni/jffi/LongDouble.c -o build/jni/jffi/LongDouble.o 

It looks like it automagically tries to use ccache when found installed. Full build log attached.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-07-26 08:18:15 UTC
+  26 Jul 2015; Michał Górny <mgorny@gentoo.org> jffi-1.2.8.ebuild:
+  Fix implicit ccache use, bug #545654.

Enjoy!