All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] go-dep: Add 0.3.0 release
@ 2017-09-03 19:25 Otavio Salvador
  2017-09-04 10:09 ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2017-09-03 19:25 UTC (permalink / raw)
  To: OpenEmbedded Core Mailing List; +Cc: 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 <otavio@ossystems.com.br>
---

Changes in v2:
- Update to 0.3.0

 meta/recipes-devtools/go/go-dep_0.3.0.bb | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta/recipes-devtools/go/go-dep_0.3.0.bb

diff --git a/meta/recipes-devtools/go/go-dep_0.3.0.bb b/meta/recipes-devtools/go/go-dep_0.3.0.bb
new file mode 100644
index 0000000000..66e30acbd3
--- /dev/null
+++ b/meta/recipes-devtools/go/go-dep_0.3.0.bb
@@ -0,0 +1,20 @@
+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.3.0 tag
+SRCREV = "7a91b794bbfbf1f3b8b79823799316451127801b"
+
+inherit go
+
+GO_INSTALL = "${GO_IMPORT}/cmd/dep"
+
+INSANE_SKIP_${PN} += "ldflags"
+
+BBCLASSEXTEND = "native nativesdk"
+
+RDEPENDS_${PN}-staticdev += "bash"
-- 
2.14.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] go-dep: Add 0.3.0 release
  2017-09-03 19:25 [PATCH v2] go-dep: Add 0.3.0 release Otavio Salvador
@ 2017-09-04 10:09 ` Burton, Ross
  2017-09-04 17:46   ` Otavio Salvador
  0 siblings, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2017-09-04 10:09 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: OpenEmbedded Core Mailing List

[-- Attachment #1: Type: text/plain, Size: 760 bytes --]

On 3 September 2017 at 20:25, Otavio Salvador <otavio@ossystems.com.br>
wrote:

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

ERROR: go-dep-0.3.0-r0 do_package: QA Issue: go-dep: Files/directories were
installed but not shipped in any package:
  /usr/lib64/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.
go-dep: 1 installed and not shipped files. [installed-vs-shipped]

Ross

[-- Attachment #2: Type: text/html, Size: 1187 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] go-dep: Add 0.3.0 release
  2017-09-04 10:09 ` Burton, Ross
@ 2017-09-04 17:46   ` Otavio Salvador
  2017-09-04 19:29     ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2017-09-04 17:46 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Otavio Salvador, OpenEmbedded Core Mailing List

On Mon, Sep 4, 2017 at 7:09 AM, Burton, Ross <ross.burton@intel.com> wrote:
> On 3 September 2017 at 20:25, Otavio Salvador <otavio@ossystems.com.br>
> wrote:
>>
>> 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.
>
>
> ERROR: go-dep-0.3.0-r0 do_package: QA Issue: go-dep: Files/directories were
> installed but not shipped in any package:
>   /usr/lib64/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.
> go-dep: 1 installed and not shipped files. [installed-vs-shipped]

I know and this is an issue with our Go toolchain support. It fails
when we are building for same architecture than our build host.

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] go-dep: Add 0.3.0 release
  2017-09-04 17:46   ` Otavio Salvador
@ 2017-09-04 19:29     ` Burton, Ross
  2017-09-04 19:33       ` Otavio Salvador
  0 siblings, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2017-09-04 19:29 UTC (permalink / raw)
  To: Otavio Salvador, Khem Raj; +Cc: Otavio Salvador, OpenEmbedded Core Mailing List

[-- Attachment #1: Type: text/plain, Size: 1361 bytes --]

On 4 September 2017 at 18:46, Otavio Salvador <
otavio.salvador@ossystems.com.br> wrote:

> On Mon, Sep 4, 2017 at 7:09 AM, Burton, Ross <ross.burton@intel.com>
> wrote:
> > On 3 September 2017 at 20:25, Otavio Salvador <otavio@ossystems.com.br>
> > wrote:
> >>
> >> 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.
> >
> >
> > ERROR: go-dep-0.3.0-r0 do_package: QA Issue: go-dep: Files/directories
> were
> > installed but not shipped in any package:
> >   /usr/lib64/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.
> > go-dep: 1 installed and not shipped files. [installed-vs-shipped]
>
> I know and this is an issue with our Go toolchain support. It fails
> when we are building for same architecture than our build host.
>

(CCing Khem)

Sounds like a serious problem.  Presumably different tooling is used to
build go-hellworld, as that doesn't have the same problem?

Do we need a bug for this?  How critical is it to fix before 2.4?

Ross

[-- Attachment #2: Type: text/html, Size: 2040 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] go-dep: Add 0.3.0 release
  2017-09-04 19:29     ` Burton, Ross
@ 2017-09-04 19:33       ` Otavio Salvador
  0 siblings, 0 replies; 5+ messages in thread
From: Otavio Salvador @ 2017-09-04 19:33 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Otavio Salvador, OpenEmbedded Core Mailing List

On Mon, Sep 4, 2017 at 4:29 PM, Burton, Ross <ross.burton@intel.com> wrote:
> On 4 September 2017 at 18:46, Otavio Salvador
> <otavio.salvador@ossystems.com.br> wrote:
>>
>> On Mon, Sep 4, 2017 at 7:09 AM, Burton, Ross <ross.burton@intel.com>
>> wrote:
>> > On 3 September 2017 at 20:25, Otavio Salvador <otavio@ossystems.com.br>
>> > wrote:
>> >>
>> >> 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.
>> >
>> >
>> > ERROR: go-dep-0.3.0-r0 do_package: QA Issue: go-dep: Files/directories
>> > were
>> > installed but not shipped in any package:
>> >   /usr/lib64/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.
>> > go-dep: 1 installed and not shipped files. [installed-vs-shipped]
>>
>> I know and this is an issue with our Go toolchain support. It fails
>> when we are building for same architecture than our build host.
>
>
> (CCing Khem)
>
> Sounds like a serious problem.  Presumably different tooling is used to
> build go-hellworld, as that doesn't have the same problem?
>
> Do we need a bug for this?  How critical is it to fix before 2.4?

Honestly, Go support needs some love for 2.4. I am investing some
quality time reviewing what is missing when comparing to meta-golang
and there is a lot to improve.

The error is nothing obvious to me. However, I am cleaning up the
integration so we have it in better quality for the release.
Eventually, I will end fixing this error.

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-09-04 19:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-03 19:25 [PATCH v2] go-dep: Add 0.3.0 release Otavio Salvador
2017-09-04 10:09 ` Burton, Ross
2017-09-04 17:46   ` Otavio Salvador
2017-09-04 19:29     ` Burton, Ross
2017-09-04 19:33       ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.