You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(build): set GOROOT for remote Go builds (#1198)
* fix(build): set GOROOT for remote Go builds
Assisted-by: GPT-5 via pi
* fix(ci): avoid stdin device in remote sandboxes
Assisted-by: GPT-5 via pi
* fix(nvidia): keep preset heredoc inside YAML block
Assisted-by: GPT-5 via pi
* docs(skills): document no-/dev/stdin rule in remote sandboxes
Assisted-by: Gemini 3.6 Flash via GitHub Copilot
Copy file name to clipboardExpand all lines: docs/skills/buildstream.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -152,3 +152,7 @@ Do not cancel a build under 120 min just because it "seems slow." Historical ran
152
152
### 32 fetchers is the right setting for cache.projectbluefin.io (2026-06-23)
153
153
154
154
`buildstream-ci.conf` uses `fetchers: 32` (BST default is 10). With default + nvidia running simultaneously = 64 concurrent gRPC streams. The CAS server is a Hetzner AX102-U (1 Gbit/s uplink, NVMe Gen4) and can serve 64 streams comfortably. The bottleneck is network bandwidth (~125 MB/s total), not server capacity. Do not reduce fetchers without evidence of server-side saturation.
155
+
156
+
### Avoid /dev/stdin redirection in remote sandboxes (2026-07-25)
157
+
158
+
BuildStream elements that write inline configuration files using `install -Dm644 /dev/stdin ... <<'EOF'` fail in remote execution sandboxes (like BuildBarn) where `/dev/stdin` is not available as a standard character device. Write inline files using a two-step pattern: create the destination file with `install -Dm644 /dev/null target`, then populate it with `cat > target <<'EOF'`.
Copy file name to clipboardExpand all lines: docs/skills/packaging-go.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -191,3 +191,7 @@ reads from the source), the Go vendor tarball must be generated offline and uplo
191
191
separately. Factor in this extra maintenance step when deciding between Pattern 1 and
192
192
Pattern 2 — Pattern 1 (go_module sources) is more maintainable long-term because refs
193
193
can be updated in-place.
194
+
### Dependent Go elements need an explicit GOROOT in remote sandboxes
195
+
196
+
The freedesktop-sdk Go toolchain installs its standard library under `%{libdir}/go`, but dependent elements do not inherit the toolchain element’s `GOROOT_BOOTSTRAP`. Set `GOROOT: "%{libdir}/go"` in every Dakota element that invokes `go build`; otherwise BuildBarn remote actions can fail with `go: cannot find GOROOT directory` even though the Go binary is present.
0 commit comments