From nobody Mon May 26 19:06:21 2025 X-Original-To: elastic@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4b5lcF2F39z5wgpb for ; Mon, 26 May 2025 19:06:37 +0000 (UTC) (envelope-from otis@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4b5lcF1ND0z3q75; Mon, 26 May 2025 19:06:37 +0000 (UTC) (envelope-from otis@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1748286397; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yxHehYRpo5zscXjm56VVe6DxKTvxPInWhL+eDG9Kzas=; b=R2Tds0ULjD2DGPrHe24JFDplqsMVawP3rXFSX/ytRrEYAlSj20l7DRsw4tjRQX0NOtCVlK PXqy3TcwU/St1nnvacos5gJCORjZZr8TJrVU2zeryuS9cO2wH/hoVv+0IWXoiJig+rd9c1 FBOYb5578anno8XflMVUHFa0IZtb+XFwUvIiFsqiQvWxQxAfK9B6xkeOPd0E7LGuG6rwIZ wDA6I4CEISDupeAKCqxbnl+3HxETn2djZqO9XtERUw9a2x3T0Atg8yysZm4UkToGsKj5FC wMqmqxSBZB3Dl+3iX1A/zC1/JgNVft59Z23gcytO9xvH8+Yfvoq4+tEMsRbJHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1748286397; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yxHehYRpo5zscXjm56VVe6DxKTvxPInWhL+eDG9Kzas=; b=WlolSHXwD5V9lc9ZPy/DZ7EFlr3iwLbE5h5BfH5cJlgcW+QDbTcBD05Ohb2JsSzdnYQYxK dNureD8fYlm9aJxk0CfD+pdgiEPxL96LFfF9bTnak7uW+6Ug+EmEdjdYtMuuOL7/i2uqwo 4tSpLeCZNw/RNsV3Q160wEct13Vgie0UcqZqoEiOyZzx3fnGtll1BqRSg/ukg9szs7kFJQ IollNers6JU5G/ofzIniaEJUsKCrhIw6kOhTUsiEC0bIy6rdd4gxgcEDHkMgEAwcihZ4Vi x+pZevX11yEFlBcXqmvwPMHe3voYWyNIsH94EVnh64/0XN6xm1hhq69qdmfz3A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1748286397; a=rsa-sha256; cv=none; b=X9iMT3RdAUue5Fuvwnz0lhWNE6rnaiwzg1lZNoJSvJL+KvtvNlILicfC5ED7Zp59w/9JSJ NSmWj9NAzadziGMDCW19otLS0BKuoOLWdje8XvrK2THNCNSHnMNjz6Y70k9n9E6TNSoYhN JA5MIpkHaCoFyG55LTckZAu8nKWHgSBDTkMN+SpK9a+nNg8wORLe16ZnvEFfEY1M0/nf1n jqENVcdUGqAAiRn5iwWBnVLYwkS26NU9hSTng1PM9Dk/VWtqT1IjbNyWUyMXXA5jSEehny 2UQrQGWRpUBbxU6gDJJIx9RhR05d8Ufyyj9/u9GRR9xMqRQXt4i0+DMgsKuFqQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from ns2.wilbury.net (ns2.wilbury.net [IPv6:2a01:b200:0:1:f816:3eff:fecd:13e6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (prime256v1) client-digest SHA256) (Client CN "svc.wilbury.net", Issuer "E6" (verified OK)) (Authenticated sender: otis) by smtp.freebsd.org (Postfix) with ESMTPSA id 4b5lcD5m79z179h; Mon, 26 May 2025 19:06:36 +0000 (UTC) (envelope-from otis@FreeBSD.org) Received: from smtpclient.apple (gw-t.owhome.net [87.197.133.183]) (Authenticated sender: juraj@lutter.sk) by svc.wilbury.net (Postfix) with ESMTPSA id E4CC862226; Mon, 26 May 2025 21:06:32 +0200 (CEST) From: Juraj Lutter Message-Id: <7DAD85DA-AA9F-4339-81D4-6693A2112344@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_8810C1BB-69FA-49FE-88FE-D7B0EC72DD5C"; protocol="application/pgp-signature"; micalg=pgp-sha256 List-Id: Support of ElasticSearch-related ports List-Archive: https://lists.freebsd.org/archives/freebsd-elastic List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-elastic@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.600.51.1.1\)) Subject: Re: syutils/beats7 broken: invalid reference to syscall.recvmsg Date: Mon, 26 May 2025 21:06:21 +0200 In-Reply-To: <6453C373-5E92-4A92-8FD3-1DC5D63CCEAD@FreeBSD.org> Cc: "elastic@freebsd.org" To: Palle Girgensohn References: <500325D4-AF35-4944-90C5-FD83F9C73179@FreeBSD.org> <60980DD4-38D7-42CB-914D-051746F629AA@FreeBSD.org> <6453C373-5E92-4A92-8FD3-1DC5D63CCEAD@FreeBSD.org> X-Mailer: Apple Mail (2.3826.600.51.1.1) --Apple-Mail=_8810C1BB-69FA-49FE-88FE-D7B0EC72DD5C Content-Type: multipart/alternative; boundary="Apple-Mail=_CFDFC9D5-2BB5-4502-A1A7-A4B212E5DFB6" --Apple-Mail=_CFDFC9D5-2BB5-4502-A1A7-A4B212E5DFB6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 26 May 2025, at 17:33, Palle Girgensohn wrote: >=20 >=20 >> 26 maj 2025 kl. 11:45 skrev Juraj Lutter : >>=20 >> Hi, >>=20 >>> On 26 May 2025, at 11:19, Palle Girgensohn = wrote: >>>=20 >>> Hi! >>>=20 >>> 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:=20 >>> https://github.com/chipmk/docker-mac-net-connect/issues/39 >>>=20 >>> Building beats7 stops short with the error message: >>>=20 >>> link: golang.org/x/net/internal/socket: invalid reference to = syscall.recvmsg >>>=20 >>>=20 >>> Please see below. Dunno what the best solution is. Perhaps an update = will suffice? I see plenty of newer tags in the beats repository. >>=20 >> 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=E2=80=99m not sure in what = state it is as of now. >>=20 >> otis >>=20 >> =E2=80=94 >> Juraj Lutter >> otis@FreeBSD.org > Hi, >=20 > Perhaps the simple fix for the moment is to use go-1.22? That might work. I=E2=80=99ll look what can be done on this matter. otis =E2=80=94 Juraj Lutter Fediverse: otis@bsd.network BlueSky: @wilbury.net LinkedIn: https://www.linkedin.com/in/jurajlutter/ GSM: +421907986576 --Apple-Mail=_CFDFC9D5-2BB5-4502-A1A7-A4B212E5DFB6 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

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=E2=80=99m not sure in what state it = is as of now.

otis

=E2=80=94
Juraj Lutter
otis@FreeBSD.org

Hi,
=
Perhaps the simple fix for the moment is to use = go-1.22?

That might work. = I=E2=80=99ll look what can be done on this = matter.

otis

=E2=80=94
Juraj = Lutter
Fediverse: otis@bsd.network
BlueSky:&n= bsp;@wilbury.net
GSM: = +421907986576

= --Apple-Mail=_CFDFC9D5-2BB5-4502-A1A7-A4B212E5DFB6-- --Apple-Mail=_8810C1BB-69FA-49FE-88FE-D7B0EC72DD5C Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSSOAulbb/QQ+aVFazJaY/4FUzfAAUCaDS7rQAKCRDJaY/4FUzf AJTNAP444zN3Ec+Oy78eiwR13Yhygzh9WKOoaDq9lGvM/rUSgwD/XLyBRoI7LJoU fEMaYDous/D/lAj2yA8I/ZI7kFKAkAo= =X/AT -----END PGP SIGNATURE----- --Apple-Mail=_8810C1BB-69FA-49FE-88FE-D7B0EC72DD5C--