🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Bug#1155294: gccgo-go or golang-go or both?

#6348
From: Carles Pina i Estany
Date: Thu, 26 Nov 2026 20:50
102 lines
6028 bytes
--NU51kQ/PH3mPAIoI
Content-Type: text/plain; protected-headers=v1; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Date: Thu, 26 Nov 2026 20:45:01 +0000
From: Carles Pina i Estany <carles@pina.cat>
To: Maytham Alsudany <maytham@debian.org>
Cc: 1155294@bugs.debian.org
Subject: Re: Bug#1155294: gccgo-go or golang-go or both?


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,
> >=20
> > I am not familiar with the "go" ecosystem.
> >=20
> > I've just seen that golang-any depends on gccgo-go and golang-go.
> >=20
> > 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=3D1155294#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=3Darm64 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.

--=20
Carles Pina i Estany
https://carles.pina.cat | carles@pina.cat | cpina@debian.org

--NU51kQ/PH3mPAIoI
Content-Type: application/pgp-signature; name="signature.asc"

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

iQIzBAABCgAdFiEEth6/Zob9uGYomaJ+qAKIT2ClX4EFAmsImk0ACgkQqAKIT2Cl
X4GrJxAAnRmcd6R1WsfqqkqJcyUDXDc12mr8yyI7Ku4Mhbu4JvajHtRvWb4Q6D0a
u3A7VahIBZT79j+ECLNJOkfNMwjkxNbFfuetgbTi9z02h6CUP46txhX7AHfk+K+e
YP0s1/E0u6PZkLXrGj6KMZAAPVt9EIm4qFvCvk5aIkY226da1EFoiilmW1F59xCM
QFl79+5evIh32zOPYQqFbAE2+TbM2hNr3UeE+pL4MxlvCYj9oYhaeaLcqJpGQC2s
xfzdMWDKlR25F+N6LaTawTYLd/Tzpc30EKsFPaGDEShocJRGc2GcPJ2c2OpihLz+
P6jIGCEjkYBrOzDhg5qaZCPPTiZSiNTTsGQ/gG+4pjuCehLpl6OZASy/NL6GcfEV
osaaCMyFak8zqYPmLFB4wOAbsx+SCt1u9Rydwj4EpaWCOqYXVgZrbsZVycibz6hB
r3TJl9arLHF7+LU+IoaL+T14Ka4LhhC+AZSueVGhdCHqdtvcNEUmwEilXURKWRJf
yL8kS79m3GigGseimXiv5WAK9pQKXATGarSoPBQvXWLFoXBSG//wNaHsq/Vp1xxD
y3UoSiiJg8B0/GPzJ5R6hAPeTEr13GBm6RrqGRSjs/BmZDgvRDaIVNnpPkGlSUba
dLYQsPKKJjM4UgQ03E6CrjPsmCEf2Ayxd+6M+l3RVjA5vpo3+hg=
=8f5x
-----END PGP SIGNATURE-----

--NU51kQ/PH3mPAIoI--
Technical Details
Message-ID: <O3OzL-ekwE-9@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <O3l4J-e4Dh-11@gated-at.bofh.it> <O3lo5-e4Kr-17@gated-at.bofh.it> <O3lHs-e4TE-5@gated-at.bofh.it> <O3l4J-e4Dh-11@gated-at.bofh.it> <O3lHs-e4TE-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Carles Pina i Estany <carles@pina.cat>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1155294: gccgo-go or golang-go or both?
Date: Thu, 26 Nov 2026 21:50:01 +0100
Message-ID: <O3OzL-ekwE-9@gated-at.bofh.it>
References: <O3l4J-e4Dh-11@gated-at.bofh.it> <O3lo5-e4Kr-17@gated-at.bofh.it> <O3lHs-e4TE-5@gated-at.bofh.it> <O3l4J-e4Dh-11@gated-at.bofh.it> <O3lHs-e4TE-5@gated-at.bofh.it>
X-Original-To: Maytham Alsudany <maytham@debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Nov 26 20:47:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Carles Pina i Estany <carles@pina.cat>, 1155294@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team+pkg-go@tracker.debian.org
X-Debian-Pr-Message: followup 1155294
X-Debian-Pr-Package: golang-github-a-h-templ-dev
X-Debian-Pr-Source: golang-github-a-h-templ
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="NU51kQ/PH3mPAIoI"
Content-Disposition: inline
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2005270
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 102
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: 1155294@bugs.debian.org
X-Original-Date: Thu, 26 Nov 2026 20:45:01 +0000
X-Original-Message-ID: <awiaTQLN5fcuNPtY@pina.cat>
X-Original-References: <awbfMiQhAXWNNEMy@pina.cat> <awbhFWfF0oTPBCzd@pina.cat> <857af0f9d6eb92a8ada1f924aa96a3f5045b800d.camel@debian.org> <awbfMiQhAXWNNEMy@pina.cat> <857af0f9d6eb92a8ada1f924aa96a3f5045b800d.camel@debian.org>