I’m trying to build from the github source and I keep running into the following when using the docker-compose.yml file to build a container.
I’m obviously doing something stupid, but I don’t know what. Any suggestions?
gatewaybridge_1 | Compiling source for linux arm
gatewaybridge_1 | internal/backend/mqttpubsub/backend.go:13:2: cannot find package “github.com/brocaar/loraserver/api/gw” in any of:
gatewaybridge_1 | /usr/local/go/src/github.com/brocaar/loraserver/api/gw (from $GOROOT)
gatewaybridge_1 | /go/src/github.com/brocaar/loraserver/api/gw (from $GOPATH)
gatewaybridge_1 | internal/backend/mqttpubsub/backend.go:14:2: cannot find package “github.com/brocaar/lorawan” in any of:
gatewaybridge_1 | /usr/local/go/src/github.com/brocaar/lorawan (from $GOROOT)
gatewaybridge_1 | /go/src/github.com/brocaar/lorawan (from $GOPATH)
gatewaybridge_1 | internal/gateway/backend.go:15:2: cannot find package “github.com/brocaar/lorawan/band” in any of:
gatewaybridge_1 | /usr/local/go/src/github.com/brocaar/lorawan/band (from $GOROOT)
gatewaybridge_1 | /go/src/github.com/brocaar/lorawan/band (from $GOPATH)
gatewaybridge_1 | internal/backend/mqttpubsub/backend.go:15:2: cannot find package “github.com/eclipse/paho.mqtt.golang” in any of:
gatewaybridge_1 | /usr/local/go/src/github.com/eclipse/paho.mqtt.golang (from $GOROOT)
gatewaybridge_1 | /go/src/github.com/eclipse/paho.mqtt.golang (from $GOPATH)
gatewaybridge_1 | internal/backend/mqttpubsub/backend.go:16:2: cannot find package “github.com/pkg/errors” in any of:
gatewaybridge_1 | /usr/local/go/src/github.com/pkg/errors (from $GOROOT)
gatewaybridge_1 | /go/src/github.com/pkg/errors (from $GOPATH)
gatewaybridge_1 | internal/backend/mqttpubsub/backend.go:17:2: cannot find package “github.com/sirupsen/logrus” in any of:
gatewaybridge_1 | /usr/local/go/src/github.com/sirupsen/logrus (from $GOROOT)
gatewaybridge_1 | /go/src/github.com/sirupsen/logrus (from $GOPATH)
gatewaybridge_1 | cmd/lora-gateway-bridge/cmd/configfile.go:9:2: cannot find package “github.com/spf13/cobra” in any of:
gatewaybridge_1 | /usr/local/go/src/github.com/spf13/cobra (from $GOROOT)
gatewaybridge_1 | /go/src/github.com/spf13/cobra (from $GOPATH)
gatewaybridge_1 | cmd/lora-gateway-bridge/cmd/root.go:13:2: cannot find package “github.com/spf13/viper” in any of:
gatewaybridge_1 | /usr/local/go/src/github.com/spf13/viper (from $GOROOT)
gatewaybridge_1 | /go/src/github.com/spf13/viper (from $GOPATH)
gatewaybridge_1 | make: *** [Makefile:10: build] Error 1