Remote build fails to work with core22 and new gnome extension
Metadata
Current evaluation
Fixed by snapcraft PR #3920 (commit f509ac032), which added the version-less gnome extension to the schema so core22 remote builds pass validation.
Resolution: closed resolved
Reason: Commit f509ac032, associated with PR #3920, changed the schema to allow the gnome extension and resolved the validation failure reported in Launchpad #1986962.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Using up-to-date snapcraft to work on a core22-based snap:
zyga@lambert:~/projects/racket-snap$ snapcraft --version
snapcraft 7.1.1
Trying to remote-build:
zyga@lambert:~/projects/racket-snap$ snapcraft remote-build
snapcraft remote-build is experimental and is subject to change - use with caution.
Issues while validating snapcraft.yaml: The 'apps/racket/extensions[0]' property does not match the required schema: 'gnome' is not one of ['flutter-stable', 'flutter-beta', 'flutter-dev', 'flutter-master', 'gnome-3-28', 'gnome-3-34', 'gnome-3-38', 'kde-neon', 'ros1-noetic', 'ros2-foxy']
This seems to choke on the new version-less gnome extension.
I've attached my snapcraft.yaml file in case you want to try this locally.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Fixed by snapcraft PR #3920 (commit f509ac032), which added the version-less gnome extension to the schema so core22 remote builds pass validation. | |
| qwen/qwen3.8-27b | — | closed resolved | Remote-build schema rejected core22's version-less 'gnome' extension. Fixed in PR #3920 (commit f509ac032) which updated the remote-build schema to allow the gnome extension. | |
| stealth/space-bunny-alpha | — | closed resolved | Remote-build validation was updated to accept core22’s version-less gnome extension, fixing the Snapcraft 7.1.1 failure documented in Launchpad bug #1986962. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed. The remote build validation schema was updated to accept the new version-less gnome extension, resolving the core22 build failure. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without comments or resolution. Likely abandoned or superseded by updated snapcraft versions that now support the unversioned gnome extension for core22. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed and abandoned. The remote build validation schema rejected the version-less gnome extension, causing a schema mismatch error during core22 builds. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without discussion. The remote build validation failure for the unversioned gnome extension was likely resolved by updated schema validation in later releases. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
snapcraft#3920
(confidence 99%)
The PR's commit is explicitly titled "schema: allow the gnome extension" and directly addresses the reported schema mismatch.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3920 schema: allow the gnome extension | snapcraft | merged | Merged #3920 in commit f509ac032, allowing the version-less GNOME extension in the schema so core22 legacy remote-build no longer rejects it. | |
| #4756 fix(schema): add ROS 2 core22 extensions for remote-build | snapcraft | merged | PR #4756 merged (commit b4ed5dd89): added the ROS 2 core22 extensions to the legacy snapcraft schema (+5/-1) so remote-build, which validates against the legacy schema, accepts ROS 2 core22 snaps. | |
| #3798 extensions: add core22 gnome | snapcraft | merged | Merged PR #3798 in commit eddd1888c, adding core22 support to the GNOME extension. | |
| #4339 "snapcraft extension" does not recognize core22 extensions | snapcraft | closed | Core22 extension lookup was never fixed; the issue became obsolete after Snapcraft removed the `extension` command. No resolving PR or commit was identified. | |
| #4144 remote build: legacy builder cannot parse core22 snapcraft.yaml syntax | snapcraft | closed | Marked won't fix: legacy-builder schema support was descoped in favor of the new remote builder, which accepts build-for; legacy support was removed by PR #5994 in Snapcraft 9. | |
| #3760 extensions: add core22 gnome | snapcraft | closed | PR #3760 (core22 GNOME extension) was closed unmerged after review stalled with 14 unresolved comments. The same work landed via replacement PR #3798, merged as commit eddd1888c. | |
| #6278 feat(extensions): Add core26 support to the gnome extension | snapcraft | merged | Merged PR #6278 as commit c05aed0c1, adding core26/GNOME 49 support and related tests to Snapcraft's GNOME extension. | |
| #300 Remote-build: use craft-application for core22 | craft-application | closed | Core22 remote builds moved to craft-application in merged Snapcraft PR #4724 (commit 9905f2831), removing the legacy core22 build path. | |
| #1989499 [core22] gnome ext prevents use of configure hook | snapcraft (launchpad) | closed | Fixed in snapcraft-desktop-integration#9 by correcting the gnome extension's command-chain script to properly chain to the snap's configure hook instead of silently exiting. | |
| #2720 remote build: switch from core to core18 | snapcraft | merged | Merged PR #2720 switched remote builds from core to core18, aligning them with Snapcraft edge; landed as commit d2b36b2f4. |