Skip to content

make does not work on MacOS Sequoia 15.2 #6557

Open
@dkrotx

Description

@dkrotx

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions