🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #2479

Bug#1152353: golang-github-scylladb-go-set: does not compile on 32-bit architectures

#2479
From: juan.mendezr
Date: Wed, 28 Oct 2026 13:20
34 lines
3023 bytes
Package: golang-github-scylladb-go-set
Version: 1.0.2-1
Severity: important
Tags: patch upstream

Intersection() in each of the 18 set packages starts its minimum at
math.MaxInt64 and compares against it. That constant does not fit in an int
where int is 32 bits, so the library does not compile on i386, armel or armhf,
and nothing that imports it builds there either.

Measured with ratt against both direct reverse dependencies, in clean i386
chroots with 1.0.2-1 installed. Both stop at Fail-Stage: build on
strset.go:248, "math.MaxInt64 (untyped int constant 9223372036854775807)
overflows int":

  golang-github-anchore-bubbly 0.2.2-1
  golang-github-anchore-go-logger 0.1.0-2

Both of those are Architecture: all, so they are built on amd64 and the
breakage is latent in the archive today. It becomes real for any package that
builds a binary on a 32-bit architecture, which is how we ran into it.

Upstream fixed it in
https://github.com/scylladb/go-set/commit/cc7b2070d91ebf40d233207b633e28f5bd8f03a5
and has not tagged a release since, so the fix has to come in as a patch. That
patch is
https://salsa.debian.org/go-team/packages/golang-github-scylladb-go-set/-/merge_requests/1
With it both reverse dependencies build on i386, and both still build on amd64.
Technical Details
Message-ID: <NTbJn-8qIL-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: juan.mendezr@proton.me
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1152353: golang-github-scylladb-go-set: does not compile on 32-bit architectures
Date: Wed, 28 Oct 2026 14:20:01 +0100
Message-ID: <NTbJn-8qIL-3@gated-at.bofh.it>
X-Original-To: submit@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Wed Oct 28 13:13:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: juan.mendezr@proton.me, 1152353@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team+pkg-go@tracker.debian.org
X-Debian-Pr-Message: report 1152353
X-Debian-Pr-Package: golang-github-scylladb-go-set
X-Debian-Pr-Keywords: patch upstream
X-Debian-Pr-Source: golang-github-scylladb-go-set
Feedback-ID: 176548819:user:proton
X-Pm-Message-ID: dd70566ce330794733b8f297f54d6cbf1f42a6a3
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1999361
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 34
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 28 Oct 2026 13:10:30 +0000
X-Original-Message-ID: <0ad68baec4567027cf9e1c1452653a3a@proton.me>