aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2019-03-13 16:16:57 +0800
committerHongxu Jia <hongxu.jia@windriver.com>2019-08-09 15:33:03 +0800
commitc7cecce65e2c197ffea0ca1e0fafe0931242bd35 (patch)
treebfe46ed8dcf43a776196e5c7860c6128365f95a0 /recipes-devtools
parent72782cd87453916bc0f71668132026834db0ea8c (diff)
downloadmeta-tensorflow-c7cecce65e2c197ffea0ca1e0fafe0931242bd35.tar.gz
meta-tensorflow-c7cecce65e2c197ffea0ca1e0fafe0931242bd35.tar.bz2
meta-tensorflow-c7cecce65e2c197ffea0ca1e0fafe0931242bd35.zip
fix `Failed to extract install_base_key' while running bazel
1. The problem is the binary is edited after by setting the rpath. Which might mess up with zip data, you might want to run zip -A on Bazel. It stills needs to extract the install key to verify it does not need to extract all the remaining parts. Also Bazel contains other C++ binary and you are going to run in the rpath problem all the time. https://github.com/bazelbuild/bazel/issues/2978 2. Since binary bazel in recipe-sysroot-native is a hardlink, while multiple recipes invoke one bazel at the same time, there is probably a race error ... FATAL: Failed to open Bazel as a zip file: (error: 5): Input/output error ... Copy and run a duplicated bazel could workaround it Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Diffstat (limited to 'recipes-devtools')
-rw-r--r--recipes-devtools/bazel/bazel-native_0.21.0.bb1
1 files changed, 0 insertions, 1 deletions
diff --git a/recipes-devtools/bazel/bazel-native_0.21.0.bb b/recipes-devtools/bazel/bazel-native_0.21.0.bb
index 122e507..debc30c 100644
--- a/recipes-devtools/bazel/bazel-native_0.21.0.bb
+++ b/recipes-devtools/bazel/bazel-native_0.21.0.bb
@@ -29,5 +29,4 @@ do_compile () {
do_install () {
install -d ${D}${bindir}
install -m 0755 ${S}/output/bazel ${D}${bindir}
- create_cmdline_wrapper ${D}/${bindir}/bazel \$BAZEL_ARGS
}