← Back to issue list

the go plugin doesn't use go build-snaps

View original Github issue

Metadata

Project
snapcraft
Number
#1751
Type
issue
State
closed
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Fixed in canonical/snapcraft#2194 (commit 12d9151d3): the Go plugin now skips legacy golang-go DEBs when a Go build snap is configured.

Resolution: closed resolved

Reason: Merged PR canonical/snapcraft#2194 resolved the issue in commit 12d9151d3 by preventing installation of golang-go DEBs when a Go build snap is specified, avoiding PATH conflicts.

Evaluated by: mr-cal-bot

No scores available.

Issue body

[LP: #1616985](https://bugs.launchpad.net/snapcraft/+bug/1616985)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed in canonical/snapcraft#2194 (commit 12d9151d3): the Go plugin now skips legacy golang-go DEBs when a Go build snap is configured.
stealth/space-bunny-alpha — closed resolved Fixed by merged PR canonical/snapcraft#2194 (commit 12d9151d3), which made the Go plugin skip legacy Go deb installation when a Go build snap is used.
stealth/space-bunny-alpha — closed resolved Tracked as Launchpad bug #1616985; build-snap support landed in #1518 and PR #2194 (commit 12d9151d3) made the Go plugin skip golang-go debs when a Go build snap is used, closing the issue.
stealth/space-bunny-alpha — closed resolved Go build-snap support landed in #1518, and merged PR #2194 (12d9151d3) made the Go plugin avoid the legacy Go deb when a build snap is used.
qwen/qwen3.6-35b-a3b — — Closed without resolution or discussion. The report appears abandoned or superseded, with no fix implemented or merge details provided.
qwen/qwen3.6-35b-a3b — — Closed without resolution or comments. The Go plugin build-snaps limitation was not addressed, indicating the report was abandoned or superseded by later Snapcraft updates.
qwen/qwen3.6-35b-a3b — — The Go plugin build-snaps discrepancy was closed without resolution or comments. Prolonged inactivity and absent labels indicate the report was abandoned rather than fixed, merged, or superseded.
qwen/qwen3.6-35b-a3b — — Closed without resolution or comments. The request for Go plugin build-snap support appears abandoned or superseded. No fix was implemented.
qwen3.6-35b-a3b-mtp-q6 — — Abandoned. The Go plugin limitation remains unaddressed, with resolution details tracked externally via Launchpad bug #1616985.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/snapcraft#2194 (confidence 100%)

    Merged as commit 12d9151d3 and directly changed the Go plugin's build-snap handling.

  • Related To: canonical/snapcraft#1518 (confidence 94%)

    Introduced the build-snaps support that exposed the Go plugin's conflicting DEB installation behavior.

Related issues

Issue Project State Summary Similarity
#1616985 the go plugin doesn't use go build-snaps snapcraft (launchpad) closed Fixed by merged PR snapcore/snapcraft#2194 (commit 12d9151d3): the Go plugin now skips golang-go when a go build-snap is configured.
90%
#2194 plugins: do not install go debs if go snap is used snapcraft merged Merged as commit 12d9151d3: the Go plugin now skips golang-go when a go build-snap is defined, preventing PATH conflicts.
82%
#1884558 go plugin with snapcraft 4 doesn't support building static binaries snapcraft (launchpad) closed Closed as stale after more than six years; a maintainer noted that the Go plugin had changed substantially since Snapcraft 4, with no targeted fix cited.
72%
#1609623 go plugin has no build tags snapcraft (launchpad) closed Added Go build-tag support via the go-buildtags property in snapcraft PR #733 (commit 59d4acf8a), later refined by PR #888.
72%
#2061 go: only use Go build package if not using the snap snapcraft closed Closed unmerged after maintainers requested more design; Go build-snap handling was later fixed more narrowly by merged PR #2194 (commit 12d9151d3).
71%
#1748202 go plugin doesn't honor godeps file snapcraft (launchpad) closed Closed after a maintainer explained that Snapcraft's dedicated godeps plugin must be used; the go plugin does not consume versions from a Godeps file.
71%