I’m trying to build a snap for chezmoi which uses goreleaser’s support for Snapcraft to build snaps for multiple architectures and publish them.
When attempting to publish the snaps I get the error:
Snapcraft Packages: failed to publish artifacts: failed to push dist/chezmoi_1.4.2_linux_ppc64.snap package: Preparing to push 'chezmoi_1.4.2_linux_ppc64.snap'. After pushing, an attempt will be made to release to 'stable' Pushing 'chezmoi_1.4.2_linux_ppc64.snap' [===============================] 100% Processing...| Error while processing... The store was unable to accept this snap. - architectures: Invalid architecture specified in the manifest: ppc64.
Should I use a different architecture to
ppc64? Searching this forum indicates that
ppc64 that other snaps are using
ppc64, for example the blog post on Kata Containers explicitly mentions
I searched the source code for
github.com/snapcore/snapd but couldn’t find the error string
Invalid architecture specified so I’m not sure where the error is coming from.
Any help appreciated. Useful links:
Goreleaser’s Snapcraft Support
The snapcraft section of
Note that I tried to include more links to useful information in this message but “new users are only allowed to post two links per message” .