[oe-commits] [openembedded-core] 27/60: go-dep: disable PTEST_ENABLED for mips and mips64

git at git.openembedded.org git at git.openembedded.org
Tue Nov 6 11:58:27 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 4f5293837b5920e55d056d019b63e09da3d169e5
Author: Chen Qi <Qi.Chen at windriver.com>
AuthorDate: Tue Oct 30 14:32:42 2018 +0800

    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
    
    Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-devtools/go/go-dep_0.5.0.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta/recipes-devtools/go/go-dep_0.5.0.bb b/meta/recipes-devtools/go/go-dep_0.5.0.bb
index f0ce60a..cfc2186 100644
--- a/meta/recipes-devtools/go/go-dep_0.5.0.bb
+++ b/meta/recipes-devtools/go/go-dep_0.5.0.bb
@@ -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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list