Multipass build failed with:
Priming main
Snapping |
Failed to create snap, snap command failed:
stdout:
stderr:
error: cannot pack "/root/prime": mksquashfs call failed: Could not create destination file: Operation not permitted
It turns out that /root/project isn’t writable in the build environment for some reason, any ideas?
The packaging source tree is under the home directory and I have full write permission.
Update
I’ve successfully found the minimal reproduction steps and filed a bug at: Bug #1891851 “/root/project is Multipass mount inaccessible when…” : Bugs : Snapcraft
Update #2
It appears the Multipass itself also has some issues: