Failed to pull source: unable to determine source type of '/usr/share/snapcraft/extensions/ros2'
Metadata
Current evaluation
The :8_core22 image stages extensions under site-packages while Snapcraft expects them under /usr/share; the mismatch remains open, with a symlink workaround reported.
Suggested action: keep open
Reason: Maintainer @lengau confirmed that the image is "not organizing the extension scripts to somewhere where they'd be expected," and current code still resolves them under sys.prefix/share rather than the reported site-packages location. The exact image digest and reproduction are clear, although a complete ROS build remains unsupported there because the plugin depends on build snaps.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
58
Quick Win:
35
Complexity:
30
Confidence:
91
Actionability:
86
|
keep open | The :8_core22 image stages extensions under site-packages while Snapcraft expects them under /usr/share; the mismatch remains open, with a symlink workaround reported. | |
| qwen/qwen3.6-35b-a3b |
Impact:
30
Quick Win:
13
Complexity:
30
Confidence:
70
Actionability:
60
|
keep open | Snapcraft Docker image fails to locate extensions because get_extensions_data_dir() returns /usr/share/snapcraft/extensions but extensions are installed in site-packages. | |
| qwen/qwen3.8-27b |
Impact:
50
Quick Win:
30
Staleness:
55
Complexity:
40
Confidence:
80
Support Request:
10
|
keep open | Snapcraft 8 Docker image (ghcr.io/canonical/snapcraft:8_core22) fails to resolve ros2 extension: get_extensions_data_dir() returns /usr/share/snapcraft/extensions but extensions live in site-packages. Triaged, acknowledged by maintainer, workaround shared, still open. | |
| qwen/qwen3.8-27b |
Impact:
45
Quick Win:
27
Staleness:
50
Complexity:
40
Confidence:
75
Support Request:
10
|
keep open | Snapcraft 8 Docker image (snapcraft-rocks) installs extensions under site-packages but code expects /usr/share/snapcraft/extensions, breaking all extension usage. Triaged, acknowledged by maintainer, workaround via symlink provided, no fix yet. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
55
Complexity:
20
Confidence:
85
Support Request:
0
|
keep open | Bug report for snapcraft Docker image where extension paths are misconfigured, causing build failures. Triaged and acknowledged by maintainers, with a community workaround provided but no official fix yet. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
60
Complexity:
30
Confidence:
85
Support Request:
10
|
keep open | Snapcraft fails to locate extensions in Docker due to a hardcoded path mismatch. Triaged and acknowledged by maintainers, with a community workaround provided but no official fix yet. |
Update history
No update history recorded yet.
Related work
-
Duplicate Of:
canonical/snapcraft#5721
(confidence 99%)
The reporter explicitly identifies this as the same issue in the main Snapcraft repository, which remains open with the same path mismatch.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #5721 Failed to pull source: unable to determine source type of '/usr/share/snapcraft/extensions/ros2'. | snapcraft | open | Snapcraft's 8_core22 container resolves extension data under /usr/share while the image installs it in site-packages, breaking ROS 2 builds; the path mismatch remains in current code. |