#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.