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

[M3][ERROR] Failed to execute goal com.github.os72:protoc-jar-maven-plugin:3.11.4:run (default) on project kafka-testing: Error extracting protoc for version 3.11.4: Unsupported platform: protoc-3.11.4-osx-aarch_64.exe -> [Help 1] #652

Closed
authorjapps opened this issue Mar 25, 2024 · 4 comments · Fixed by #664

Comments

@authorjapps
Copy link
Owner

authorjapps commented Mar 25, 2024

The Problem:

Unable to compile protoc related stuffs in mac m3 architecture.

Suggest a newer version of this library which can run on osx-aarch_64 without throwing any error.


Console Logs:

[INFO] ----------------------< org.jsmart:kafka-testing >----------------------
    [INFO] Building Zerocode Kafka Testing With Simple YAML and JSON DSL 1.3.43-SNAPSHOT [4/6]
    [INFO]   from kafka-testing/pom.xml
    [INFO] --------------------------------[ jar ]---------------------------------
    [INFO] 
    [INFO] --- clean:3.2.0:clean (default-clean) @ kafka-testing ---
    [INFO] Deleting /Users/zerocode/kafka-testing/target
    [INFO] 
    [INFO] --- enforcer:1.2:enforce (enforce-maven) @ kafka-testing ---
    [INFO] 
    [INFO] --- protoc-jar:3.11.4:run (default) @ kafka-testing ---
    [INFO] Protoc version: 3.11.4
    protoc-jar: protoc version: 3.11.4, detected platform: osx-aarch_64 (mac os x/aarch64)
    protoc-jar: downloading: https://repo.maven.apache.org/maven2/com/google/protobuf/protoc/maven-metadata.xml
    protoc-jar: saved: /var/folders/c2/_hkgq7x13hg72r1cdch69sp80000gn/T/protocjar.webcache/com/google/protobuf/protoc/maven-metadata.xml
    protoc-jar: downloading: https://repo.maven.apache.org/maven2/com/github/os72/protoc/maven-metadata.xml
    protoc-jar: saved: /var/folders/c2/_hkgq7x13hg72r1cdch69sp80000gn/T/protocjar.webcache/com/github/os72/protoc/maven-metadata.xml
    protoc-jar: cached: /var/folders/c2/_hkgq7x13hg72r1cdch69sp80000gn/T/protocjar.webcache/com/google/protobuf/protoc/maven-metadata.xml
    protoc-jar: downloading: https://repo.maven.apache.org/maven2/com/google/protobuf/protoc/3.11.4/protoc-3.11.4-osx-aarch_64.exe
    protoc-jar: cached: /var/folders/c2/_hkgq7x13hg72r1cdch69sp80000gn/T/protocjar.webcache/com/github/os72/protoc/maven-metadata.xml
    protoc-jar: downloading: https://repo.maven.apache.org/maven2/com/github/os72/protoc/3.11.4/protoc-3.11.4-osx-aarch_64.exe
    [INFO] ------------------------------------------------------------------------
    [INFO] Reactor Summary for ZeroCode TDD Parent 1.3.43-SNAPSHOT:
    [INFO] 
    [INFO] ZeroCode TDD Parent ................................ SUCCESS [ 15.766 s]
    [INFO] Zerocode TDD Core .................................. SUCCESS [ 12.895 s]
    [INFO] Zerocode Http Testing With Simple YAML and JSON DSL  SUCCESS [  2.253 s]
    [INFO] Zerocode Kafka Testing With Simple YAML and JSON DSL FAILURE [  0.655 s] <---------- Failed 🔴 
    [INFO] Zerocode JUnit5 Jupiter Load Testing ............... SKIPPED
    [INFO] Zerocode Automated Testing Maven Archetype ......... SKIPPED
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time:  31.640 s
    [INFO] Finished at: 2024-03-25T14:43:30Z
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal com.github.os72:protoc-jar-maven-plugin:3.11.4:run (default) on project kafka-testing: Error extracting protoc for version 3.11.4: Unsupported platform: protoc-3.11.4-osx-aarch_64.exe -> [Help 1]
@dhrax21
Copy link

dhrax21 commented Mar 30, 2024

HEY CAN I WORK ON THIS ISSUE

@authorjapps
Copy link
Owner Author

HEY CAN I WORK ON THIS ISSUE

Yes please.

You should be able to reproduce this in any arm processor, e.g. M1 or M2 or M3 or similar one.

@nirmalchandra
Copy link
Collaborator

Found a potential solution from here:
os72/protoc-jar#94 (comment)

@nirmalchandra
Copy link
Collaborator

nirmalchandra commented May 1, 2024

Found a potential solution from here from Google:
os72/protoc-jar#94 (comment)

Check latest versions here:
https://repo.maven.apache.org/maven2/com/google/protobuf/protoc/

This PR has worked. ✅
#664
CI is green.

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

Successfully merging a pull request may close this issue.

3 participants