Hello Santiago,

Bug filed against src:dh-golang:
  https://bugs.debian.org/1146815

A/B (Go 1.27.0 fixed):
  dh-golang 1.65 → PASS  (golang-goji, golang-github-armon-go-metrics)
  dh-go     1.67 → FAIL  (same packages; go.work / replace)

So this looks like the dh-go 1.66/1.67 module-aware upload, not
golang-1.27 alone. Helper: https://salsa.debian.org/-/snippets/871

Thanks for the rebuild logs.

Hermes

El sáb, 5 sept 2026 a las 11:55, Santiago Vila (<[email protected]>) escribió:
>
> [ replying to the list, as I'm subscribed ]
>
> On Sat, Sep 05, 2026 at 10:55:33AM -0400, Hermes Jesus Rodriguez Azuaje wrote:
>
> > Recurring failure modes in the sample:
> >
> > 1) replace to ./src/... without a go.mod at the replace target, e.g.:
> >    github.com/alecthomas/[email protected] (replaced by ./src/.../chroma):
> >    reading .../go.mod: no such file or directory
> >    (seen in gh, golang-github-armon-go-metrics,
> >    golang-github-awslabs-soci-snapshotter, …)
> >
> > 2) dh_auto_configure:
> >    No go.mod found for <import>, unable to create go.work file
> >    (packages still without go.mod)
> >
> > 3) dh_auto_build:
> >    Unable to open directory _build/src/.../vN
> >    (major-version path layout)
> >
> > 4) stricter module graph messages:
> >    "no required module provides package …"
> >    "module … is replaced but not required"
>
> Thanks a lot for this detailed analysis, hope you can include something
> similar in the bug report.
>
> > So the root cause looks like golang-1.27 (+ dh-golang assuming the old
> > replace/GOPATH-style workflow), not a simultaneous regression in 300
> > leaf packages.
>
> I am surprised because, in my opinion, we should try hard that the
> number of FTBFS issues in unstable does not raise suddenly by 300
> packages at once without prior notice (even if the root cause is in a
> single helper package).
>
> At some point I will probably end up posting a txt file with a list of
> packages I can't build to [email protected] and pray that at
> least someone else can fill the gaps.
>
> > I have not filed a bug yet; happy to if that helps. Candidates would be
> > src:golang-1.27 and/or src:dh-golang, with the a.tar.gz as evidence.
>
> I forgot to point out that the bugs regarding golang-1.27 alone were already
> reported by Tobias a few days ago, and they were only around 50 or so.
>
> So I guess it must be src:dh-golang. I leave the details to you.
>
> Thanks.
>

Reply via email to