← Back to issue list

Set GOBIN in go plugin build environment.

View original Github issue

Metadata

Project
snapcraft
Number
#859
Type
pull request
State
merged
Author
tasdomas
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #859 via commit e44e634f6, setting GOBIN in the Go plugin build environment so user-defined GOBIN no longer redirects executables; fixes the reported interference.

Resolution: closed resolved

Reason: PR #859 was merged, and commit e44e634f6 added the GOBIN setting to the Go plugin build environment, resolving the reported executable-location problem.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Fixes #1553215. If the user's environment has GOBIN set, it will interfere with the go plugin, forcing the end result executables to end up there instead of the expected location.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #859 via commit e44e634f6, setting GOBIN in the Go plugin build environment so user-defined GOBIN no longer redirects executables; fixes the reported interference.
stealth/space-bunny-alpha — closed resolved Merged canonical/snapcraft#859, setting GOBIN in the Go plugin build environment so user-defined GOBIN values no longer redirect executables. Resolves #1553215.
qwen/qwen3.6-35b-a3b — — Merged to resolve #1553215 by setting GOBIN in the go plugin build environment, preventing user variables from redirecting executables incorrectly. Reviewer confirmed the contributor's unsigned CLA is not required.
qwen3.6-35b-a3b-mtp-q6 — — Merged to resolve #1553215 by explicitly setting GOBIN in the go plugin build environment. This prevents user environment variables from redirecting compiled executables to unintended locations.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#772 Set GOBIN in go plugin build environment. snapcraft closed Closed stale after inactivity; the same Go-plugin GOBIN fix was later merged in canonical/snapcraft#859 via commit e44e634f6.
83%
#1656118 godeps plugin break when GOBIN is set snapcraft (launchpad) closed Fixed the godeps plugin’s handling of a preset GOBIN, installing binaries in the correct location via merged PR #1046 (c949d5f3e).
78%
#1046 godeps plugin: work when GOBIN is set snapcraft merged Merged PR #1046 (commit c949d5f3e), fixing the godeps plugin to work when GOBIN is set and resolving LP #1656118.
78%