Date: Wed, 08 Apr 2026 18:37:17 +0000 From: =?utf-8?Q?=C3=84lven?= <alven@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Cc: Magnus Kaiser <freebsd@4xoc.com> Subject: git: b21fae513296 - main - net-mgmt/thanos: Build with '-tags slicelabels' to fix gRPC panics Message-ID: <69d6a05d.308c3.56707775@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by alven: URL: https://cgit.FreeBSD.org/ports/commit/?id=b21fae5132961c8b37bb83b5ddfebb77752f60cd commit b21fae5132961c8b37bb83b5ddfebb77752f60cd Author: Magnus Kaiser <freebsd@4xoc.com> AuthorDate: 2026-04-08 17:54:43 +0000 Commit: Älven <alven@FreeBSD.org> CommitDate: 2026-04-08 18:36:23 +0000 net-mgmt/thanos: Build with '-tags slicelabels' to fix gRPC panics Thanos in at least build version 0.41.0-1 causes panics once gRPC calls to the sidecar or store component are made. This appears to be an issue known in upstream [0], but the fix requires the use of the `-tags slicelabels` Go build flags. [0] https://github.com/thanos-io/thanos/issues/8543 PR: 294337 Tested by: Magnus Kaiser <freebsd@4xoc.com> Approved by: db@, yuri@ (Mentors, implicit) MFH: 2026Q2 --- net-mgmt/thanos/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-mgmt/thanos/Makefile b/net-mgmt/thanos/Makefile index 891205f346da..2fd99978de36 100644 --- a/net-mgmt/thanos/Makefile +++ b/net-mgmt/thanos/Makefile @@ -1,7 +1,7 @@ PORTNAME= thanos DISTVERSIONPREFIX= v DISTVERSION= 0.41.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt MAINTAINER= alven@FreeBSD.org @@ -16,7 +16,7 @@ USES= go:modules GO_MODULE= github.com/thanos-io/thanos GO_TARGET= ./cmd/${PORTNAME} -GO_BUILDFLAGS= -ldflags "\ +GO_BUILDFLAGS= -tags slicelabels -ldflags "\ -s -w \ -X github.com/prometheus/common/version.Branch="master" \ -X github.com/prometheus/common/version.BuildDate=${BUILD_DATE} \home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69d6a05d.308c3.56707775>
