Skip to content

Install Go for the NetBSD job from go.dev - #438

Closed
folbricht wants to merge 2 commits into
masterfrom
netbsd-go-release
Closed

folbricht wants to merge 2 commits into
masterfrom
netbsd-go-release

Conversation

@folbricht

Copy link
Copy Markdown
Owner

The NetBSD job installs Go with pkg_add go. pkgsrc's go meta-package reaches the binary mirrors before the versioned package it depends on, so on a new Go release the install fails until the mirror catches up:

pkg_add: no pkg found for 'go127-1.27.1*', sorry.
pkg_add: Can't install dependency go127-1.27.1*

The job then fails before any test runs, whatever the change under test.

This takes the Go release named in go.mod from go.dev instead, the same version the Linux jobs test with. The other BSD jobs keep using their package repos, whose go package is a single package without that ordering problem.

pkgsrc's go meta-package reaches the binary mirrors before the versioned
package it depends on. On a new Go release, pkg_add go then fails with
"no pkg found for 'go127-1.27.1*'" until the mirror catches up, and the
job fails before any test runs.

Take the release named in go.mod from go.dev instead, which is also the
version the Linux jobs test with.
NetBSD doesn't have /usr/local, pkgsrc installs into /usr/pkg.
@folbricht folbricht closed this Sep 26, 2026
@folbricht
folbricht deleted the netbsd-go-release branch September 26, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant