The default branch (20-arm64) of this repository cannot be built with the snapcraft remote-build command.
To reproduce:
git clone https://github.com/snapcore/pi-gadget.git
cd pi-gadget
(make sure to be on the 20-arm64 branch)
snapcraft remote-build
Build status as of 2024-06-11 11:18:14.297731:
arch=amd64 state=Needs building
Build status as of 2024-06-11 11:18:44.811219:
arch=amd64 state=Currently building
[...]
Build status as of 2024-06-11 11:23:48.415609:
arch=amd64 state=Failed to build
Snap file not available for arch 'amd64'.
Build log available at 'pi_amd64.txt'
Build failed for arch 'amd64'.
Build task(s) complete.
Build failed for arch amd64.
+ snapcraftctl stage
Priming gadget
+ snapcraftctl prime
Priming psplash-local
+ snapcraftctl prime
Priming psplash
+ snapcraftctl prime
Failed to generate snap metadata: Missing gadget.yaml file.
When creating gadget snaps you are required to provide a gadget.yaml file
in the root of your snapcraft project
The gadget.yaml file is actually present. So it looks like a bug.
I could reproduce it on my host (20.04) and in a VM (24.04).
The default branch (20-arm64) of this repository cannot be built with the
snapcraft remote-build
command.To reproduce:
(make sure to be on the 20-arm64 branch)
The
gadget.yaml
file is actually present. So it looks like a bug. I could reproduce it on my host (20.04) and in a VM (24.04).snapcraft 8.2.10