Failed to pull source: unable to determine source type of '/usr/share/snapcraft/extensions/ros2'.
Metadata
Current evaluation
Snapcraft 8 Docker image fails to resolve ros2 extension: get_extensions_data_dir() returns /usr/share/snapcraft/extensions but extensions are installed under site-packages/extensions. Untriaged, no maintainer activity in 374 days; same bug tracked in snapcraft-rocks#109.
Suggested action: needs triage
Reason: No labels, no comments, no maintainer response in 374 days, so this is untriaged. The bug is real and reproducible: get_extensions_data_dir() in extension.py:133 returns Path(sys.prefix)/share/snapcraft/extensions, which is correct for the snap (snap/snapcraft.yaml maps **/site-packages/extensions to share/snapcraft/extensions) but wrong in the Docker image where extensions land in site-packages/extensions. The identical issue is tracked in snapcraft-rocks#109 (open, acknowledged with a community workaround), confirming the root cause is in the Docker image build, not snapcraft core.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
55
Quick Win:
33.0
Staleness:
75
Complexity:
40
Confidence:
70
Support Request:
10
|
needs triage | Snapcraft 8 Docker image fails to resolve ros2 extension: get_extensions_data_dir() returns /usr/share/snapcraft/extensions but extensions are installed under site-packages/extensions. Untriaged, no maintainer activity in 374 days; same bug tracked in snapcraft-rocks#109. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
95
Complexity:
40
Confidence:
85
Support Request:
10
|
close stale | Snapcraft fails to locate extensions due to hardcoded path mismatch in Docker container. No maintainer response, issue is 334 days old and completely inactive. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
92
Complexity:
40
Confidence:
85
Support Request:
10
|
needs triage | Snapcraft fails to locate ROS2 extension due to hardcoded path mismatch in Docker container. Issue is 320 days old with no maintainer response or labels. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
88
Complexity:
40
Confidence:
75
Support Request:
10
|
close stale | Snapcraft fails to locate ROS2 extensions due to a hardcoded path mismatch between the source code and the Docker container layout. The open issue has no comments or labels and requires triage and assignment. |
Update history
No update history recorded yet.
Related work
-
Duplicate Of:
canonical/snapcraft-rocks#109
(confidence 85%)
Identical title and error message; that issue is open, triaged, and has a community workaround but no official fix.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #109 Failed to pull source: unable to determine source type of '/usr/share/snapcraft/extensions/ros2' | snapcraft-rocks | 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. | |
| #1968303 remote-build: support for snap relative sources | snapcraft (launchpad) | open | Remote build fails when a part uses a snapcraft extension path ($SNAPCRAFT_EXTENSIONS_DIR/ros2) as its source, because the remote builder cannot determine the source type. Open since ~2021 with no labels, comments, or maintainer response. |