Source: golang-yaml.v2 Version: 2.2.2-1 Severity: normal -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
In working on golang-yaml.v2 for an LTS update, I noticed that the build fails on 32-bit arch (i386 and armhf, in this specific case). https://salsa.debian.org/lts-team/packages/golang-yaml.v2/-/pipelines/548358 The specific failure is: dh_auto_test -O--buildsystem=golang cd obj-i686-linux-gnu && go test -vet=off -v -p 2 gopkg.in/yaml.v2 # gopkg.in/yaml.v2_test [gopkg.in/yaml.v2.test] src/gopkg.in/yaml.v2/decode_test.go:134:33: constant -9223372036854775808 overflows int FAIL gopkg.in/yaml.v2 [build failed] The source lines in that vicinity are: }, { "bin: -0b1000000000000000000000000000000000000000000000000000000000000000", map[string]interface{}{"bin": -9223372036854775808}, }, { The source is the same in the latest version (on the debian/sid branch). It seems like since the binary packages in this source package are "Architecture: all" and that since the buildds selected to build "Architecture: all" packages are 64-bit systems, that this failure is not one that is encountered in practice for official Debian builds. However, it might be good to detect when the build is running on a 32-bit system and either not run the tests, or conditionally patch the source to exclude that particular overflow problem. Regards, - -Roberto -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEIYZ1DR4ae5UL01q7ldFmTdL1kUIFAmSlt6UACgkQldFmTdL1 kUK1aBAAxLomEtEKbZN0JlMA0U3BJVBdNpnD+jfyjeVfIJU//mQoWYQKv7JDWh2x MCC+HmMZ7wgWNdzNR0/VE2BRqTamIYrgmF1gZ7QhiUIZ4UYt+TmNbyK6kb716trO u4exL5v8r0d7yCdvHgm/GWElg5GlzXz66TEQTOswibRdluTrf6t8441lCZDTGCNE XZq045nYHSa9NG1HgSbkTlAyzGwZnD2vgxLk27JIEoy8T3zVLP5495NmSkiuK+ig tnBCyX65POpUa3WFy5XvyxNPjrfv1gNkBhQIRCvRDqt3f04rtNlXPfF0QghWZkC4 CQVGnNA8U1YyUwCQq+TQ/eAxRRVsgJ0Az+gkCtF5iitutnlurLL+QgcTuz6EfKKs j9NUJzuY8gr71z2Bv+WWRcqwIVlK5+X83Tj3GwfJF8lbpiNib9vqJzo3lLqJU9TS bw2BgkxZ9SsEZj1U/0NCca6fdHOeRHZpVDBWlB4vpKIwkzNNZVGciAQ1Z79YrFrl xGqbXJQO2FdF+hh3gDfwlfaMsUMKaJz6hPoHIOC3NBKmCJi6R2hPF+HYmgpVb5cr C/F9lgO8+N8V6azeU2LO+HDZjV1HQI6T9A2c5gp5NfE8ZNupzSnLC1OUdrJXY36J t0afOewuYoBC8mGDDZ9TJMV+9DmCsyqwSK3KRANpP1EtsaKW/GQ= =Waos -----END PGP SIGNATURE-----