go-dep: Add 0.2.0 release
PATCH 1/1 go-dep: Add 0.2.0 release
This is the Golang dependency management tool under development; it is ready for production use and intended to be merged onto Golang 1.10. Until that, projects are starting to use it and making it available on OE-Core reduces the Golang integration work for new recipes.
---
meta/recipes-devtools/go/go-dep_0.2.0.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta/recipes-devtools/go/go-dep_0.2.0.bb
meta/recipes-devtools/go/go-dep_0.2.0.bb new file +18 -0
@@ -0,0 +1,18 @@ +SUMMARY = "Dependency management tool for Golang" +HOMEPAGE = "https://github.com/golang/dep" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=1bad315647751fab0007812f70d42c0d" + +GO_IMPORT = "github.com/golang/dep" +SRC_URI = "git://${GO_IMPORT};destsuffix=${BPN}-${PV}/src/${GO_IMPORT};nobranch=1" + +# Points to 0.2.0 tag +SRCREV = "6a17782ed25ba4ccd2adf191990cc32e65c3934c" + +inherit go + +GO_INSTALL = "${GO_IMPORT}/cmd/dep" + +INSANE_SKIP_${PN} += "ldflags" + +BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.13.3
Quoted 6 lines · Otavio Salvador
This is the Golang dependency management tool under development; it is ready for production use and intended to be merged onto Golang 1.10. Until that, projects are starting to use it and making it available on OE-Core reduces the Golang integration work for new recipes.
Looks good. Thanks
Quoted 34 lines
Signed-off-by Otavio Salvador <[email protected]>---
meta/recipes-devtools/go/go-dep_0.2.0.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta/recipes-devtools/go/go-dep_0.2.0.bbmeta/recipes-devtools/go/go-dep_0.2.0.bb new file +18
-1@@ -0,0 +1,18 @@ +SUMMARY = "Dependency management tool for Golang" +HOMEPAGE = "https://github.com/golang/dep" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=1bad315647751fab0007812f70d42c0d" + +GO_IMPORT = "github.com/golang/dep" +SRC_URI = "git://${GO_IMPORT};destsuffix=${BPN}-${PV}/src/${GO_IMPORT};nobranch=1" + +# Points to 0.2.0 tag +SRCREV = "6a17782ed25ba4ccd2adf191990cc32e65c3934c" + +inherit go + +GO_INSTALL = "${GO_IMPORT}/cmd/dep" + +INSANE_SKIP_${PN} += "ldflags" + +BBCLASSEXTEND = "native nativesdk" --2.13.3
Failed in the no-x11 builder at least so far:
ERROR: go-dep-0.2.0-r0 do_package: QA Issue: go-dep: Files/directories were installed but not shipped in any package:
/usr/lib/x86_64-poky-linux/go/bin/dep
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
https://autobuilder.yoctoproject.org/main/builders/nightly-no-x11/builds/537
Ross
Quoted 49 lines · Otavio Salvador
This is the Golang dependency management tool under development; it is ready for production use and intended to be merged onto Golang 1.10. Until that, projects are starting to use it and making it available on OE-Core reduces the Golang integration work for new recipes.
Signed-off-by Otavio Salvador <[email protected]>---
meta/recipes-devtools/go/go-dep_0.2.0.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta/recipes-devtools/go/go-dep_0.2.0.bbmeta/recipes-devtools/go/go-dep_0.2.0.bb new file +4
-0@@ -0,0 +1,18 @@ +SUMMARY = "Dependency management tool for Golang" +HOMEPAGE = "https://github.com/golang/dep" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=
1bad315647751fab0007812f70d42c0d"meta/recipes-devtools/go/go-dep_0.2.0.bb new file +3
-0+ +GO_IMPORT = "github.com/golang/dep" +SRC_URI = "git://${GO_IMPORT};destsuffix=${BPN}-${PV}/src/${GO_IMPORT};nobranch=1"
meta/recipes-devtools/go/go-dep_0.2.0.bb new file +11
-1+ +# Points to 0.2.0 tag +SRCREV = "6a17782ed25ba4ccd2adf191990cc32e65c3934c" + +inherit go + +GO_INSTALL = "${GO_IMPORT}/cmd/dep" + +INSANE_SKIP_${PN} += "ldflags" + +BBCLASSEXTEND = "native nativesdk" --2.13.3
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Hello Ross,
Hello Khem,
Quoted 9 lines · Ross
Failed in the no-x11 builder at least so far:
ERROR: go-dep-0.2.0-r0
do_package: QA Issue: go-dep: Files/directories were installed but not shipped in any package:
/usr/lib/x86_64-poky-linux/go/bin/dep
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them withindo_install.https://autobuilder.yoctoproject.org/main/builders/nightly-no-x11/builds/537
I did reproduce this; I could only reproduce it if I built it with a machine which matches the architecture of host, in my case x86-64. When building for other arch (e.g: ARM) it works as expected.
The problem seems to be a generic problem and I am not experienced enough on the Golang toolchain to look at this. Khem could you take a look and see if you find the root cause?
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Quoted 14 lines · Otavio Salvador
Hello Ross,
Hello Khem,Quoted 9 lines · Ross
Failed in the no-x11 builder at least so far:
ERROR: go-dep-0.2.0-r0
do_package: QA Issue: go-dep: Files/directories were installed but not shipped in any package:
/usr/lib/x86_64-poky-linux/go/bin/dep
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them withindo_install.https://autobuilder.yoctoproject.org/main/builders/nightly-no-x11/builds/537
Quoted 7 lines
I did reproduce this; I could only reproduce it if I built it with a machine which matches the architecture of host, in my case x86-64. When building for other arch (e.g: ARM) it works as expected.
The problem seems to be a generic problem and I am not experienced enough on the Golang toolchain to look at this. Khem could you take a look and see if you find the root cause?
Delete this file, its building it on x86_64 because it can. We only need cross version.
Quoted 1 line
Quoted 21 lines · Khem Raj
Quoted 18 lines · Otavio Salvador
Hello Ross,
Hello Khem,Quoted 9 lines · Ross
Failed in the no-x11 builder at least so far:
ERROR: go-dep-0.2.0-r0
do_package: QA Issue: go-dep: Files/directories were installed but not shipped in any package:
/usr/lib/x86_64-poky-linux/go/bin/dep
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them withindo_install.https://autobuilder.yoctoproject.org/main/builders/nightly-no-x11/builds/537
I did reproduce this; I could only reproduce it if I built it with a machine which matches the architecture of host, in my case x86-64. When building for other arch (e.g: ARM) it works as expected.
Quoted 6 lines
Quoted 3 lines
The problem seems to be a generic problem and I am not experienced enough on the Golang toolchain to look at this. Khem could you take a look and see if you find the root cause?
Delete this file, its building it on
x86_64because it can. We only need cross version.
I am not sure I follow you here.
Using qemux86-64 as target it does NOT install on ${bindir} and surprisingly the installation path does also not match GOBIN_FINAL value.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Verifying this here.
Building for qemuarm puts the binary in /usr/bin/dep. Building for intel-corei7-64 puts the binary in /usr/lib/x86_64-poky-linux/go/bin/dep.
Ross
Quoted 44 lines · Otavio Salvador
Quoted 7 lines · Khem Raj
Quoted 4 lines · Otavio Salvador
Hello Ross,
Hello Khem,On Sat, Jul 29, 2017 at 3:28 PM, Burton, Ross <[email protected]>
Quoted 3 lines · wrote:
Quoted 3 lines
Quoted 3 lines
Failed in the no-x11 builder at least so far:
ERROR: go-dep-0.2.0-r0
do_package: QA Issue: go-dep: Files/directorieswere
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
installed but not shipped in any package:
/usr/lib/x86_64-poky-linux/go/bin/dep
Please set FILES such that these items are packaged. Alternatively ifthey
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
are unneeded, avoid installing them or delete them within
do_install.https://autobuilder.yoctoproject.org/main/builders/nightly-no-x11/
builds/537
Quoted 11 lines
Quoted 8 lines
I did reproduce this; I could only reproduce it if I built it with a machine which matches the architecture of host, in my case x86-64. When building for other arch (e.g: ARM) it works as expected.
The problem seems to be a generic problem and I am not experienced enough on the Golang toolchain to look at this. Khem could you take a look and see if you find the root cause?
Delete this file, its building it on
x86_64because it can. We only need cross version.I am not sure I follow you here.
Using qemux86-64 as target it does NOT install on ${bindir} and surprisingly the installation path does also not match
GOBIN_FINALvalue.--
Otavio SalvadorO.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Quoted 5 lines · Ross
Verifying this here.
Building for qemuarm puts the binary in
/usr/bin/dep. Building for intel-corei7-64 puts the binary in/usr/lib/x86_64-poky-linux/go/bin/dep.
may be configure logs can tell why is it making this distinction. Since we are not building
for multiarch, using /usr/bin/dep might be ok
Quoted 50 lines
Ross
Quoted 44 lines · Otavio Salvador
Quoted 25 lines · Khem Raj
Quoted 22 lines · Otavio Salvador
Hello Ross,
Hello Khem,Quoted 11 lines · Ross
Failed in the no-x11 builder at least so far:
ERROR: go-dep-0.2.0-r0
do_package: QA Issue: go-dep: Files/directories were
installed but not shipped in any package:
/usr/lib/x86_64-poky-linux/go/bin/dep
Please set FILES such that these items are packaged. Alternatively if they
are unneeded, avoid installing them or delete them withindo_install.I did reproduce this; I could only reproduce it if I built it with a machine which matches the architecture of host, in my case x86-64. When building for other arch (e.g: ARM) it works as expected.
Quoted 6 lines
Quoted 3 lines
The problem seems to be a generic problem and I am not experienced enough on the Golang toolchain to look at this. Khem could you take a look and see if you find the root cause?
Delete this file, its building it on
x86_64because it can. We only need cross version.I am not sure I follow you here.
Using qemux86-64 as target it does NOT install on ${bindir} and surprisingly the installation path does also not match
GOBIN_FINALvalue.--
Otavio SalvadorO.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750