Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mvn compile error #705

Closed
wengangJi opened this issue Dec 25, 2017 · 3 comments
Closed

mvn compile error #705

wengangJi opened this issue Dec 25, 2017 · 3 comments
Assignees
Labels
question End user question and discussion. wontfix This will not be worked on
Milestone

Comments

@wengangJi
Copy link
Contributor

wengangJi commented Dec 25, 2017

[ERROR] Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.5.0:compile-custom (default) on project apm-network: Unable to copy the file to C:\workspace\incub
ator-skywalking\apm-network\target\protoc-plugins: C:\workspace\incubator-skywalking\apm-network\target\protoc-plugins\protoc-3.3.0-windows-x86_64.exe (另一个程序正在使用此文件,进
程无法访问。) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :apm-network

@wu-sheng wu-sheng self-assigned this Dec 25, 2017
@wu-sheng wu-sheng added question End user question and discussion. wontfix This will not be worked on labels Dec 25, 2017
@wu-sheng wu-sheng added this to the 5.0.0-alpha milestone Dec 25, 2017
@wu-sheng
Copy link
Member

@wengangJi This is not an error triggered by SkyWalking project. This depends on Google gRPC/Protobuf tools: protoc. So if you have any problem to run it, you should submit an issue in Protobuf or gRPC project.

I just can share with you about that, I can run this tool in my windows 7. Most of our known developers are using Mac OS.

@wengangJi
Copy link
Contributor Author

The protobuf compiler relies on glibc, and most Linux systems support glibc, but there are individual still unsupported, so this is a problem.

This is not a problem for skywalking itself, but a problem with underlying infrastructure, but it still needs to be avoided.

Solution:

  1. Try to use the Linux operating system with glibc.

  2. Use alpine version mirroring if containerized.

Like this:
xolstice/protobuf-maven-plugin#23

@wu-sheng
Copy link
Member

Oh, this is totally new to me. I think you should provide a FAQ document in English, and link it to here: https://github.com/apache/incubator-skywalking/blob/master/docs/README.md

In that document, please provide specific versions, which you are aware of, and didn't support no glibc. Then, you can provide your solutions/suggestions, and the solutions should be more explicit then above.

Thanks.

I will be glad to accept that. @wengangJi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question End user question and discussion. wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants