Error extracting protoc for version 3.11.4: Unsupported platform: protoc-3.11.4-osx-aarch_64.exe

3,164 views
Skip to first unread message

Ravi Leeladhar

unread,
Oct 4, 2022, 6:49:19 PM10/4/22
to Protocol Buffers
Hi Team, 

I am trying build the proto buff java in mac m1 chip and getting this error 

[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]

any help or support to fix this issue is appreciated 

regards,
Ravi Leeladhar 

Jerry Berg

unread,
Oct 6, 2022, 12:57:02 PM10/6/22
to Protocol Buffers
Hi Ravi, version 3.11.x is outside of our support window. Can you update to a later version? Preferably the latest: 3.21.7

The v3.21 family added official builds for M1 Mac.

Ravi Leeladhar

unread,
Oct 7, 2022, 4:59:26 AM10/7/22
to Protocol Buffers
Hi Jerry, 

i tired with latest version of proto buf 3.21.7 but still i am getting the same error 
Screenshot 2022-10-07 at 10.57.09.png
Screenshot 2022-10-07 at 10.58.44.png
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.741 s
[INFO] Finished at: 2022-10-07T10:58:24+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]
[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

Jerry Berg

unread,
Oct 7, 2022, 12:10:28 PM10/7/22
to Protocol Buffers
It looks like something is insisting on v3.11.4, can you run the maven command with -X as the error suggests in the hopes that we get more information about why?
Reply all
Reply to author
Forward
0 new messages