#1147465 golang-1.26: FTBFS: build-depends on golang-1.25 which is no longer available

#1147465#5
Date:
2026-09-11 23:40:28 UTC
From:
To:
Hi.

During a rebuild of all packages in unstable, this package failed to build.

If the build-dependency existed for bootstrapping purposes, it would seem
that it already achieved its purpose and the package could already
build-depend on itself.

(But I don't really know how this is handled at all).

Full build log available here:

https://people.debian.org/~sanvila/build-logs/202609/

Thanks.
--------------------------------------------------------------------------------
[...]
Install main build dependencies (apt-based resolver)
----------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
Solving dependencies...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 sbuild-build-depends-main-dummy : Depends: debhelper-compat (= 13)
                                   Depends: golang-1.25-go but it is not installable
                                   Depends: netbase but it is not going to be installed
E: Unable to satisfy dependencies. Reached two conflicting assignments:
   1. sbuild-build-depends-main-dummy:amd64=0.invalid.0 is selected for install
   2. sbuild-build-depends-main-dummy:amd64 Depends golang-1.25-go
      but none of the choices are installable:
      [no choices]
apt-get failed.
E: Package installation failed
--------------------------------------------------------------------------------

#1147465#10
Date:
2026-09-12 10:25:15 UTC
From:
To:
Am 12.09.26 um 01:40 schrieb Santiago Vila:

Hi Santiago,

thanks for filing this bug and sorry for causing this work for you.
You're right, golang-1.25 was needed to bootstrap this package, but it
can now build with itself.

I've just fixed this bug in git, but I'll probably wait with an upload
to unstable for the next upstream release, because those golang compiler
migrations to testing are always quite time-consuming and expensive
(regarding CPU cycles).

I'm expecting the next upload in about a month.

Regards,
Tobias

#1147465#13
Date:
2026-09-12 10:28:10 UTC
From:
To:
Hello,

Bug #1147465 in golang reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/go-team/compiler/golang/-/commit/17eb27d51e2e66f67ffe6cdd583bc3a755280922
------------------------------------------------------------------------
Add golang-1.26 to Build-Depends.

golang-1.25 has been removed from unstable, so this package
will FTBFS otherwise.

Closes: #1147465
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1147465

#1147465#20
Date:
2026-09-12 11:24:04 UTC
From:
To:
No worries. I reported this one "by hand" and not using my usual template
because I was curious about the bootstrapping thing.

Thanks a lot.

#1147465#25
Date:
2026-10-06 19:56:17 UTC
From:
To:
Could you please upload golang-1.26 with this fix now?

It is needed to fix golang-1.26's ability to build in Debian Unstable
(and in Ubuntu 26.10).

Thank you,
Jeremy Bícha

#1147465#30
Date:
2026-10-06 20:14:29 UTC
From:
To:
Am 06.10.26 um 21:56 schrieb Jeremy Bícha:

Hi Jeremy,

sorry, done now.

Regards,
Tobias

#1147465#35
Date:
2026-10-06 20:37:29 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
golang-1.26, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1147465@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dr. Tobias Quathamer <toddy@debian.org> (supplier of updated golang-1.26 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 06 Oct 2026 22:11:57 +0200
Source: golang-1.26
Architecture: source
Version: 1.26.8-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Compiler Team <team+go-compiler@tracker.debian.org>
Changed-By: Dr. Tobias Quathamer <toddy@debian.org>
Closes: 1147465
Changes:
 golang-1.26 (1.26.8-2) unstable; urgency=medium
 .
   * Add golang-1.26 to Build-Depends.
     golang-1.25 has been removed from unstable, so this package
     will FTBFS otherwise. (Closes: #1147465)
Checksums-Sha1:
 5046525428dae757ae09063bbbfdd245cf8aa3bd 3216 golang-1.26_1.26.8-2.dsc
 b43db3fdce813a6927302a332a292ee19336b12f 48416 golang-1.26_1.26.8-2.debian.tar.xz
 55bbd2be21a773efce151cebaf603953d0cceb16 44238692 golang-1.26_1.26.8-2.git.tar.xz
 fb8aa8d69b72704c5b4e9385c6e6d7fd276ceb04 17744 golang-1.26_1.26.8-2_source.buildinfo
Checksums-Sha256:
 95240e8203028cdfcd880f831876297c5cc64b19de57db96b232b386d1f76bf1 3216 golang-1.26_1.26.8-2.dsc
 b16ae0022e9a739a6cd264ed4a4fb93d8625d75b470a58c4baacee28fa12375a 48416 golang-1.26_1.26.8-2.debian.tar.xz
 87aa13ca777b36cd8f5ad7a50f822f746b4f2681a151105aceb07eb72ab05cda 44238692 golang-1.26_1.26.8-2.git.tar.xz
 85250faa608d5bf92c668ce4bf3808e27f1bd2aad05d221fd3d5f0218c01a3a0 17744 golang-1.26_1.26.8-2_source.buildinfo
Files:
 b0bc83ffa9eee7b8bd3c8fe2ebee29b0 3216 golang optional golang-1.26_1.26.8-2.dsc
 af3a0f910fe3ed383029521b72475737 48416 golang optional golang-1.26_1.26.8-2.debian.tar.xz
 15dfa5eeefee28b7e58373d2c7215933 44238692 None None golang-1.26_1.26.8-2.git.tar.xz
 5a70686a8c5f0d53ac6ea00606f017b1 17744 golang optional golang-1.26_1.26.8-2_source.buildinfo
Git-Tag-Info: tag=81ce5ec0a54acf70e54b1f9d072734be5e67b45d fp=d1cb8f39bc5ded24c5d2c78c1302f1f036ebeb19
Git-Tag-Tagger: Dr. Tobias Quathamer <toddy@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmrFV4YACgkQYG0ITkaD
wHkkxRAAvlYnNuwxaz7BdjzJ4CcilH5TT8fRmxnXOk2/KEhog7InYZ4DzOCjkoqH
l4o4gkFBEDLfdfbHaTyM/FPRhpxeINAJlEwV9dzkXBH//fDCtWGKXZwAQVtnqH0j
+lmqp1sKQvpRwvnjjas3uAVueU2lr7Zhazaz1/+sybGA+TjBj2P2weyBN98rBMf4
fimV6qAx7ZqmFT9olEqMo/l8w9DAx2H3/32gptQC4UsLXzgVDBeehELmuB9I0dPF
nKxR9PiUZbpDaDVBpH5zapQHyuZ+rOms/fVG4zV7sOtzhg/flsjQYoJpKLslMR7Z
z8NPyechGRG4Qj5gfqgA07+u28KwBqK9Xvq6iNA3H61kQze3JfUkmaYlDEh8jKj1
XY7fZ6ZKPZlt68A+fZfG2ndHrxosy/AR/ZUfwgXM3ww0K92Dm0PkbesGKfcxFidK
8Q3ug7aillUD7axAa4kSC4tTaWCyoHBb55XmYAYCUwdk06iOucBH6az+Wzv1EVPS
klVL60D+qdaOungnlI7iYqwIH2zYqwW95Lukwi6d9QfN9dtKWXvFYT6Xu/bzqwSb
Lnmz8rTfLo3sL1zbO1/Xf2aQheoTygoENXObAqydv0PDiXDm9NiPmyfUpNlEVsuX
fUdAVVryhCf3umxsW1DWyvxRwvXTb5SFDvHL4+y40M5oZr/chXE=
=lkUC
-----END PGP SIGNATURE-----