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

make does not work on MacOS Sequoia 15.2 #6557

Open
dkrotx opened this issue Dec 11, 2024 · 0 comments
Open

make does not work on MacOS Sequoia 15.2 #6557

dkrotx opened this issue Dec 11, 2024 · 0 comments

Comments

@dkrotx
Copy link
Member

dkrotx commented Dec 11, 2024

Is your feature request related to a problem? Please describe.
make cadence-server fails with the following output:

arch: posix_spawnp: uname: Bad CPU type in executable
arch: posix_spawnp: uname: Bad CPU type in executable

downloading protoc 3.14.0: https://github.com/protocolbuffers/protobuf/releases/download/v3.14.0/protoc-3.14.0-osx-.zip
[.bin/protoc.zip]
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of .bin/protoc.zip or
        .bin/protoc.zip.zip, and cannot find .bin/protoc.zip.ZIP, period.

I spent quite some time to understand the issue is coming from work-around of using arch -x86_64 on Apple silicon.
The above message (arch: posix_spawnp: uname: Bad CPU type in executable) happens because I didn't have rosetta installed. softwareupdate --install-rosetta solved the problem.

Proposed Solution
I really like the idea that nothing has to be installed and make cadence-server does all the magic.
Let's keep so and update protoc and buf to the the latest version which provide arm64 artifacts.

@dkrotx dkrotx changed the title make does not work with a MacOS Sequoia 15.2 make does not work on MacOS Sequoia 15.2 Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant