Not able to run snapcraft login on mac m1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Medium
|
Sergio Schvezov |
Bug Description
Hey there, I'm getting this error when I run the following command:
snapcraft login
Sorry, an error occurred in Snapcraft:
'arm64'
Traceback (most recent call last):
File "/opt/homebrew/
sys.exit(run())
File "/opt/homebrew/
return self.main(*args, **kwargs)
File "/opt/homebrew/
rv = self.invoke(ctx)
File "/opt/homebrew/
return _process_
File "/opt/homebrew/
return ctx.invoke(
File "/opt/homebrew/
return callback(*args, **kwargs)
File "/opt/homebrew/
store_client = storeapi.
File "/opt/homebrew/
self.sso = SSOClient(
File "/opt/homebrew/
super(
File "/opt/homebrew/
self.
File "/opt/homebrew/
arch = snapcraft.
File "/opt/homebrew/
self.
File "/opt/homebrew/
self.
KeyError: 'arm64'
We would appreciate it if you created a bug report at
https:/
You can find the traceback in file '/var/folders/
Any ideas on why this is happening and how to get it to work would be appreciated. Thanks!
Changed in snapcraft: | |
status: | Confirmed → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Sergio Schvezov (sergiusens) |
tags: | added: craft-267 |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
Confirmed. To get there, here are the steps I followed:
$ brew install openssl@1.1 rust 1.1)/include" pip install cryptography /github. com/snapcore/ snapcraft. git#egg= snapcraft
$ env LDFLAGS="-L$(brew --prefix openssl@1.1)/lib" CFLAGS="-I$(brew --prefix openssl@
$ pip install git+https:/
$ snapcraft --version