bisq-network / bisq2

GNU Affero General Public License v3.0
196 stars 69 forks source link

Build fails on M3 macbook #1753

Open HenrikJannsen opened 8 months ago

HenrikJannsen commented 8 months ago

On a M3 macbook with OS version 14.4 the build fails because protoc-gen-grpc is not recognized. Error message: protoc-gen-grpc-java-osx-aarch_64.exe bad CPU type in executable). Note that exe is used by protobuf binaries as well and it is not the issue.

Update from version 1.42.1 to latest version 1.62.2 did not help. Some [1] have recommended to install Rosetta, which fixed it for me.

You can install Rosetta via: sudo softwareupdate --install-rosetta

Maybe @alvasw has some better suggestion.

[1] https://www.mail-archive.com/grpc-io@googlegroups.com/msg10829.html

alvasw commented 8 months ago

What command are you using to build Bisq? I have no issues building Bisq on MacBook with a M2 processor.

HenrikJannsen commented 8 months ago

I was trying both the gradle tasks inside the IDE and via terminal. ./gradlew clean failed already. Might be an issue with M3. Might get fixed by future updates of protoc-gen-grpc...