Re: syutils/beats7 broken: invalid reference to syscall.recvmsg
- In reply to: Palle Girgensohn : "Re: syutils/beats7 broken: invalid reference to syscall.recvmsg"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 26 May 2025 19:06:21 UTC
> On 26 May 2025, at 17:33, Palle Girgensohn <girgen@FreeBSD.org> wrote: > > >> 26 maj 2025 kl. 11:45 skrev Juraj Lutter <otis@FreeBSD.org>: >> >> 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 <mailto:otis@FreeBSD.org> > Hi, > > Perhaps the simple fix for the moment is to use go-1.22? That might work. I’ll look what can be done on this matter. otis — Juraj Lutter Fediverse: otis@bsd.network <mailto:otis@bsd.network> BlueSky: @wilbury.net <https://bsky.app/profile/wilbury.net> LinkedIn: https://www.linkedin.com/in/jurajlutter/ GSM: +421907986576