[Bug 287103] sysutils/beats7: doesn't build with Go version > 1.21

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 24 Aug 2025 11:29:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287103

--- Comment #7 from commit-hook@FreeBSD.org ---
A commit in branch 2025Q3 references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=6e63c448abb3396365d320893912fcd30eef3098

commit 6e63c448abb3396365d320893912fcd30eef3098
Author:     Palle Girgensohn <girgen@FreeBSD.org>
AuthorDate: 2025-08-24 08:33:18 +0000
Commit:     Palle Girgensohn <girgen@FreeBSD.org>
CommitDate: 2025-08-24 11:28:14 +0000

    sysutils/beats7: Fix build using older version of go

    syscall.SendmsgN and syscall.Recvmsg where moved to golang.org/x/sys/unix a
    while back. With go-1.23, they where finally removed from syscall, and
hence
    the build fails. This package uses older version of some vendor packages
that
    where not migrated. Building with go-1.22 mitigates the problem and fixes
the
    build. 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.

    PR:             287103
    Approved-by:    otis (with elastic hat)
    MFH:            2025Q3
    (cherry picked from commit 637a63de98ffb5f37589228a102ccf7335c49485)

 sysutils/beats7/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.