Trying to build www/mattermost-server 8.1.11 fails in the "fetch" phase due to unexpected size 12089 of go.mod instead of the expected 12109 This might be related to the replace-hack mentioned in PR 276638
decke@ Can you have a quick look at this?
Yes, I'm checking it.
It looks a lot like a commit to go.mk has broken our hack. I do not have a quick fix available at the moment.
I have a working fix for it now but had to remove the hack and avoid GO_MODULE. I had to roll my own distfile instead including /vendor. The good thing is that this likely also works fine for newer mattermost releases. The old hack did not work for newer mattermost 9.5 releases anyway because they use more keywords in go.mod (eg. exclude) which our framework does not support.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=6b177df5fcb8048b66d24a1cab847338e6aa34ac commit 6b177df5fcb8048b66d24a1cab847338e6aa34ac Author: Bernhard Froehlich <decke@FreeBSD.org> AuthorDate: 2024-04-23 18:14:51 +0000 Commit: Bernhard Froehlich <decke@FreeBSD.org> CommitDate: 2024-04-23 18:27:49 +0000 www/mattermost-server: Update to 8.1.12 The old hack to overwrite go.mod and replace some unsupported keywords did not work anymore so we roll our own distfile now including vendorized dependencies. PR: 278462 Approved by: maintainer (implicit) www/mattermost-server/Makefile | 15 +++------------ www/mattermost-server/distinfo | 8 +++----- 2 files changed, 6 insertions(+), 17 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7680ac5879635507b9bbf56d04d6d9ded39cb5e5 commit 7680ac5879635507b9bbf56d04d6d9ded39cb5e5 Author: Bernhard Froehlich <decke@FreeBSD.org> AuthorDate: 2024-04-23 18:25:37 +0000 Commit: Bernhard Froehlich <decke@FreeBSD.org> CommitDate: 2024-04-23 18:27:49 +0000 www/mattermost-webapp: Update to 8.1.12 PR: 278462 Approved by: maintainer (implicit) www/mattermost-webapp/Makefile | 2 +- www/mattermost-webapp/distinfo | 6 +++--- www/mattermost-webapp/pkg-plist | 12 ++++++------ 3 files changed, 10 insertions(+), 10 deletions(-)
This should be fixed now.
A commit in branch 2024Q2 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=385101b201d2d65d7284f521b7a6533f856e17e1 commit 385101b201d2d65d7284f521b7a6533f856e17e1 Author: Bernhard Froehlich <decke@FreeBSD.org> AuthorDate: 2024-04-23 18:14:51 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-06-24 15:21:04 +0000 www/mattermost-server: Update to 8.1.12 The old hack to overwrite go.mod and replace some unsupported keywords did not work anymore so we roll our own distfile now including vendorized dependencies. PR: 278462 Approved by: maintainer (implicit) (cherry picked from commit 6b177df5fcb8048b66d24a1cab847338e6aa34ac) www/mattermost-server/Makefile | 15 +++------------ www/mattermost-server/distinfo | 8 +++----- 2 files changed, 6 insertions(+), 17 deletions(-)
A commit in branch 2024Q2 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=88dd805cda0cf8af031c63117292efa068b5dd91 commit 88dd805cda0cf8af031c63117292efa068b5dd91 Author: Bernhard Froehlich <decke@FreeBSD.org> AuthorDate: 2024-04-23 18:25:37 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2024-06-30 19:11:21 +0000 www/mattermost-webapp: Update to 8.1.12 PR: 278462 Approved by: maintainer (implicit) (cherry picked from commit 7680ac5879635507b9bbf56d04d6d9ded39cb5e5) www/mattermost-webapp/Makefile | 2 +- www/mattermost-webapp/distinfo | 6 +++--- www/mattermost-webapp/pkg-plist | 12 ++++++------ 3 files changed, 10 insertions(+), 10 deletions(-)