Since 4.5.1 was released builds of arm64 have been failing with the error below. Builds of amd64 and armhf seem unaffected with the same snapcraft.yaml file.
Sorry, an error occurred in Snapcraft:
Failed to create snap, snap command failed:
stdout:
stderr:
error: cannot pack "/data/prime": mksquashfs call failed: signal: segmentation fault (core dumped)
We would appreciate it if you anonymously reported this issue.
No other data than the traceback and the version of snapcraft in use will be sent.
Would you like to send this error data? (Yes/No/Always/View) [no]:
Is there any way to specify a specific version to workaround this issue? Secondly, where would be the best place to file a bug?
@samwiseg0 “segfault” happens on system or software error. I think this is a system or software error… Try to run in a virtual machine?
(If success, it means your running system was broken)
(You can also run as 4.5.0, if success, it means software bug)
we use snap pack which should use the snapd provided mksquashfs, if reverting snapcraft still causes issues, try to revert either snapd or core as well.
This issue seems to be related to QEMU. After reverting the last QEMU update. The build process works again. This maybe some incompatibility with snapcraft and the latest QEMU version?
- name: Set Up QEMU
uses: docker/setup-qemu-action@v1
with:
image: tonistiigi/binfmt@sha256:df15403e06a03c2f461c1f7938b171fda34a5849eb63a70e2a2109ed5a778bde