Date: Wed, 28 May 2025 01:22:24 +0000 From: bugzilla-noreply@freebsd.org To: elastic@FreeBSD.org Subject: maintainer-feedback requested: [Bug 287103] sysutils/beats7: doesn't build with Go version > 1.21 Message-ID: <bug-287103-37421-E1osxdpU2X@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
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-elastic (Nobody) <elastic@FreeBSD.org> for maintainer-feedback: Bug 287103: sysutils/beats7: doesn't build with Go version > 1.21 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287103 --- Description --- 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-287103-37421-E1osxdpU2X>
