Re: syutils/beats7 broken: invalid reference to syscall.recvmsg

From: Juraj Lutter <otis_at_FreeBSD.org>
Date: Mon, 26 May 2025 09:45:14 UTC
Hi,

> On 26 May 2025, at 11:19, Palle Girgensohn <girgen@FreeBSD.org> wrote:
> 
> Hi!
> 
> It seems go-1.23 was changed from 1.22 so that internal access to syscall.recvmsg is no longer allowed. This discussion for a different project that has the same problem: 
> https://github.com/chipmk/docker-mac-net-connect/issues/39
> 
> Building beats7 stops short with the error message:
> 
> link: golang.org/x/net/internal/socket: invalid reference to syscall.recvmsg
> 
> 
> Please see below. Dunno what the best solution is. Perhaps an update will suffice? I see plenty of newer tags in the beats repository.

The solution would be to update the whole ELK stack as such, but there is a problem with go-sysinfo that lacks FreeBSD support.
There is a github pull request open, but I’m not sure in what state it is as of now.

otis

—
Juraj Lutter
otis@FreeBSD.org