-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zsh: segmentation fault assume-role #54
Comments
Can I ask what platform you're on? One of my team just reported. the same thing, after Homebrew install on a new M1 ARM-chip Mac. The default Homebrew build is not going to work here since it's for x86, so likely this needs a native compile on an M1 Mac. |
Same issue here. I'm on a MB Pro 2020 with M1 ARM-chip.,OSX 11.1. First I've tried the following:
Then I've tried this:
|
I ended up simply recompiling it with the Go 1.16 preview for M1. This
involved setting up go modules. I will make a note to do a PR as soon as I
can.
…On Mon, Feb 15, 2021 at 3:55 AM Pablo Reynel ***@***.***> wrote:
Same issue here. I'm on a MB Pro 2020 with M1 ARM-chip.,OSX 11.1.
First I've tried the following:
`$ brew install remind101/formulae/assume-role
$ which assume-role
/opt/homebrew/bin/assume-role
$ assume-role assume-role prod
[1] 96806 segmentation fault assume-role prod`
Then I've tried this:
`$ arch -x86_64 brew install remind101/formulae/assume-role
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
No changes to formulae.
==> Tapping remind101/formulae
Cloning into
'/usr/local/Homebrew/Library/Taps/remind101/homebrew-formulae'...
remote: Enumerating objects: 68, done.
remote: Total 68 (delta 0), reused 0 (delta 0), pack-reused 68
Unpacking objects: 100% (68/68), done.
Tapped 3 formulae (95 files, 47.2KB).
==> Installing assume-role from remind101/formulae
==> Downloading
https://github.com/remind101/assume-role/releases/download/0.3.1/assume-role
Already downloaded:
/Users/pablo.reynel/Library/Caches/Homebrew/downloads/dce6bb22c01221598c2a388d62cafb82e33c91eac77139414a5dd517e8df90d1--assume-role
🍺 /usr/local/Cellar/assume-role/0.3.1: 3 files, 7.6MB, built in 2 seconds
$ arch -x86_64 assume-role prod
[1] 96977 segmentation fault arch -x86_64 assume-role prod`
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#54 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIX3524QQC5VTETJPIK2APDS7EDSTANCNFSM4VXXAMLA>
.
|
I just added PR #55 which simply moves to go modules for go1.16 on Mac M1 silicon computers. Works just fine! |
@madsenwattiq how where you able to make this work? I tried
and I got these
Thanks! |
Sorry about that. I expected the original project to update their upstream for go modules, but apparently it is not being actively maintained. Let me see what I can do here. |
Looking at the current PR's, @kdlcruz , I see that @anherrera has PR #58, which has a setup for go modules and thus probably a clean build on M1 silicon, AND also is updated for AWS SDK changes including SSO. I think my fork should go away and I will support folding hers into the main project -- IF we ever get any responses from Remind. If not, I think we should work from her fork and support the project. Sound reasonable? |
Go ahead and fork it, @rex-remind101 is not active here. |
any update on this ? |
still experiencing this issue on my m1 |
Commented on the wrong thread. Disregard. |
What fork works on M1 Macs? https://github.com/anherrera/assume-role has the same brew install instructions. |
I've just stumbled upon the same issue after upgrading from Intel to M1 mac, i.e. I tried to uninstall and install
SOLUTION: use
You can always check if you assumed role correctly with this command:
Links: |
Just using https://github.com/danielthank/assume-role seems instead resolved the issue for me on my M1 Mac. |
Steps
$ brew install assume-role
result 🍺 /usr/local/Cellar/assume-role/0.3.1: 3 files, 7.6MB, built in 2 seconds
assume-role dev
zsh: segmentation fault assume-role
The text was updated successfully, but these errors were encountered: