diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-23 13:54:56 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-23 13:54:56 +0200 |
| commit | 3d3365daf598bd228d3335564a98a8756af92770 (patch) | |
| tree | 2fa9a3087380abc9e93744ee8b6774427d2cd18e /AGENTS.md | |
| parent | 775850aef9df41389ed4c229f9002466543c89fb (diff) | |
| download | my-slackbuilds-3d3365daf598bd228d3335564a98a8756af92770.tar.gz my-slackbuilds-3d3365daf598bd228d3335564a98a8756af92770.zip | |
AGENTS.md: note gcc-go shadowing the real go toolchainmain
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -315,6 +315,17 @@ trusting them, since upstream tooling fixes can retire a false positive. for every `sbodl` call. If `-f` is not available, delete the entry under `~/sbodl-cache/` and re-run plain `sbodl`. +### Go builds: gcc-go shadows the real go toolchain + +- Found: 2026-10-23 (kitty 0.49.2) +- Symptom: build fails at a `go` call with `go.mod: invalid go version + '1.26.0': must match format 1.23` and `unknown directive: toolchain`. +- Cause: on -current, `gcc-go` installs `/usr/bin/go` (gccgo, reports + go1.18). `google-go-lang` lives in `/usr/lib64/go<ver>/` and reaches + `PATH` only via `/etc/profile.d/go.sh`, which slackrepo does not source. +- Action: any SlackBuild that runs `go` sources the profile script before + building: `[ -r /etc/profile.d/go.sh ] && . /etc/profile.d/go.sh`. + ### opencode2-bin: do not strip the bun binary - Found: 2026-08-25 (opencode-bin), confirmed 2026-10-23 on opencode2-bin |
