Doesn't build `core18` snaps in Fedora 37

Just reporting that building snaps is unavailable for users of Fedora like distros.

git clone
cd serve
snapcraft --verbose
Starting Snapcraft 7.3.1                                                                                                                                                 
Logging execution to '/home/anatoli/.local/state/snapcraft/log/snapcraft-20230418-090751.935350.log'                                                                     
Launching a VM.
Build environment is in unknown state, cleaning first.
info failed: The following errors occurred:
instance "snapcraft-serve" does not exist
warning: "--mem" long option will be deprecated in favour of "--memory" in a future release.Please update any scripts, etc.
launch failed: The following errors occurred:                                   
snapcraft-serve: timed out waiting for response
An error occurred with the instance when trying to launch with 'multipass': returned exit code 2.
Ensure that 'multipass' is setup correctly and try again.

Do you have multipass installed in fedora?

Yes. snapcraft installs it automatically. I resort to using docker images for building snaps.

You can also use remote-build option.

Read this to know more
1 Like