Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-3249 Use Gradle to build/release project
  3. BEAM-3460

On fresh checkout, failure of "./gradlew build" for Go due to "Cannot recognized package: common"

Details

    Description

      After ./gradlew clean && ./gradlew build the python build fails because of an issue in dependency resolution in Go.

      FAILURE: Build completed with 2 failures.
      
      1: Task failed with an exception.
      -----------
      * What went wrong:
      Execution failed for task ':beam-sdks-parent:beam-sdks-python:lint'.
      > A problem occurred starting process 'command 'tox''
      
      * Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
      ==============================================================================
      
      2: Task failed with an exception.
      -----------
      * What went wrong:
      Execution failed for task ':beam-sdks-parent:beam-sdks-go:resolveBuildDependencies'.
      > Exception in resolution, message is:
        Cannot recognized package: common
        Resolution stack is:
        +- github.com/apache/beam/sdks/go
         +- golang.org/x/oauth2#30785a2c434e431ef7c507b54617d6a951d5f2b4
          +- cloud.google.com/go#8e80142a8cf430971bc659922cabeb64c553bef5
           +- go.opencensus.io#2191e3e86ea6a0d94dcf946813ce50cb3b88502f
            +- github.com/prometheus/client_golang#f02bfc3484a6b03d1fc00d72d86add103ef9567b
             +- github.com/prometheus/common#89604d197083d4781071d3c65855d24ecfb0a563
              +- github.com/go-kit/kit#953e747656a7bbb5e1f998608b460458958b70cc
               +- github.com/apache/thrift#a15060acd81d72fa364a7aab327aa8c41d02958f
      
      
      * Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
      ==============================================================================
      
      * Get more help at https://help.gradle.org
      
      BUILD FAILED in 6m 13s
      92 actionable tasks: 92 executed
      

      Attachments

        Issue Links

          Activity

            People

              herohde Henning Rohde
              kenn Kenneth Knowles
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: