After updating DISTVERSION to 0.40.0 and 'make makesum' the extract phase fails: > go: github.com/fsnotify/fsnotify@v1.5.4: missing go.sum entry; to add it: > go mod download github.com/fsnotify/fsnotify > go: github.com/fsnotify/fsnotify@v1.5.4: missing go.sum entry; to add it: > go mod download github.com/fsnotify/fsnotify > *** Error code 1
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=6e236e18965327f6100473770e4edb78c94fb1d4 commit 6e236e18965327f6100473770e4edb78c94fb1d4 Author: Dmitri Goutnik <dmgk@FreeBSD.org> AuthorDate: 2022-05-08 20:49:05 +0000 Commit: Dmitri Goutnik <dmgk@FreeBSD.org> CommitDate: 2022-05-09 11:15:14 +0000 Mk/Uses/go.mk: Try to tidy up go.sum after fetch, fix EXTRACT_ONLY Make a best effort attempt (without network access) to add missing go.sum entries using local module cache prepared by the fetch stage. Set EXTRACT_ONLY dynamically from DISTFILES, repair USE_{GITHUB,GITLAB}. PR: 258210 PR: 262981 PR: 263866 Mk/Uses/go.mk | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)