Hi,
My comments are in-line.
On 23/06/2020 19:37, Stefan Herbrechtsmeier wrote:
Hi,
because of the changes to the 'GO111MODULE' variable in go-dep and
glide, I wonder if Go is ready for use. I would have expected the
variable GO111MODULE to be set to 'off' within the go.bbclass because go
could bypass the fetch task unobserved otherwise.
Well I guess it depends with what you mean by "ready to use".
I tried it a couple of years ago and now again.
Do you want to build an SDK with the YP and include Golang support?
As far as I saw this kind of works.
Do you want to write a recipe for a non trivial project?
That's fun!
I tried to build from sources telegraf, influxdb and grafana and it's
great fun for various reasons, among others things depenencies to rust
and yarn.
I somewhat managed to get influxdb 1.8.0 to compile from sources, but
only with some hacks and by including some dependencies explicitly,
which should not need to be included explicitly.
Having said that - I am not a Golang person, so correct me if I'm wrong[1].
[1]
https://gitlab.com/meta-layers/meta-tig/-/blob/master/recipes-from-source/github.com-influxdata-influxdb/github.com-influxdata-influxdb_1.8.0.bb
... most recipes you find out there in the wild just include prebuilt
binaries...
There are also quite a few problems with reproduce ability and licensing
depending on how you write your recipe.
In my recipe I only use the top level license, which is apparently
wrong. In prebuilt packages it's not much better with licensing.
Regards
Stefan
Regards,
Robert
-=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#140073):
https://lists.openembedded.org/g/openembedded-core/message/140073
Mute This Topic: https://lists.openembedded.org/mt/75063635/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-