Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Aug 2025 08:34:59 +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-RVt5UkMxxw@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 #5 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=637a63de98ffb5f37589228a102ccf7335c49485

commit 637a63de98ffb5f37589228a102ccf7335c49485
Author:     Palle Girgensohn <girgen@FreeBSD.org>
AuthorDate: 2025-08-24 08:33:18 +0000
Commit:     Palle Girgensohn <girgen@FreeBSD.org>
CommitDate: 2025-08-24 08:34:17 +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)

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

-- 
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-RVt5UkMxxw>