xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/glide/glide_0.13.3.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Vendor Package Management for Golang"
2*4882a593SmuzhiyunHOMEPAGE = "https://github.com/Masterminds/glide"
3*4882a593SmuzhiyunDESCRIPTION = "Glide is a Vendor Package Management for Golang"
4*4882a593SmuzhiyunLICENSE = "MIT"
5*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=54905cf894f8cc416a92f4fc350c35b2"
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunGO_IMPORT = "github.com/Masterminds/glide"
8*4882a593SmuzhiyunSRC_URI = "git://${GO_IMPORT};branch=master;protocol=https"
9*4882a593SmuzhiyunSRCREV = "8ed5b9292379d86c39592a7e6a58eb9c903877cf"
10*4882a593Smuzhiyun
11*4882a593Smuzhiyuninherit go
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun# New Go versions has Go modules support enabled by default and cause the Glide
14*4882a593Smuzhiyun# tool build to fail.
15*4882a593Smuzhiyunexport GO111MODULE = "off"
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunRDEPENDS:${PN}-dev += "bash"
18*4882a593SmuzhiyunRDEPENDS:${PN}-ptest += "bash"
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk"
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun# for x86 ends with textrel in ${PN}
23*4882a593Smuzhiyun# http://errors.yoctoproject.org/Errors/Details/185631/
24*4882a593Smuzhiyun# ERROR: QA Issue: ELF binary '/work/i586-oe-linux/glide/0.13.1-r0/packages-split/glide/usr/bin/glide' has relocations in .text [textrel]
25*4882a593SmuzhiyunINSANE_SKIP:${PN} += "textrel"
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun# for aarch64 ends with textrel in ${PN}-ptest
28*4882a593Smuzhiyun# http://errors.yoctoproject.org/Errors/Details/185633/
29*4882a593Smuzhiyun# ERROR: QA Issue: ELF binary '/work/aarch64-oe-linux/glide/0.13.1-r0/packages-split/glide-ptest/usr/lib/glide/ptest/github.com/Masterminds/glide/glide.test' has relocations in .text
30*4882a593Smuzhiyun# ELF binary '/work/aarch64-oe-linux/glide/0.13.1-r0/packages-split/glide-ptest/usr/lib/glide/ptest/github.com/Masterminds/glide/dependency/dependency.test' has relocations in .text
31*4882a593Smuzhiyun# ELF binary '/work/aarch64-oe-linux/glide/0.13.1-r0/packages-split/glide-ptest/usr/lib/glide/ptest/github.com/Masterminds/glide/repo/repo.test' has relocations in .text
32*4882a593Smuzhiyun# ELF binary '/work/aarch64-oe-linux/glide/0.13.1-r0/packages-split/glide-ptest/usr/lib/glide/ptest/github.com/Masterminds/glide/mirrors/mirrors.test' has relocations in .text
33*4882a593Smuzhiyun# ELF binary '/work/aarch64-oe-linux/glide/0.13.1-r0/packages-split/glide-ptest/usr/lib/glide/ptest/github.com/Masterminds/glide/cfg/cfg.test' has relocations in .text
34*4882a593Smuzhiyun# ELF binary '/work/aarch64-oe-linux/glide/0.13.1-r0/packages-split/glide-ptest/usr/lib/glide/ptest/github.com/Masterminds/glide/godep/strip/strip.test' has relocations in .text
35*4882a593Smuzhiyun# ELF binary '/work/aarch64-oe-linux/glide/0.13.1-r0/packages-split/glide-ptest/usr/lib/glide/ptest/github.com/Masterminds/glide/path/path.test' has relocations in .text
36*4882a593Smuzhiyun# ELF binary '/work/aarch64-oe-linux/glide/0.13.1-r0/packages-split/glide-ptest/usr/lib/glide/ptest/github.com/Masterminds/glide/tree/tree.test' has relocations in .text
37*4882a593Smuzhiyun# ELF binary '/work/aarch64-oe-linux/glide/0.13.1-r0/packages-split/glide-ptest/usr/lib/glide/ptest/github.com/Masterminds/glide/util/util.test' has relocations in .text
38*4882a593Smuzhiyun# ELF binary '/work/aarch64-oe-linux/glide/0.13.1-r0/packages-split/glide-ptest/usr/lib/glide/ptest/github.com/Masterminds/glide/action/action.test' has relocations in .text
39*4882a593Smuzhiyun# ELF binary '/work/aarch64-oe-linux/glide/0.13.1-r0/packages-split/glide-ptest/usr/lib/glide/ptest/github.com/Masterminds/glide/cache/cache.test' has relocations in .text [textrel]
40*4882a593SmuzhiyunINSANE_SKIP:${PN}-ptest += "textrel"
41*4882a593Smuzhiyun
42*4882a593Smuzhiyun# fails to run task compile_ptest_base on mips
43*4882a593SmuzhiyunPTEST_ENABLED:mipsarch = "0"
44