Home > other >  Beam source compilation problems, in the hope that we discuss together
Beam source compilation problems, in the hope that we discuss together

Time:09-16

Hello everyone, I out (https://github.com/apache/beam) to download the above beam source, and then use./gradlew build command to compile when the following two mistakes, don't know if you have ever encountered such a situation, hope everybody can give a hand to a solution, thank you!
Error details:

Task: beam - SDKS - go: resolveBuildDependencies FAILED

FAILURE: the Build completed with 2 failures.

1: Task failed with an exception.
-- -- -- -- -- -- -- -- -- -- --
* What went wrong:
Execution failed for task ': beam - SDKS - python: setupVirtualenv'.
A problem occurred starting process 'command' virtualenv '

* Try:
Run with -- stacktrace option to get the stack trace. Run with -- the info or -- debug option to get more the log output. The Run with -- scan to get full insights.
==============================================================================

2: the Task failed with an exception.
-- -- -- -- -- -- -- -- -- -- --
* What went wrong:
Execution failed for task ': beam - SDKS - go: resolveBuildDependencies'.
The Exception in resolution, the message is:
Vendor dependency golang.org/x/text:github.com/coreos/etcd: commit='11214 aa33bf5a47d3d9d8dafe0f6b97237dfe921, urls=[https://github.com/coreos/etcd.git, [email protected]: coreos/etcd git]/vendor/golang.org/x/text does not exist in transitive dependencies of github.com/coreos/etcd#11214aa33bf5a47d3d9d8dafe0f6b97237dfe921
Resolution stack is:
+ - github.com/apache/beam/sdks/go


* Try:
Run with -- stacktrace option to get the stack trace. Run with -- the info or -- debug option to get more the log output. The Run with -- scan to get full insights.
==============================================================================

* Get more help at https://help.gradle.org

Deprecated Gradle the features were 2 in this build, making it incompatible with Gradle 5.0.
See https://docs.gradle.org/4.7/userguide/command_line_interface.html#sec:command_line_warnings

The BUILD FAILED in 8 m 35 s
77 actionable tasks: 77 executed

CodePudding user response:

https://blog.csdn.net/qq_23660243/article/details/54614167

This information some beans, can under reference,

CodePudding user response:

Thanks, but this was developed on the basis of the writing of the beam, I want is to compile beam source code, then generate the jar package available

CodePudding user response:

Have you passed the building Lord compile Beam source, and communication

CodePudding user response:

Someone met this kind of problem? :
Windows compiled groovy file format, according to clew to perform: gradlew spotlessApply has thrown the wrong:
Under Caused by: org. Gradle. API. GradleException: The following files had format violations: 1
The SRC/main/groovy \ org \ apache \ beam \ gradle \ BeamJenkinsPlugin groovy


on Linux didn't this problem

CodePudding user response:

I am using version is 2.11.0
  • Related