]> code.ossystems Code Review - openembedded-core.git/commitdiff
go-dep: disable PTEST_ENABLED for mips and mips64
authorChen Qi <Qi.Chen@windriver.com>
Tue, 30 Oct 2018 06:32:42 +0000 (14:32 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Nov 2018 12:14:05 +0000 (12:14 +0000)
The current go-dep does not compile ptest successfully on mips
and mips64. So as a workaround, disable PTEST_ENABLED explicitly
to avoid error like below.

  | vet config not found

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/go/go-dep_0.5.0.bb

index f0ce60a8ec6394d4e1c900e92d95bb463a5ea6b3..cfc2186b31cfac433f6cbb85bc5ff6c48dfeca68 100644 (file)
@@ -28,3 +28,8 @@ INSANE_SKIP_${PN} += "textrel"
 # http://errors.yoctoproject.org/Errors/Details/185632/
 # ERROR: QA Issue: ELF binary '/work/aarch64-oe-linux/go-dep/0.4.1-r0/packages-split/go-dep-ptest/usr/lib/go-dep/ptest/github.com/golang/dep/cmd/dep/dep.test' has relocations in .text [textrel]  
 INSANE_SKIP_${PN}-ptest += "textrel"
+
+# For compiling ptest on mips and mips64, the current go-dep version fails with the go 1.11 toolchain.
+# error message: vet config not found
+PTEST_ENABLED_mips = "0"
+PTEST_ENABLED_mips64 = "0"