Skip to contentSkip to conversation

go-dep: disable PTEST_ENABLED for mips and mips64

PATCH New Chen Qi 1 participant 2 messages Oct 30, 2018

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

cover go-dep: disable PTEST_ENABLED for mips and mips64

*** BLURB HERE ***
The following changes since commit 84eecb017ef92ef36b4df730908828e54aeff85c:

build-appliance-image: Update to master head revision (2018-10-29 17:38:16 +0000)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib ChenQi/go-dep
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/go-dep

Chen Qi (1):
go-dep: disable PTEST_ENABLED for mips and mips64

 meta/recipes-devtools/go/go-dep_0.5.0.bb | 5 +++++
 1 file changed, 5 insertions(+)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/1 go-dep: disable PTEST_ENABLED for mips and mips64

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

---
 meta/recipes-devtools/go/go-dep_0.5.0.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta/recipes-devtools/go/go-dep_0.5.0.bb +5 -0
index f0ce60a..cfc2186 100644
@@ -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"
Signature · 1 line
1.9.1