hudi: [SUPPORT]: Build failing on latest master on M1 mac due to protobuf support
Tips before filing an issue
-
Have you gone through our FAQs? yes
-
Join the mailing list to engage in conversations and get faster support at dev-subscribe@hudi.apache.org.
-
If you have triaged this as a bug, then file an issue directly.
Describe the problem you faced
Tried building the latest master using the command mvn clean install -DskipTests. It fails with the below error -
[ERROR] Failed to execute goal com.github.os72:protoc-jar-maven-plugin:3.11.4:run (proto-compile) on project hudi-utilities_2.11: Error extracting protoc for version 3.21.5: Unsupported platform: protoc-3.21.5-osx-x86_64.exe -> [Help 1]
To Reproduce
Steps to reproduce the behavior:
- Use M1 mac
- Try building the project using
mvn clean install -DskipTests
Expected behavior
Build should finish successfully.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 28 (27 by maintainers)
I also meet this problem😂. Thanks everyone below this issue.
ERROR
Solution
After I delete
settings.xmlandcached protoc binary(os72, google/protobuf).It work successfully. The key is that deletesettings.xml, just remove cache is uselessi was able to run successful build locally without any customisations and with empty
setting.xmland deleted previously cached protoc binary