sweetbit-io / sweetbit Goto Github PK
View Code? Open in Web Editor NEW๐ Sweet daemon for pairing and control of the Bitcoin-enabled candy dispenser
Home Page: https://sweetbit.io
License: MIT License
๐ Sweet daemon for pairing and control of the Bitcoin-enabled candy dispenser
Home Page: https://sweetbit.io
License: MIT License
Apparently node is bundled into the image even though it is only supposed to be a build time dependency for building the pos
and app
frontends.
During the bitbake
build the go-native-1.12.9-r0
compile step fails with following error:
Log data follows:
| DEBUG: Executing shell function do_compile
| Building Go cmd/dist using /workdir/sweetbit/yocto/build/tmp/work/x86_64-linux/go-native/1.12.9-r0/go1.4/go.
| Building Go toolchain1 using /workdir/sweetbit/yocto/build/tmp/work/x86_64-linux/go-native/1.12.9-r0/go1.4/go.
| Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
| Building Go toolchain2 using go_bootstrap and Go toolchain1.
| go: golang.org/x/[email protected]: unrecognized import path "golang.org/x/net" (https fetch: no http in bootstrap go command)
| go: go.etcd.io/[email protected]: unrecognized import path "go.etcd.io/bbolt" (https fetch: no http in bootstrap go command)
| go: golang.org/x/[email protected]: unrecognized import path "golang.org/x/sys" (https fetch: no http in bootstrap go command)
| go: golang.org/x/[email protected]: unrecognized import path "golang.org/x/text" (https fetch: no http in bootstrap go command)
| go: google.golang.org/[email protected]: unrecognized import path "google.golang.org/appengine" (https fetch: no http in bootstrap go command)
| go: periph.io/x/[email protected]+incompatible: unrecognized import path "periph.io/x/periph" (https fetch: no http in bootstrap go command)
| go: google.golang.org/[email protected]: unrecognized import path "google.golang.org/grpc" (https fetch: no http in bootstrap go command)
| go: google.golang.org/[email protected]: unrecognized import path "google.golang.org/genproto" (https fetch: no http in bootstrap go command)
| go: golang.org/x/[email protected]: unrecognized import path "golang.org/x/crypto" (https fetch: no http in bootstrap go command)
| go: error loading module requirements
| go tool dist: FAILED: /workdir/sweetbit/yocto/build/tmp/work/x86_64-linux/go-native/1.12.9-r0/go/pkg/tool/linux_amd64/go_bootstrap install -gcflags=all= -ldflags=all= -i cmd/asm cmd/cgo cmd/compile cmd/link: exit status 1
| WARNING: exit code 2 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /workdir/sweetbit/yocto/build/tmp/work/x86_64-linux/go-native/1.12.9-r0/temp/log.do_compile.84199)
This happens since the yocto files are part of the sweetd
repository, which has a go.mod
file in its root that is being pulled during compilation. Possible solutions:
build
directory out of project treego.mod
before and after compilation of go-native
sweetd
Go project in src
GO111MODULE=off
in go-native
buildYocto 3.0 brings a lot of great features and improvements.
The raspberry pi layer already supports it, the Mender layer doesn't support it yet, but it should be possible to upgrade it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.