nervosnetwork / ckb

The Nervos CKB is a public permissionless blockchain, and the layer 1 of Nervos network.
https://www.nervos.org
MIT License
1.17k stars 232 forks source link

ckb run failed with :`Bad CPU type in executable` #4559

Closed yanguoyu closed 4 months ago

yanguoyu commented 4 months ago

Bug Report

Current Behavior

Expected Behavior

Environment

Additional context/Screenshots

Ckb run failed with the error " Bad CPU type in executable"

image
eval-exec commented 4 months ago

Does this help? https://discussions.apple.com/thread/250777998?sortBy=rank


We have reproduced the issue and are investigating it.

doitian commented 4 months ago

Re-uploaded, please try the new packages

doitian commented 4 months ago

GitHub has deprecated macos-11. We fixed it in a wrong way by adding the label macos-11 to the macOS arm64 self runner. So the macOS x86 packages are created on the arm64 machines, which leads to invalid binaries.

This has been fixed by updating the runner label to macos-11 in all workflow files.

yanguoyu commented 4 months ago

Re-uploaded, please try the new packages

Thanks, it works.