[From nobody Fri Nov 27 16:53:05 2026
Received: (at submit) by bugs.debian.org; 27 Nov 2026 15:11:53 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.0 required=4.0 tests=BAYES_00,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,RCVD_IN_DNSWL_MED,
 SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 36; hammy, 146; neutral, 34; spammy,
 2. spammytokens:0.998-1--fileId, 0.939-+--H*r:bugs.debian.org
 hammytokens:0.000-+--autopkgtest, 0.000-+--armhf, 0.000-+--sk:golang,
 0.000-+--sk:golang-, 0.000-+--cidebiannet
Return-path: &lt;rweir@ertius.org&gt;
Received: from zooty.ertius.net ([94.142.244.22]:49477)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;rweir@ertius.org&gt;) id 1xWxc8-005Jce-24
 for submit@bugs.debian.org; Fri, 27 Nov 2026 15:11:53 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ertius.org;
 s=202602; t=1795792304;
 bh=A2EQIlQngU0nN00m+SJwX7JdRiH8F5vNu828ShX5Zik=;
 h=From:To:Subject:Date:From;
 b=cKO4jKSeo0rGQXDt0OTqPSyu7Al0clYwRaKxfwpUuIqsVB+rZBJylECUoFbCVgyTP
 enDI+zQnyQnCkKmftGI7EUarWk50MjfidEtLfFRXd0v8X3ZmxuLUjmCuKGPtKWTNRj
 svbMjEWrzkl3rS2vfLUV0yC4tuUth2VEcNbFdLeGeVU/gcX/Gz8IbyDb7FzGFvMumc
 Xlg4ZzzKS++5jtHy3QJu9WdzumI2buegW+ap9cdWVEe/+XYGRNmU1ywvZxlr5+9PKi
 9vKrVw7YiT5bF5x6j9Suwb9xg5Q8EwIbILGCqJynhPhu8OWHEa6rgdMpWI+MglDKOd
 /v+6cQ8Lh5LzQ==
From: Rob Weir &lt;rweir@ertius.org&gt;
To: submit@bugs.debian.org
Subject: autopkgtest fails on 32-bit architectures
Date: Fri, 27 Nov 2026 15:11:30 +0000
Message-ID: &lt;m2se0m2tst.fsf@ertius.net&gt;
MIME-Version: 1.0
Content-Type: text/plain
Delivered-To: submit@bugs.debian.org

Source: golang-github-backblaze-blazer
Version:  0.9.0-1
Tags: patch

Hi there,

I noticed some failures in deb-ci on armhf[0] and i386[1], and had a
look at the log:

148s # github.com/Backblaze/blazer/b2 [github.com/Backblaze/blazer/b2.test]
148s src/github.com/Backblaze/blazer/b2/file_info_by_name_test.go:25:23: cannot use 1700000001000 (untyped int constant) as int value in map literal (overflows)
148s src/github.com/Backblaze/blazer/b2/file_info_by_name_test.go:26:158: cannot use 1735689600000 (untyped int constant) as int value in map literal (overflows)

It's reproducible on any arch with: GOOS=linux GOARCH=386 go test -c ./b2

I've included a patch that fixes it, but it is also fixed upstream[2] in
v0.10.1 (as part of a quite large PR).

0: https://ci.debian.net/packages/g/golang-github-backblaze-blazer/testing/armhf/78124602/
1: https://ci.debian.net/packages/g/golang-github-backblaze-blazer/testing/i386/78122246/
2: https://github.com/Backblaze/blazer/issues/150

diff --git c/b2/file_info_by_name_test.go i/b2/file_info_by_name_test.go
index d0a2ee3..e590e50 100644
--- c/b2/file_info_by_name_test.go
+++ i/b2/file_info_by_name_test.go
@@ -22,8 +22,8 @@ func TestGetFileInfoByName(t *testing.T) {
                        &quot;fileId&quot;: &quot;file-id&quot;, &quot;fileName&quot;: &quot;dir/file.txt&quot;, &quot;action&quot;: &quot;upload&quot;,
                        &quot;contentLength&quot;: 7, &quot;contentSha1&quot;: &quot;a-sha1&quot;, &quot;contentType&quot;: &quot;text/plain&quot;,
                        &quot;fileInfo&quot;:        map[string]string{&quot;source&quot;: &quot;by-name&quot;, &quot;src_last_modified_millis&quot;: &quot;1700000000000&quot;},
-                       &quot;uploadTimestamp&quot;: 1700000001000,
-                       &quot;fileRetention&quot;:   map[string]interface{}{&quot;isClientAuthorizedToRead&quot;: true, &quot;value&quot;: map[string]interface{}{&quot;mode&quot;: &quot;governance&quot;, &quot;retainUntilTimestamp&quot;: 1735689600000}},
+                       &quot;uploadTimestamp&quot;: int64(1700000001000),
+                       &quot;fileRetention&quot;:   map[string]interface{}{&quot;isClientAuthorizedToRead&quot;: true, &quot;value&quot;: map[string]interface{}{&quot;mode&quot;: &quot;governance&quot;, &quot;retainUntilTimestamp&quot;: int64(1735689600000)}},
                        &quot;legalHold&quot;:       map[string]interface{}{&quot;isClientAuthorizedToRead&quot;: true, &quot;value&quot;: &quot;on&quot;},
                }}},
                {name: &quot;missing file&quot;, notFound: true},


-- 
-rob
]