cli: SIGSEV on fresh install
Preflight checklist
- [X] I could not find a solution in the existing issues, docs, nor discussions.
- [X] I agree to follow this project's Code of Conduct.
- [X] I have read and am following this repository's Contribution Guidelines.
- [X] This issue affects my Ory Network project.
- [X] I have joined the Ory Community Slack.
- [ ] I am signed up to the Ory Security Patch Newsletter.
Describe the bug
❯ curl https://raw.githubusercontent.com/ory/meta/master/install.sh | sh -s ory % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 9970 100 9970 0 0 56713 0 --:--:-- --:--:-- --:--:-- 56971 ory/ info checking GitHub for latest tag ory/ info found version: 0.2.2 for v0.2.2/linux/64bit ory/ info installed ./bin/ory
❯ ./bin/ory fish: Job 1, './bin/ory' terminated by signal SIGSEGV (Address boundary error)
Reproducing the bug
Using the pre-made install command results in an runtime error
Relevant log output
No response
Relevant configuration
❯ uname -sa
Linux nixos 6.1.31 #1-NixOS SMP PREEMPT_DYNAMIC Tue May 30 13:03:33 UTC 2023 x86_64 GNU/Linux
Version
latest
On which operating system are you observing this issue?
Linux
In which environment are you deploying?
Ory Network
Additional Context
Also tried to go install the cli, but it fails since it has replace directive, doesn't matter for the bug at hand though
I have unfortunately no idea what the problem could be here. But it might be related to go cross compiling or some Nix specific CGO issue. Try running the Ory CLI commands in a Docker container, that should work!