Skip to content

Cannot build 5.9.1 with FreeBSD (required for Gitlab 18.4.2)

Hi,

I'm the package maintainer for the gitlab port in FreeBSD. I currently upgrade the gitlab package from 18.3.4 to 18.4.2.

For this I need gitlab-elasticsearch-indexer with a version of at least 5.9.1. But the package is not buildable. Version 5.7.0 builds fine.

Error message is:

cannot find module providing package gitlab.com/gitlab-org/rust/gitlab-code-parser/bindings/go/cmd/libparser-download: import lookup disabled by -mod=vendor
	(Go version in go.mod is at least 1.14 and vendor directory exists.)
gmake: *** [Makefile:84: tmp/libparser] Error 1

The fully build log is here: https://pkg.fechner.net/data/143amd64-gitlab/2025-10-19_10h48m14s/logs/errors/gitlab-elasticsearch-indexer-5.9.1.log

Can you please help?