beam-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henning Rohde <hero...@google.com>
Subject Re: Go SDK build failures with maven
Date Thu, 19 Apr 2018 17:01:15 GMT
The Go build works best with Gradle and that's what you should use (other
than possibly manually running go build etc). It looks like the build might
be broken due to the Go streaming PR independently of the build tooling.
Let me take a look.

On Thu, Apr 19, 2018 at 7:09 AM Colm O hEigeartaigh <coheigea@apache.org>
wrote:

> Hi all,
>
> Is the Apache Maven build still maintained? I'm seeing some recent
> failures in the Go SDK:
>
> [INFO] --- mvn-golang-wrapper:2.1.7:test (go-test) @ beam-sdks-go ---
> [INFO] Prepared command line : bin/go test ./...
> [ERROR]
> [ERROR] ---------Exec.Err---------
> [ERROR] /home/colm/.mvnGoLang/.go_path/src/
> cloud.google.com/go/pubsub/subscription.go:30:2: cannot find package "
> golang.org/x/sync/errgroup" in any of:
> [ERROR]     /home/colm/.mvnGoLang/go1.9.linux-amd64/src/
> golang.org/x/sync/errgroup (from $GOROOT)
> [ERROR]     /home/colm/.mvnGoLang/.go_path/src/golang.org/x/sync/errgroup
> (from $GOPATH)
> [ERROR]     /home/colm/src/apache/beam/sdks/go/target/src/
> golang.org/x/sync/errgroup
> [ERROR] /home/colm/.mvnGoLang/.go_path/src/
> cloud.google.com/go/pubsub/flow_controller.go:19:2: cannot find package "
> golang.org/x/sync/semaphore" in any of:
> [ERROR]     /home/colm/.mvnGoLang/go1.9.linux-amd64/src/
> golang.org/x/sync/semaphore (from $GOROOT)
> [ERROR]     /home/colm/.mvnGoLang/.go_path/src/golang.org/x/sync/semaphore
> (from $GOPATH)
> [ERROR]     /home/colm/src/apache/beam/sdks/go/target/src/
> golang.org/x/sync/semaphore
> [ERROR]
>
> Incidentally, when run via gradle I see:
>
> /home/colm/src/apache/beam/sdks/go/pkg/beam/util/pubsubx/pubsub.go:75:
> wrong number of args for format in Errorf call: 1 needed but 2 args
> /home/colm/src/apache/beam/sdks/go/pkg/beam/util/pubsubx/pubsub.go:78:
> wrong number of args for format in Errorf call: 1 needed but 2 args
> /home/colm/src/apache/beam/sdks/go/target/src/
> github.com/apache/beam/sdks/go/pkg/beam/util/pubsubx/pubsub.go:75: wrong
> number of args for format in Errorf call: 1 needed but 2 args
> /home/colm/src/apache/beam/sdks/go/target/src/
> github.com/apache/beam/sdks/go/pkg/beam/util/pubsubx/pubsub.go:78: wrong
> number of args for format in Errorf call: 1 needed but 2 args
>
>
> Colm.
>
>
> --
> Colm O hEigeartaigh
>
> Talend Community Coder
> http://coders.talend.com
>

Mime
View raw message