Skip to content

Bad CPU type in executable failure in loading Native library in Apple Silicon with M4 Pro #1188

@singhpk234

Description

@singhpk234

Describe the bug

Tried

make

Or

make release PROFILES="-Pspark-3.5 -Pscala-2.13"

[ERROR] Failed to execute goal com.github.os72:protoc-jar-maven-plugin:3.11.4:run (default) on project comet-spark-spark3.5_2.13: Unable to execute protoc-jar for /Users/prashantsingh/Desktop/oss-workspace/arrow-datafusion-comet/native/proto/src/proto/partitioning.proto: Cannot run program "/Users/prashantsingh/protoc3071461866139821779.exe": error=86, Bad CPU type in executable -> [Help 1]

Steps to reproduce

Try either

make

OR

make release PROFILES="-Pspark-3.5 -Pscala-2.13"

Expected behavior

To pass

Additional context

java --version 
openjdk 17.0.13 2024-10-15 LTS
OpenJDK Runtime Environment Corretto-17.0.13.11.1 (build 17.0.13+11-LTS)
OpenJDK 64-Bit Server VM Corretto-17.0.13.11.1 (build 17.0.13+11-LTS, mixed mode, sharing)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions