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

#1152353#5
Date:
2026-10-28 13:10:30 UTC
From:
To:
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.

#1152353#10
Date:
2026-10-28 15:05:19 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
golang-github-scylladb-go-set, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1152353@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Juan Manuel Méndez Rey <juan.mendezr@proton.me> (supplier of updated golang-github-scylladb-go-set package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 28 Oct 2026 13:51:42 +0100
Source: golang-github-scylladb-go-set
Architecture: source
Version: 1.0.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Changed-By: Juan Manuel Méndez Rey <juan.mendezr@proton.me>
Closes: 1152353
Changes:
 golang-github-scylladb-go-set (1.0.2-2) unstable; urgency=medium
 .
   * Team upload.
   * Fix the compile error on 32-bit architectures, from upstream.
     Nothing that imports this library builds on i386, armel or armhf
     without it (Closes: #1152353).
Checksums-Sha1:
 b49d34d3c25294cc41e653b2b00689002b95dad1 2297 golang-github-scylladb-go-set_1.0.2-2.dsc
 9c8d7d12c27fbc8d7b590715842abb76a18c656d 20160 golang-github-scylladb-go-set_1.0.2.orig.tar.gz
 5897acdb11c1035ca6feee18c10ea4274118f3fd 4604 golang-github-scylladb-go-set_1.0.2-2.debian.tar.xz
 ef075be7339d3bb8ef11b2e710ed937771e9005a 7107 golang-github-scylladb-go-set_1.0.2-2_source.buildinfo
Checksums-Sha256:
 89a3e961dc941118c2b87283ddd648e55bf188cb4ab8ef58501749815199e15c 2297 golang-github-scylladb-go-set_1.0.2-2.dsc
 0a411b77372bd27dde39979a6af58123222e50307ba3e4226cd4d2d12f33372b 20160 golang-github-scylladb-go-set_1.0.2.orig.tar.gz
 a3fb598b2448b83731396fdea14dd1bdbcc8f1d541544093379597d58a2b97b8 4604 golang-github-scylladb-go-set_1.0.2-2.debian.tar.xz
 b464e656d8c730bc6a4717ce55d9f701cfadaca183799eecac848a8ae4db7e57 7107 golang-github-scylladb-go-set_1.0.2-2_source.buildinfo
Files:
 d1021f25f26de730cbd5effd9402984b 2297 golang optional golang-github-scylladb-go-set_1.0.2-2.dsc
 e6dc2f41c67e2b1fc9b197ec62424248 20160 golang optional golang-github-scylladb-go-set_1.0.2.orig.tar.gz
 dd2adca5cbf28ea93eef741c4574e3cc 4604 golang optional golang-github-scylladb-go-set_1.0.2-2.debian.tar.xz
 5370dd56beebdcc88a0bbefa452dc15d 7107 golang optional golang-github-scylladb-go-set_1.0.2-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXHq+og+GMEWcyMi14n8s+EWML6QFAmriC0AACgkQ4n8s+EWM
L6QJ4A//eC0PHq88UeA5fwC2vZekEDJ1bX+VmUYXP2HabgakQSJSlMmNK/FCfnEN
Zvn+yLOJp57bul0ZCWjTXgUvvRE0eLsibNjybNinOhmKaiX1ZQSpDCRkiIgbJlrv
B7ACs2wdZIvYOaJVOffo/WagIM+voYlogFHUwiFTQ3Z/Nt4N8NaN9nQMGFMvL/Gy
/FYx/byljJI4yZhtP14pC5IXNGpIRRfDH751GGGGeibbYIRymCMhN14iLngWuNMY
3kqBBmQQ25B6EuhZItyvNxmCQ8sbWVLB4len9m8Fm0RoErTtzWKXygOBZLICOp7h
TfrrRRTw9nB0kovoHF3iF3hT2tsS+Zhuwd9ZC3pSLrLl7O90zGBv8Bh7QEw9WiFp
ARg447InbDJ0rUVsOV8MsQV1ZSWOkZKDc6GOIjXRg5KDB63UNOxHGfxzeMPgDdcS
82fM7tfGki/YrQb31KPscaitjUAbOy3Tr/KIjHmcmqHT0jPS+uIvHf77zxr24EnH
tyJ5ReD48pkWtBNhUcboBknd2BIWoF6jcNUNJlLRx5MB256uLwTKd2NhXm0BmSAM
T7ueV4cuxsC8t12gOIRdHr4GfrEThiQ0yZTPrpG539mqak4hMBnNYIArnYa7/MbW
MBK/cwzCTbC5hdPE6g0kvaN3C981vsOSZ4LZcbllV2Q8E/1SN+0=
=DISN
-----END PGP SIGNATURE-----