Skip to contentSkip to conversation

golang-cross: disable CCACHE support for golang-cross

PATCH New Jason Wessel 1 participant 1 message Mar 28, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 golang-cross: disable CCACHE support for golang-cross

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
---
 recipes-devtools/go/golang-cross_1.3.bb |    4 ++++
 1 file changed, 4 insertions(+)
recipes-devtools/go/golang-cross_1.3.bb +4 -0
index 8813298..6d538f9 100644
@@ -1,3 +1,7 @@
 inherit cross
+
+# CCACHE does not work properly with GO
+CCACHE = ""
+
 require golang-cross.inc
 require golang-${PV}.inc
Signature · 1 line
1.7.9.5