-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
Cannot build on Apple M1 - protocolbuffer #129
Comments
Google started releasing the osx aarch64 version in 3.17.3. For older versions like 3.11.4 you'd have to fall back to the You can specify the version in the configuration <configuration>
<protocVersion>${protoc.version}</protocVersion>
</configuration> |
And update to the latest version. Apple started releasing the osx aarch64 (M1) version in 3.17.3 [link](os72/protoc-jar-maven-plugin#129) This is a fix for this error on M1 builds: [ERROR] Failed to execute goal com.github.os72:protoc-jar-maven-plugin:3.11.4:run (default) on project proto: Error extracting protoc for version 3.11.4: Unsupported platform: protoc-3.11.4-osx-aarch_64.exe -> [Help 1]
And update to the latest version. Apple started releasing the osx aarch64 (M1) version in 3.17.3 [link](os72/protoc-jar-maven-plugin#129) This is a fix for this error on M1 builds: [ERROR] Failed to execute goal com.github.os72:protoc-jar-maven-plugin:3.11.4:run (default) on project proto: Error extracting protoc for version 3.11.4: Unsupported platform: protoc-3.11.4-osx-aarch_64.exe -> [Help 1]
@ravileeladhar2023, I encountered the same. Please checkout the fork: https://github.com/blackrock/protoc-jar-maven-plugin This forked version uses Google’s Protoc version 3.25.1 by default which supports osx aarch64. |
@spensonshih Looking at your repo it looks like you (1) forked the project without the commit history, (2) changed all namespaces, (3) added BlackRock logos, and (4) removed all links to the original repo. It looks like most of the code is straight up copied, but anyone looking at the repo will get the impression that you're the original authors. That is not cool. |
@ennerf we considered this project as abandoned, and by taking over maintenance of the project, we had to put the repo under BlackRock namespace in order to publish to Maven Central. Our README has clearly included credit to the original repo. You’ll also notice this repo was original from another repo: https://github.com/igor-petruk/protobuf-maven-plugin |
edit: somehow I missed the link. It could be more obvious, but good luck 👍 |
Hi
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.630 s
[INFO] Finished at: 2022-10-04T15:10:04+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.os72:protoc-jar-maven-plugin:3.11.4:run (generate-sources) on project fcpsinboundadapter: Error extracting protoc for version 3.11.4: Unsupported platform: protoc-3.11.4-osx-aarch_64.exe -> [Help 1]
o Reproduce
On a macOS machine with properties:
MacBook Pro (16-inch, 2021)
Chip Apple M1 Pro
The text was updated successfully, but these errors were encountered: