From 3d3365daf598bd228d3335564a98a8756af92770 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 23 Oct 2026 13:54:56 +0200 Subject: AGENTS.md: note gcc-go shadowing the real go toolchain Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 72795dc..c4174c9 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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/` 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 -- cgit v1.2.3