Concordium / Concordium/concordium-node
Mac distribution script not working on Apple Silicon machines (perhaps only on newest macOS version)
- Dominant language
- Haskell
- Stars
- 108
- Forks
- 24
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 9
Description
**Bug Description**
The mac node can be built with the script `/scripts/distribution/macOS-package/build.sh`.
If you have the prerequisites from the node and consensus projects, you should be able to run the script to completion, but it produces an error on a machine with Apple Silicon (m1). The device also has Ventura (the newest macOS), which may be related, but the script works on an Intel machine running Ventura.
**Steps to Reproduce**
1. Run the script on a machine with Apple Silicon: `./build.sh VERSION`
**Expected Result**
Build completes with a working package
**Actual Result**
Throws an error related to the step where dylibs are being bundled.
**Versions**
- OS: macOS Ventura
- Chipset: Apple Silicon
Contributor guide
Research direction
Start with /scripts/distribution/macOS-package/build.sh and run ./build.sh VERSION on an Apple Silicon machine with the listed prerequisites. Inspect the dylib-bundling step that reports the error, compare its behavior with an Intel Ventura machine, and consider the work done when the script completes with a working package.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, shell
- Domain
- build-system, operating-systems, release
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100