The ccache on some hosts will cause the golang-cross package to fail
with the error:

| cmd/fix
| cmd/yacc
| runtime/cgo
| go build runtime/cgo: no buildable Go source files in 
/proj/bitbake_build/tmp/work/x86_64-wrs-linux/golang-cross/1.3-r0/go/src/pkg/runtime/cgo
| WARNING: 
/proj/bitbake_build/tmp/work/x86_64-wrs-linux/golang-cross/1.3-r0/temp/do_compile/run.do_compile.14152:1
 exit 1 from
|   sh -x ./make.bash
| ERROR: Function failed: do_compile

Signed-off-by: Jason Wessel <[email protected]>
---
 recipes-devtools/go/golang-cross_1.3.bb |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/recipes-devtools/go/golang-cross_1.3.bb 
b/recipes-devtools/go/golang-cross_1.3.bb
index 8813298..6d538f9 100644
--- a/recipes-devtools/go/golang-cross_1.3.bb
+++ b/recipes-devtools/go/golang-cross_1.3.bb
@@ -1,3 +1,7 @@
 inherit cross
+
+# CCACHE does not work properly with GO
+CCACHE = ""
+
 require golang-cross.inc
 require golang-${PV}.inc
-- 
1.7.9.5

-- 
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Reply via email to