Hello, On Thu, 2024-08-01 at 21:19 +0200, Serafeim Zanikolas wrote: > > src/salsa.debian.org/debian/adequate/binfmt.go:7:2: cannot find package > > "cmp" in any of: > > /home/glaubitz/adequate/adequate-0.16.5/_build/src/slices (from > > $GOPATH) > > that should be fixable on my end, by adding a version constraint on the > golang-go build dependency.
Please build-depend on golang-any, not golang-go. The latter enforces the use of the Google Go compiler and blocks the use of golang-gccgo on targets where golang-go is not available. golang-any defaults to the Google Go compiler where available and on gccgo for the other platforms. > slices and cmp have been introduced in 1.21, and presumably gccgo is on 1.20 > (current version of gcc-defaults is 1.203) gccgo is on Go 1.18 with gcc-14: (sid_sparc64-dchroot)glaubitz@stadler:~/adequate/adequate-0.16.5$ go version go version go1.18 gccgo (Debian 14.1.0-5) 14.1.0 linux/sparc64 (sid_sparc64-dchroot)glaubitz@stadler:~/adequate/adequate-0.16.5$ Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913