Date: Wed, 28 May 2025 01:22:24 +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@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287103 Bug ID: 287103 Summary: sysutils/beats7: doesn't build with Go version > 1.21 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: elastic@FreeBSD.org Reporter: iron.udjin@gmail.com Assignee: elastic@FreeBSD.org Flags: maintainer-feedback?(elastic@FreeBSD.org) OS: 14.3-STABLE stable/14-n271394-3ab24f211ae8 beats7-7.17.11_13 Currently, the default version of Go is 1.24.3. With this version sysutils/beats7 fails to build: >> build: Building filebeat # github.com/elastic/beats/v7/filebeat link: golang.org/x/net/internal/socket: invalid reference to syscall.recvmsg Error: running "go build -o filebeat -ldflags -s -X github.com/elastic/beats/v7/libbeat/version.buildTime=2025-05-28T01:13:02Z -X github.com/elastic/beats/v7/libbeat/version.commit=v7.17.11" failed with exit code 1 *** Error code 1 But... if I add in /etc/make.conf: DEFAULT_VERSIONS+= go=1.21 ...it builds fine. -- 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>
