I’m trying to update the FreeBSD port to 1.12.1, and I’m running into this problem:
CC= GOOS= GOARCH= go generate -mod=vendor -tags 'pam sqlite sqlite_unlock_notify'
go: inconsistent vendoring in /var/ports/work/usr/home/vagrant/gitea/work/gitea-1.12.1:
firstname.lastname@example.org: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
run 'go mod vendor' to sync, or use -mod=mod or -mod=readonly to ignore the vendor directory
I’m pulling the release archive off GitHub. Is there an additional make step that needs to be taken to use the vendored modules, or is the vendored state inconsistent in the archive?