Skip to content

Cannot build on 17.10 and 17.11 on FreeBSD

Summary

I currently prepare a package of gitlab-runner 17.11.0 for FreeBSD. But I get the error message while downloading the go dependencies:

===> Fetching gitlab.com/gitlab-org/gitlab-runner dependencies
go: gitlab.com/gitlab-org/gitlab-runner/helpers/runner_wrapper/api@v0.1.1 (replaced by ./helpers/runner_wrapper/api): reading helpers/runner_wrapper/api/go.mod: open /usr/local/poudriere/ports/gitlab/distfiles/go/devel_gitlab-runner/gitlab-runner-v17.11.0/helpers/runner_wrapper/api/go.mod: no such file or directory
*** Error code 1

It must be a change that happened with 17.10.x.

Does anyone have an idea how this could be fixed?