Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default branch doesn't work with snapcraft remote-build #113

Open
Guillaumebeuzeboc opened this issue Jun 11, 2024 · 0 comments
Open

Default branch doesn't work with snapcraft remote-build #113

Guillaumebeuzeboc opened this issue Jun 11, 2024 · 0 comments

Comments

@Guillaumebeuzeboc
Copy link

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).

snapcraft 8.2.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant