This repository has been archived by the owner on Nov 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Tigerbeetle probably needs to run latest version of Zig (0.10.0) #43
Comments
Thanks for the heads-up! We plan to upgrade to 0.10 after a few remaining compiler bugs are resolved. |
Thanks for the reply @sentientwaffle - anything that can be done in the meantime? |
I'm not too familiar with Mac OS or the zig compiler internals, so I won't be much help there. |
Thanks @sentientwaffle, do you have an approx. idea on when the upgrade will be available? :) |
@Tymmmy probably soon after Zig 0.10.1 lands (whenever that is 😉) — we are blocked from upgrading by ziglang/zig#13017. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello, I am using MacOS Ventura 13 and Zig version lower than 0.10.0 'panics' as discussed in thread ziglang/zig#10478.
Looks like tigerbeetle-node should run this newer version of Zig in order to have working packages on Ventura 13.
The issue is happening when I try to run pnpm i.
The stack trace:
Scope: all 7 workspace projects
Lockfile is up to date, resolution step is skipped
Packages: +1646
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 1646, reused 1630, downloaded 0, added 0, done
node_modules/.pnpm/[email protected]/node_modules/tigerbeetle-node: Running postinstall script, failed in 9s
.../node_modules/tigerbeetle-node postinstall$ npm run install_zig && npm run download_node_headers && npm run build_lib
│ > [email protected] install_zig
│ > ./src/tigerbeetle/scripts/install_zig.sh
│ Installing Zig 0.9.1 release build...
│ Downloading https://ziglang.org/download/0.9.1/zig-macos-aarch64-0.9.1.tar.xz...
│ Extracting zig-macos-aarch64-0.9.1.tar.xz...
│ Installing zig-macos-aarch64-0.9.1 to 'zig' in current working directory...
│ Congratulations, you have successfully installed Zig 0.9.1 to /Users/timeanagy/Documents/rafiki/node_modules/.pnpm/[email protected]/node_modules/tigerbeetl
│ > [email protected] download_node_headers
│ > ./scripts/download_node_headers.sh
│ Downloading https://nodejs.org/download/release/v16.18.0/node-v16.18.0-headers.tar.gz...
│ Extracting ./build/node-v16.18.0-headers.tar.gz...
│ > [email protected] build_lib
│ > mkdir -p dist && zig/zig build-lib -mcpu=baseline -OReleaseSafe -dynamic -lc -isystem build/node-$(node --version)/include/node src/node.zig -fallow-shlib-undef
│ thread 403088 panic: Darwin is handled separately via std.zig.system.darwin module
│ Unable to dump stack trace: debug info stripped
│ sh: line 1: 55468 Abort trap: 6 zig/zig build-lib -mcpu=baseline -OReleaseSafe -dynamic -lc -isystem build/node-$(node --version)/include/node src/node.
└─ Failed in 9s
The text was updated successfully, but these errors were encountered: