cri-o: workaround failure since go upgraded to 1.13
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 11 lines · hongxu
Since go was upgraded to 1.13, there is a failure:
...
| src/vendor/golang.org/x/net/http2/frame.go:17:2: use of vendored package not allowed
| ../../../recipe-sysroot/usr/lib64/go/src/net/http/h2_bundle.go:49:2: use of vendored package not allowed
...Refer upstream suggestion [1]:
`or copying your vendor contents into GOPATH/src rather than mapping them in to GOPATH/src/vendor.'
Sorry for the wrong link, V2 incoming
//Hongxu
Quoted 28 lines
Signed-off-by Hongxu Jia <[email protected]>--- recipes-containers/cri-o/cri-o_git.bb | 3 +++ 1 file changed, 3 insertions(+)recipes-containers/cri-o/cri-o_git.bb +3
-1@@ -109,6 +109,9 @@ do_compile() { # fixes the bin/crio build of oe_runmake binaries below ln -sf ../../../../cmd/crio ${S}/src/import/src/github.com/cri-o/cri-o/cmd/ + # workaround `use of vendored package not allowed' failure + mv ${S}/src/import/vendor/golang.org ${S}/src/import/ + cd ${S}/src/import if [ "${CRIO_BUILD_CROSS}" = "1" ]; then -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#4788): https://lists.yoctoproject.org/g/meta-virtualization/message/4788
Mute This Topic: https://lists.yoctoproject.org/mt/64419739/3617049
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-