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

can't start standalone on apple m2 #5483

Open
laglangyue opened this issue May 13, 2024 · 3 comments
Open

can't start standalone on apple m2 #5483

laglangyue opened this issue May 13, 2024 · 3 comments

Comments

@laglangyue
Copy link

Environment details:

local deployment

Steps to reproduce the issue:

1)prepare a m2 machine
2)./gradlew core:standalone:bootRun

exception

Build using Scala 2.12
Scala sub-project 'gatling_tests' doesn't have Scoverage applied and will be ignored in parent project aggregation
> Task :core:scheduler:generateProto FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':core:scheduler:generateProto'.
> Could not resolve all files for configuration ':core:scheduler:protobufToolsLocator_protoc'.
   > Could not find protoc-3.4.0-osx-aarch_64.exe (com.google.protobuf:protoc:3.4.0).
     Searched in the following locations:
         https://repo.maven.apache.org/maven2/com/google/protobuf/protoc/3.4.0/protoc-3.4.0-osx-aarch_64.exe

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

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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 797ms

@laglangyue
Copy link
Author

maybe we should shoud update protobuf version

@rivalak
Copy link

rivalak commented Feb 11, 2025

I have this same issue when trying to install a Standalone stack on Ubuntu 20.04. Updating the protoc version to 3.6.1 in core/scheduler/build.gradle works on my side.

@style95
Copy link
Member

style95 commented Feb 12, 2025

With this change, it wasn't the standalone build, but I could build OW on m1 mac.
#5511
Some libraries are dependent on the version of protoc, so it's not easy to upgrade for now.

I think you can try rosetta.
#5511 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants