Date: Sun, 24 Aug 2025 23:11:25 +0000 From: bugzilla-noreply@freebsd.org To: elastic@FreeBSD.org Subject: [Bug 287103] sysutils/beats7: doesn't build with Go version > 1.21 Message-ID: <bug-287103-37421-LyVox52znw@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-287103-37421@https.bugs.freebsd.org/bugzilla/> References: <bug-287103-37421@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287103 --- Comment #8 from Adam Weinberger <adamw@FreeBSD.org> --- (In reply to commit-hook from comment #7) > Since we already have beats8, it is safe to assume that go-1.22 will be > more long lived in the the ports tree than beats7, so downgrading to > just building with go-1.22 fixes the problem. Ultimately, beats7's go.mod specifies that it was written for go 1.19, which is before the backwards compatibility guarantee landed. Using mage is also a complicator; this setup is simply OLD. For right now, I think you made a really reasonable choice. Older go versions are going to go away at some point here. All of them. I'm working on removing all old go versions (as in everything less than 1.25) and the few packages that no longer compile will get marked broken again. This isn't happening today but as soon as I get a chance to do the work on it, I'm pushing forward with it. I don't know whether upstream is still developing the v7 branch. But the most sustainable thing to do is patch the actual problem, either in ports or upstream. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-287103-37421-LyVox52znw>
