Skip to contentSkip to conversation

go-dep: Add 0.2.0 release

PATCH Superseded Otavio Salvador 4 participants 8 messages Jul 28, 2017 – Aug 1, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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
new file mode 100644
index 0000000000..2b116c9af2
@@ -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
#1 lore raw
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

---

 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 -1
new file mode 100644
index 0000000000..2b116c9af2
@@ -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

#2 lore raw
In reply to Otavio Salvador

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.

---

 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 +4 -0
new file mode 100644
index 0000000000..2b116c9af2
@@ -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

#3 lore raw

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 within do_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
#4 lore raw
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 within do_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
#5 lore raw
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 within do_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_64 because 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
#6 lore raw

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/directories

were

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 if

they

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_64 because 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.

--
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

#7 lore raw
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 within do_install.

Quoted 1 line

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_64 because 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.

--
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