diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2015-03-30 09:42:40 -0500 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2015-03-30 23:45:18 -0400 |
commit | 5ef987dc6ddace46825b119f910b3b792ed3318e (patch) | |
tree | a613010b8ab68bd74177ac8e7a2ba8aa59eb7f1d | |
parent | 5a9fa2ef2488be21dbe2241a45cd299fdec895ca (diff) | |
download | meta-virtualization-5ef987dc6ddace46825b119f910b3b792ed3318e.tar.gz |
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 <jason.wessel@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r-- | recipes-containers/docker/docker_git.bb | 5 |
1 files changed, 5 insertions, 0 deletions
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 = "\ | |||
25 | file://hi.Dockerfile \ | 25 | file://hi.Dockerfile \ |
26 | " | 26 | " |
27 | 27 | ||
28 | # The golang-cross embeds a compiler invocation for the pre-parser | ||
29 | # that is incompatible with the $CC definition used by the compiler | ||
30 | # templates so disable CCACHE | ||
31 | CCACHE = "" | ||
32 | |||
28 | # Apache-2.0 for docker | 33 | # Apache-2.0 for docker |
29 | LICENSE = "Apache-2.0" | 34 | LICENSE = "Apache-2.0" |
30 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1cc0497778922bfd6cb48721deb80dc7" | 35 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1cc0497778922bfd6cb48721deb80dc7" |