Skip to content
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

Snap builds do not have architectures key specified in snapcraft.yaml #2596

Closed
kspearrin opened this issue Feb 17, 2018 · 1 comment · May be fixed by qcif/data-curator#563
Closed

Snap builds do not have architectures key specified in snapcraft.yaml #2596

kspearrin opened this issue Feb 17, 2018 · 1 comment · May be fixed by qcif/data-curator#563

Comments

@kspearrin
Copy link

kspearrin commented Feb 17, 2018

  • Version: 19.56.0
  • Target: x64

Building linux with:

build --linux --x64

and

"linux": {
  "target": [
    "snap",
    "rpm",
    "AppImage",
    "deb"
  ]
},

results in a snap file: myapp_0.0.1_amd64.snap.

I try to submit this with snapcraft push and get errors. I contacted the snapcraft team on their forums and they say:

electron-builder seems to be producing a snap without an architectures key

there’s also a bug in electron-builder-- the snaps it’s producing are claiming to be compatible with all architectures (armhf, arm64, amd64, etc.).

See thread here: https://forum.snapcraft.io/t/snapcraft-push-error-keyerror-architectures/4056

For reference, my project: https://github.com/bitwarden/desktop

@kspearrin
Copy link
Author

This is what I am seeing in the bitwarden_0.0.4_amd64.snap\meta\snap.yml file that is packaged:

name: bitwarden
version: 0.0.4
summary: Bitwarden
description: A secure and free password manager for all of your devices.
confinement: strict
grade: stable
apps:
  bitwarden:
    command: command-bitwarden.wrapper
    environment:
      TMPDIR: $XDG_RUNTIME_DIR
    plugs:
      - desktop
      - desktop-legacy
      - home
      - x11
      - unity7
      - browser-support
      - network
      - gsettings
      - pulseaudio
      - opengl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants