From 5ef987dc6ddace46825b119f910b3b792ed3318e Mon Sep 17 00:00:00 2001 From: Jason Wessel Date: Mon, 30 Mar 2015 09:42:40 -0500 Subject: docker: Disable CCACHE because golang will fail on some hosts The following is the type of error you see when CCACHE is enabled. | ---> Making bundle: dynbinary (in bundles/1.5.0-dev/dynbinary) | go build runtime/cgo: no buildable Go source files in /opt/proj/tmp/sysroots/x86_64-linux/usr/lib/x86_64-wrs-linux/go/src/pkg/runtime/cgo | WARNING: /opt/proj/tmp/work/core2-64-wrs-linux/docker/1.5.0+git2243e32cbbf1c9809c262a7376d34ca43a7a36dc-r0/temp/do_compile/run.do_compile.19967:1 exit 1 from | DOCKER_GITCOMMIT="2243e32cbbf1c9809c262a7376d34ca43a7a36dc" ./hack/make.sh dynbinary | ERROR: Function failed: do_compile (log file is located at /opt/proj/tmp/work/core2-64-wrs-linux/docker/1.5.0+git2243e32cbbf1c9809c262a7376d34ca43a7a36dc-r0/temp/do_compile/log.do_compile.19967) Signed-off-by: Jason Wessel Signed-off-by: Bruce Ashfield --- recipes-containers/docker/docker_git.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/recipes-containers/docker/docker_git.bb b/recipes-containers/docker/docker_git.bb index 8357ee80..225745a5 100644 --- a/recipes-containers/docker/docker_git.bb +++ b/recipes-containers/docker/docker_git.bb @@ -25,6 +25,11 @@ SRC_URI = "\ file://hi.Dockerfile \ " +# The golang-cross embeds a compiler invocation for the pre-parser +# that is incompatible with the $CC definition used by the compiler +# templates so disable CCACHE +CCACHE = "" + # Apache-2.0 for docker LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=1cc0497778922bfd6cb48721deb80dc7" -- cgit v1.2.3-54-g00ecf