Build.snapcraft.io The 'pull' step is out of date build failure

Hi,

I have been trying to build ubuntu-watch-packages on build.snapcraft.io (https://build.snapcraft.io/user/philroche/ubuntu-watch-packages/391269) but I keep getting the following (See https://pastebin.ubuntu.com/p/8n7grCqCst/ for full build log)

Failed to reuse files from previous run: The 'pull' step of 'ubuntu-watch-packages-wrapper' is out of date:

I can see no way for me to fix this and the build works no problem when run locally using snapcraft cleanbuild.

Is there anything I can do to kick off a new build without the build relying on reuse of files from previous run?

Thanks,

Phil

This line is the problem: snapcraft assumes it owns the snap directory and writes stuff to it during the build, which it then picks up as changes. Try moving the wrapper either out of the snap directory, or into snap/local/.

1 Like

Awesome. That worked.

https://github.com/philroche/ubuntu-watch-packages/commit/7e10041906e40a2b5f5368caa48d1c4ac8c0f398