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-hyperpb )

Upstream explicitly says that these are unsupported. Maybe we could override 
the first architecture check, but the build fails after that
src/buf.build/go/hyperpb/internal/arena/shapes.go:61:30: invalid array length 1 
<< 31 (untyped int constant 2147483648)
src/buf.build/go/hyperpb/internal/arena/shapes.go:62:30: invalid array length 1 
<< 32 (untyped int constant 4294967296)
src/buf.build/go/hyperpb/internal/arena/shapes.go:63:30: invalid array length 1 
<< 33 (untyped int constant 8589934592)
src/buf.build/go/hyperpb/internal/arena/shapes.go:64:30: invalid array length 1 
<< 34 (untyped int constant 17179869184)
src/buf.build/go/hyperpb/internal/arena/shapes.go:65:30: invalid array length 1 
<< 35 (untyped int constant 34359738368)
src/buf.build/go/hyperpb/internal/arena/shapes.go:66:30: invalid array length 1 
<< 36 (untyped int constant 68719476736)
src/buf.build/go/hyperpb/internal/arena/shapes.go:67:30: invalid array length 1 
<< 37 (untyped int constant 137438953472)
src/buf.build/go/hyperpb/internal/arena/shapes.go:68:30: invalid array length 1 
<< 38 (untyped int constant 274877906944)
src/buf.build/go/hyperpb/internal/arena/shapes.go:69:30: invalid array length 1 
<< 39 (untyped int constant 549755813888)
src/buf.build/go/hyperpb/internal/arena/shapes.go:70:30: invalid array length 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 
other architectures, then syncthing >= 2.1.7 also becomes unsupported on archs 
other that amd64 and arm64.

I don't feel competent enough to go against upstream decision, so if someone 
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=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

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.

-- 
Félix

Attachment: signature.asc
Description: PGP signature

Reply via email to