🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1156359: golang-buf-go-hyperpb-dev: unsupported architectures

#7479
From: Félix Sipma
Date: Fri, 04 Dec 2026 17:20
96 lines
5471 bytes
--XePTzIY4krqoZKEz
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: golang-buf-go-hyperpb-dev
Version: unsupported architectures
Severity: normal

hyperpb fails to build on architectures other than amd64 and arm64.

(see Autopkgtest failures https://tracker.debian.org/pkg/golang-buf-go-hype=
rpb )

Upstream explicitly says that these are unsupported. Maybe we could overrid=
e the first architecture check, but the build fails after that
src/buf.build/go/hyperpb/internal/arena/shapes.go:61:30: invalid array leng=
th 1 << 31 (untyped int constant 2147483648)
src/buf.build/go/hyperpb/internal/arena/shapes.go:62:30: invalid array leng=
th 1 << 32 (untyped int constant 4294967296)
src/buf.build/go/hyperpb/internal/arena/shapes.go:63:30: invalid array leng=
th 1 << 33 (untyped int constant 8589934592)
src/buf.build/go/hyperpb/internal/arena/shapes.go:64:30: invalid array leng=
th 1 << 34 (untyped int constant 17179869184)
src/buf.build/go/hyperpb/internal/arena/shapes.go:65:30: invalid array leng=
th 1 << 35 (untyped int constant 34359738368)
src/buf.build/go/hyperpb/internal/arena/shapes.go:66:30: invalid array leng=
th 1 << 36 (untyped int constant 68719476736)
src/buf.build/go/hyperpb/internal/arena/shapes.go:67:30: invalid array leng=
th 1 << 37 (untyped int constant 137438953472)
src/buf.build/go/hyperpb/internal/arena/shapes.go:68:30: invalid array leng=
th 1 << 38 (untyped int constant 274877906944)
src/buf.build/go/hyperpb/internal/arena/shapes.go:69:30: invalid array leng=
th 1 << 39 (untyped int constant 549755813888)
src/buf.build/go/hyperpb/internal/arena/shapes.go:70:30: invalid array leng=
th 1 << 40 (untyped int constant 1099511627776)
src/buf.build/go/hyperpb/internal/arena/shapes.go:70:30: too many errors

I packaged this lib to update syncthing. But if I tag it as unsupported on=
=20
other architectures, then syncthing >=3D 2.1.7 also becomes unsupported on =
archs=20
other that amd64 and arm64.

I don't feel competent enough to go against upstream decision, so if someon=
e=20
want to support other architectures, please provide a patch...



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

Kernel: Linux 7.3.6+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=3Den_US.UTF-8, LC_CTYPE=3Den_US.UTF-8 (charmap=3DUTF-8), LANGU=
AGE=3Den_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages golang-buf-go-hyperpb-dev depends on:
pn  golang-al-essio-pkg-shellescape-dev           <none>
pn  golang-github-google-uuid-dev                 <none>
pn  golang-github-melbahja-goph-dev               <none>
pn  golang-github-planetscale-vtprotobuf-dev      <none>
pn  golang-github-protocolbuffers-protoscope-dev  <none>
pn  golang-github-stretchr-testify-dev            <none>
pn  golang-github-tiendc-go-deepcopy-dev          <none>
pn  golang-github-timandy-routine-dev             <none>
pn  golang-golang-x-tools-dev                     <none>

golang-buf-go-hyperpb-dev recommends no packages.

golang-buf-go-hyperpb-dev suggests no packages.

--=20
F=C3=A9lix

--XePTzIY4krqoZKEz
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

wr0EARYKAG8FgmsS9MQJELtioCGI8O6vRxQAAAAAAB4AIHNhbHRAbm90YXRpb25z
LnNlcXVvaWEtcGdwLm9yZ6Qle+difFLZ+ZZfD4PCKOEy82wtJecQDowkKl8aKGvz
FiEERCFH4/vwtP5LJ7Y1u2KgIYjw7q8AAAq9AP9N3nd65TbXoaU6buz1CuHadAMi
0W5QUL4UvhHk135HbQEA0SfGiprXn6zc8SqGvCJ0YoTx0CFpbOeQzbReeIGGhgY=
=nbOr
-----END PGP SIGNATURE-----

--XePTzIY4krqoZKEz--
Technical Details
Message-ID: <O6F6V-fYob-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Félix Sipma <felix@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1156359: golang-buf-go-hyperpb-dev: unsupported architectures
Date: Fri, 04 Dec 2026 18:20:01 +0100
Message-ID: <O6F6V-fYob-7@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Dec  4 17:15:48 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Félix Sipma <felix@debian.org>, 1156359@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team+pkg-go@tracker.debian.org
X-Debian-Pr-Message: report 1156359
X-Debian-Pr-Package: golang-buf-go-hyperpb-dev
X-Debian-Pr-Source: golang-buf-go-hyperpb
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="XePTzIY4krqoZKEz"
Content-Disposition: inline
X-Reportbug-Version: 13.2.0+nmu1
X-Debian-User: felix
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006968
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 96
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 4 Dec 2026 18:13:41 +0100
X-Original-Message-ID: <axL0vE4a1qR_iBLC@capeo.gueux.org>