I’m was wanting to update the version of snapcraft I am using and noticed newer versions had only been released as a snap. So I tried to switch to using the snap to get the latest release. I haven’t been able to build my project using snapcraft from a snap. Where a build was taking ~30 minutes, I’ve run the most recent version from the snap and have allowed snapcraft to run for more than 2 hours multiple times without a snap being created.
The steps of the build that are disk IO heavy seem to take considerably longer. Priming has taken the majority of time at 2 hours and counting and the unpack that occurs before a build takes considerably longer than previously as well.
Checking out v2.39 and running from source takes the same amount of time as the older version of snapcraft I’ve been running. So I think this is something related to running snapcraft from the snap.
Smaller projects I’ve built build fine, but still slower. The snap I’m working on ends up around 600MB and uses a good number packages in it’s package. The catkin part is the one that takes a long time, but I think this is related to the size of the part, not that it is a catkin part.
I haven’t found anything in any system logs or output from snapcraft about why this might be taking longer than normal. Does anyone have ideas or suggestions?