Source: zabbix
Version: 1:7.0.9+dfsg-1
Severity: normal
Tags: ftbfs patch

I'm trying to update the version of golang-google-protobuf-dev from 
1.33.0-1 to 1.36.5 (it's needed for a newer version of syncthing).

zabbix seems to be the only package which FTBFS with this new version. 
And this seems to be because of an explicit declaration of go 1.17 in 
vendor/modules.txt. It does not seem to be a new problem: 
bump-golang-required-versions.patch seems to fix similar issues with 
other libs. Are these explicit declarations really needed? It may be 
annoying to patch zabbix's vendor/modules.txt again and again when 
updating golang libs...

Anyway, the attached patch fixes the build with the newer version of
golang-google-protobuf-dev (not in sid yet, I'm waiting for an update of 
the keyring).

Regards,

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'stable-security'), (500, 'stable'), 
(100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.13-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- 
Félix
From: Félix Sipma <fe...@debian.org>
Date: Thu, 27 Feb 2025 14:29:58 +0100
X-Dgit-Generated: 1:7.0.9+dfsg-1.1 ca79ec1f43fae486541b597dae927c1817966d5d
Subject: fix FTBFS


---

diff --git a/vendor/modules.txt b/vendor/modules.txt
index 0094e63..fc97986 100644
--- a/vendor/modules.txt
+++ b/vendor/modules.txt
@@ -255,7 +255,7 @@ golang.zabbix.com/sdk/zbxerr
 golang.zabbix.com/sdk/zbxflag
 golang.zabbix.com/sdk/zbxnet
 # google.golang.org/protobuf v1.34.1
-## explicit; go 1.17
+## explicit; go 1.18
 google.golang.org/protobuf/encoding/prototext
 google.golang.org/protobuf/encoding/protowire
 google.golang.org/protobuf/internal/descfmt

Attachment: signature.asc
Description: PGP signature

Reply via email to