Snapcraft fails on launchpad infra

Hi all,

I currently have an error on my package when building on launchpad for arm64 or amd64:

Skipping stage for alsa-mixin (already ran)
Staging bark-monitor
Failed to stage: parts list the same file with different contents or permissions.

Weirdly enough “sometimes” (rarely) it works. This random success can be arm or amd.

On my local machine and on a Rasperry pi, I’m unable to reproduce the behavior, it always works.

The snapcraft file can be found in the repo of the project: https://codeberg.org/MalcolmMielle/bark_monitor

I’m really not sure what is the problem. The two parts I have do not seem to share anything…

Nevermind the amd does work but on the arm it fails since I moved to UV with Failed to execute snapcraft in instance.

I used to work thought with pip and I had the same error before so the previous message is still valid but not with the latest commit