the go plugin doesn't use go build-snaps
Metadata
Current evaluation
Resolved by adding build-snap support to snapcraft and publishing a dedicated go snap. The go plugin was updated to use the go build-snap instead of the legacy deb package, enabling support for newer Go versions.
Suggested action: —
No scores available.
Issue body
We are currently using the golang-go package from the xenial or yakkety, which is currently 1.6.
Go 1.7 was released some days ago, and there are already projects using it that won't be able to be snapped.
Update: we added build-snaps to snapcraft, and now there is a go snap with the latest versions. The go plugin should be able to use the go build-snap instead of the go deb.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Resolved by adding build-snap support to snapcraft and publishing a dedicated go snap. The go plugin was updated to use the go build-snap instead of the legacy deb package, enabling support for newer Go versions. | |
| qwen/qwen3.6-35b-a3b | — | — | Fixed by updating the Go plugin to use go build-snap instead of the legacy deb package, enabling support for newer Go versions. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2194 plugins: do not install go debs if go snap is used | snapcraft | merged | Merged a fix to the go plugin that skips installing the golang-go deb package when a go build-snap is defined, resolving PATH conflicts. Approved by reviewers, passed CI with full coverage, and integrated into master. | |
| #1884558 go plugin with snapcraft 4 doesn't support building static binaries | snapcraft (launchpad) | closed | Closed as stale. The Go plugin has significantly changed since Snapcraft 4, rendering the report obsolete. Users should upgrade to a newer Snapcraft version for updated build behavior. | |
| #2061 go: only use Go build package if not using the snap | snapcraft | closed | Abandoned without merging. The author withdrew the Go plugin changes after offline discussions determined the implementation required further design review before proceeding. | |
| #1612741 Snapcraft go plugin install issues | snapcraft (launchpad) | open | Snapcraft's go plugin fails to build godoc because go install writes to $GOROOT/bin (permission denied), a known golang bug; reporter also asks snapcraft to prevent installs into $GOROOT or force install path inside the snap. No labels, no comments, no maintainer activity in ~10 years. |