Hi Maytham, On 25 Nov 2026 at 21:53:43, Maytham Alsudany wrote:
> On Wed, 2026-11-25 at 13:22 +0000, Carles Pina i Estany wrote: > > Hi, > > > > I am not familiar with the "go" ecosystem. > > > > I've just seen that golang-any depends on gccgo-go and golang-go. > > > > So, to keep 100% the same funcionality, the golang-any dependency should > > be for "gccgo-go, golang-go". But, since golang-any says that gccgo is > > stuck and unsuitable for most modern Go applications, I guess that > > depending on golang-go is enough. Do you know it for sure? Oops, I've been confused by something here, but I want to clarify it. First of all: in #1155294 (for package golang-github-a-h-templ) I reported a Depends to a dummy package (golang-github-cenkalti-backoff-dev) and this is addressed. All good. Thanks very much! I added a comment regarding "gccgo-go or goland-go or both" (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1155294#10 ) This comment was intended for #1155294 (package golang-github-cloudflare-cfssl-dev). By mistake, I sent it here as well. I am, at the moment, focusing on Depends. I haven't looked at all at Build-Depends, but this is in the to do list (still a way to go). > Yes, I'm pretty sure that's correct. dh-make-golang still generates > templates using golang-any at the moment though. Yes, and this is for the Build-Depends. But, when I looked into this after your message yesterday, I didn't realise that Helmut's patch in below message was for the Build-Depends and not for Depends as I was looking initially. Meanwhile, I created (and closed to decide if :native is required) this PR: https://github.com/Debian/dh-make-golang/pull/332 > Also, it's been suggested to use golang-go:native instead to fix cross- > compilation, see > https://lists.debian.org/debian-go/2026/11/msg00023.html > I am not sure how useful that would be since it seems that the right > golang-go package gets pulled during build-dependency installation > anyway (e.g. sbuild --host=arm64 pulls in golang-go:arm64 even though no > :native is specified). This is not related to this bug (which was not about golang-any and not about Build-Depends field). But it is relevant and I wanted to make sure to discuss it. I'll follow it up in debian-go for that and perhaps to bring it up there. > Thanks for your bug reports on package relations, they're very helpful! Happy to read that! Sorry for bringing up golang-any here by mistake, but thanks to that and your explanation we might get one more thing fixed and I learnt a few useful things on the way. -- Carles Pina i Estany https://carles.pina.cat | [email protected] | [email protected]
signature.asc
Description: PGP signature

