Your message dated Mon, 7 Sep 2026 17:49:51 +0200
with message-id <[email protected]>
and subject line Re: Lots of golang packages FTBFS today
has caused the Debian Bug report #1146815,
regarding dh-golang: dh-go 1.66/1.67: mass FTBFS (go.work/replace); 1.65 OK
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1146815: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1146815
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: dh-golang
Version: 1.67
Severity: serious
Tags: ftbfs
Justification: Policy 4.9

During a partial archive rebuild in unstable, more than 300 Go packages
fail to build. The ~50 separate reports already filed against
src:golang-1.27 by Tobias are orthogonal. The mass FTBFS is a
regression in dh-golang / dh-go 1.66–1.67 (module-aware / go.work
upload, 2026-09-02), not in golang-1.27 itself.

Money shot (same Go 1.27.0, only dh changes):

  golang-goji 2.0.2-2
    dh-golang 1.65:  PASS
    dh-go     1.67:  FAIL  (No go.mod → go.work)

  golang-github-armon-go-metrics 0.4.1-2
    dh-golang 1.65:  PASS
    dh-go     1.67:  FAIL  (replace …/go.mod: no such file)

1.65 is the last pre-workspace upload (2026-05-30). 1.66/1.67
introduced the go.work / replace path that hard-fails these packages.

== Full A/B matrix (build-go-ab.sh, sbuild unshare/sid, fresh chroot) ==

  Package: golang-goji 2.0.2-2  (mode: no go.mod → go.work)

    Go 1.26.7 + dh-go 1.67:      FAIL  (same go.work error)
    Go 1.27.0 + dh-go 1.67:      FAIL  (same go.work error)
    Go 1.27.0 + dh-golang 1.65:  PASS

  Package: golang-github-armon-go-metrics 0.4.1-2
  (mode: replace without go.mod at target)

    Go 1.26.7 + dh-go 1.67:      FAIL  (datadog-go replace / go.mod)
    Go 1.27.0 + dh-go 1.67:      FAIL  (identical)
    Go 1.27.0 + dh-golang 1.65:  PASS

Helper used for the A/B (optional, GPL-2+):
  https://salsa.debian.org/-/snippets/871
  ./build-go-ab.sh <srcpkg> <go-ver> [dh-ver]

== Recurring failure modes in the 300+ affected packages ==

Sample collected by Santiago Vila <[email protected]>; the build
logs were temporarily available at
https://people.debian.org/~sanvila/golang-tmp/a.tar.gz (358 logs).
The URL is temporary; please contact [email protected] before it
expires if a copy is needed.

  1. "replace to ./src/...: reading .../go.mod: no such file
     or directory"
       e.g. gh, golang-github-armon-go-metrics,
       golang-github-awslabs-soci-snapshotter.

  2. "No go.mod found for <import>, unable to create go.work file"
       e.g. golang-goji (A/B above).

  3. "Unable to open directory _build/src/.../vN"
     Packages using the major-version (v2, v3, ...) path layout.

  4. Stricter module-graph errors: "no required module provides
     package ..." and "module ... is replaced but not required".

These are not 300 independent leaf-package bugs. They share one
underlying cause: dh-go 1.66/1.67's auto-generated go.work / replace
graph does not match what many packaged trees provide.

== Expected ==

dh-golang / dh-go should:
  - regenerate go.work / replace directives so Go can resolve them, and
  - fall back gracefully for source trees with no go.mod,
  rather than hard-failing hundreds of packages at once.
  Alternatively keep classic dh-golang for leaf packages and ship the
  module-aware path as opt-in until the archive is ready.

== Workaround ==

Rebuild with dh-golang 1.65 (or 1.63 from trixie) restores builds for
at least golang-goji under golang-1.27. Not a long-term fix for the
archive; needs a proper fix or rollback/opt-in in src:dh-golang.

Thanks.


-- System Information:
Debian Release: 13.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.38+deb13-cloud-amd64 (SMP w/6 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information
hrodrig@packaging:/tmp/golang-goji-2.0.2$ sbuild --chroot-mode=unshare 
--dist=sid ../golang-goji_2.0.2-2.dsc
sbuild (Debian sbuild) 0.89.3+deb13u4 (28 December 2025) on 
packaging.hermesrodriguez.com

+==============================================================================+
| golang-goji 2.0.2-2 (amd64)                  Sat, 05 Sep 2026 18:28:03 +0000 |
+==============================================================================+

Package: golang-goji
Version: 2.0.2-2
Source Version: 2.0.2-2
Distribution: sid
Machine Architecture: amd64
Host Architecture: amd64
Build Architecture: amd64
Build Type: binary

I: No tarballs found in /home/hrodrig/.cache/sbuild
I: Creating chroot on-demand by running:
mmdebstrap --variant=buildd --arch=amd64 --skip=output/mknod --format=tar sid -
I: Unpacking tarball from STDIN to /tmp/tmp.sbuild.dxmrORzlJB...
I: automatically chosen mode: unshare
I: chroot architecture amd64 is equal to the host's architecture
I: finding correct signed-by value...
I: using /tmp/mmdebstrap.P8fOEfjAyj as tempdir
I: skipping output/mknod as requested for ./dev/console
I: skipping output/mknod as requested for ./dev/full
I: skipping output/mknod as requested for ./dev/null
I: skipping output/mknod as requested for ./dev/ptmx
I: skipping output/mknod as requested for ./dev/random
I: skipping output/mknod as requested for ./dev/tty
I: skipping output/mknod as requested for ./dev/urandom
I: skipping output/mknod as requested for ./dev/zero
I: running apt-get update...
I: downloading packages with apt...
I: extracting archives...
I: installing essential packages...
I: installing remaining packages inside the chroot...
I: cleaning package lists and apt cache...
I: creating tarball...
I: done
I: removing tempdir /tmp/mmdebstrap.P8fOEfjAyj...
I: success in 37.0613 seconds
I: The chroot directory at /tmp/tmp.sbuild.dxmrORzlJB will be removed at the 
end of the build
I: To avoid creating a new chroot from scratch every time, either:
I:  - place a chroot tarball at /home/hrodrig/.cache/sbuild/sid-amd64.tar and 
update it manually, for example by running: mmdebstrap --variant=buildd 
--arch=amd64 --skip=output/mknod --format=tar sid 
/home/hrodrig/.cache/sbuild/sid-amd64.tar
I:  - or let sbuild take care of this via the setting 
UNSHARE_MMDEBSTRAP_KEEP_TARBALL by adding '$unshare_mmdebstrap_keep_tarball = 
1;' to your ~/.config/sbuild/config.pl.
I:  - or completely disable this behaviour via the setting 
UNSHARE_MMDEBSTRAP_AUTO_CREATE by adding '$unshare_mmdebstrap_auto_create = 0;' 
to your ~/.config/sbuild/config.pl.
I: Refer to UNSHARE_MMDEBSTRAP_KEEP_TARBALL in sbuild.conf(5) for more 
information
I: Setting up the chroot...
I: Creating chroot session...
I: Setting up log color...
I: Setting up apt archive...

+------------------------------------------------------------------------------+
| Update chroot                                Sat, 05 Sep 2026 18:28:47 +0000 |
+------------------------------------------------------------------------------+

Get:1 http://deb.debian.org/debian sid InRelease [193 kB]
Get:2 http://deb.debian.org/debian sid/main amd64 Packages [10.8 MB]
Fetched 10.9 MB in 2s (6944 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

+------------------------------------------------------------------------------+
| Fetch source files                           Sat, 05 Sep 2026 18:28:51 +0000 |
+------------------------------------------------------------------------------+


Local sources
-------------

/tmp/golang-goji-2.0.2/../golang-goji_2.0.2-2.dsc exists in 
/tmp/golang-goji-2.0.2/..; copying to chroot

+------------------------------------------------------------------------------+
| Install package build dependencies           Sat, 05 Sep 2026 18:28:53 +0000 |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: debhelper-compat (= 13), dh-sequence-golang, golang-any, 
build-essential
Filtered Build-Depends: debhelper-compat (= 13), dh-sequence-golang, 
golang-any, build-essential
dpkg-deb: building package 'sbuild-build-depends-main-dummy' in 
'/build/reproducible-path/resolver-bq0qHU/apt_archive/sbuild-build-depends-main-dummy.deb'.
Ign:1 copy:/build/reproducible-path/resolver-bq0qHU/apt_archive ./ InRelease
Get:2 copy:/build/reproducible-path/resolver-bq0qHU/apt_archive ./ Release [609 
B]
Ign:3 copy:/build/reproducible-path/resolver-bq0qHU/apt_archive ./ Release.gpg
Get:4 copy:/build/reproducible-path/resolver-bq0qHU/apt_archive ./ Sources [632 
B]
Get:5 copy:/build/reproducible-path/resolver-bq0qHU/apt_archive ./ Packages 
[671 B]
Fetched 1912 B in 0s (99.4 kB/s)
Reading package lists...
Reading package lists...

Install main build dependencies (apt-based resolver)
----------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
Solving dependencies...
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev bsdextrautils debhelper
  dh-autoreconf dh-go dh-strip-nondeterminism dwz file gettext gettext-base
  golang-1.27-go golang-1.27-src golang-any golang-go golang-src groff-base
  intltool-debian libarchive-zip-perl libdebhelper-perl libelf1t64
  libfile-stripnondeterminism-perl libmagic-mgc libmagic1t64 libpipeline1
  libtool libuchardet0 libunistring5 libxml2-16 m4 man-db po-debconf
  sensible-utils
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc dh-make gettext-doc
  libasprintf-dev libgettextpo-dev gnulib-l10n bzr | brz ca-certificates git
  mercurial subversion groff libtool-doc gfortran | fortran95-compiler m4-doc
  apparmor less www-browser libmail-box-perl
Recommended packages:
  curl | wget | lynx python3:any pkgconf libarchive-cpio-perl libltdl-dev
  libmail-sendmail-perl
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev bsdextrautils debhelper
  dh-autoreconf dh-go dh-strip-nondeterminism dwz file gettext gettext-base
  golang-1.27-go golang-1.27-src golang-any golang-go golang-src groff-base
  intltool-debian libarchive-zip-perl libdebhelper-perl libelf1t64
  libfile-stripnondeterminism-perl libmagic-mgc libmagic1t64 libpipeline1
  libtool libuchardet0 libunistring5 libxml2-16 m4 man-db po-debconf
  sbuild-build-depends-main-dummy sensible-utils
0 upgraded, 36 newly installed, 0 to remove and 0 not upgraded.
Need to get 60.2 MB of archives.
After this operation, 304 MB of additional disk space will be used.
Get:1 copy:/build/reproducible-path/resolver-bq0qHU/apt_archive ./ 
sbuild-build-depends-main-dummy 0.invalid.0 [876 B]
Get:2 http://deb.debian.org/debian sid/main amd64 sensible-utils all 0.0.26 
[27.0 kB]
Get:3 http://deb.debian.org/debian sid/main amd64 libmagic-mgc amd64 1:5.47-4 
[345 kB]
Get:4 http://deb.debian.org/debian sid/main amd64 libmagic1t64 amd64 1:5.47-4 
[111 kB]
Get:5 http://deb.debian.org/debian sid/main amd64 file amd64 1:5.47-4 [43.0 kB]
Get:6 http://deb.debian.org/debian sid/main amd64 gettext-base amd64 1.0-3 [332 
kB]
Get:7 http://deb.debian.org/debian sid/main amd64 libuchardet0 amd64 0.0.8-2+b2 
[69.0 kB]
Get:8 http://deb.debian.org/debian sid/main amd64 groff-base amd64 1.24.1-1 
[1336 kB]
Get:9 http://deb.debian.org/debian sid/main amd64 bsdextrautils amd64 2.42.3-1 
[102 kB]
Get:10 http://deb.debian.org/debian sid/main amd64 libpipeline1 amd64 1.5.8-3 
[49.2 kB]
Get:11 http://deb.debian.org/debian sid/main amd64 man-db amd64 2.13.1-1 [1469 
kB]
Get:12 http://deb.debian.org/debian sid/main amd64 m4 amd64 1.4.21-1 [332 kB]
Get:13 http://deb.debian.org/debian sid/main amd64 autoconf all 2.73-2 [516 kB]
Get:14 http://deb.debian.org/debian sid/main amd64 autotools-dev all 
20240727.1+nmu1 [60.0 kB]
Get:15 http://deb.debian.org/debian sid/main amd64 automake all 1:1.18.1-4 [877 
kB]
Get:16 http://deb.debian.org/debian sid/main amd64 autopoint all 1.0-3 [820 kB]
Get:17 http://deb.debian.org/debian sid/main amd64 libdebhelper-perl all 14.3 
[77.3 kB]
Get:18 http://deb.debian.org/debian sid/main amd64 libtool all 2.6.2-2 [553 kB]
Get:19 http://deb.debian.org/debian sid/main amd64 dh-autoreconf all 22 [12.2 
kB]
Get:20 http://deb.debian.org/debian sid/main amd64 libarchive-zip-perl all 
1.68-1 [104 kB]
Get:21 http://deb.debian.org/debian sid/main amd64 
libfile-stripnondeterminism-perl all 1.15.1-1 [17.1 kB]
Get:22 http://deb.debian.org/debian sid/main amd64 dh-strip-nondeterminism all 
1.15.1-1 [6020 B]
Get:23 http://deb.debian.org/debian sid/main amd64 libelf1t64 amd64 0.196-1 
[61.2 kB]
Get:24 http://deb.debian.org/debian sid/main amd64 dwz amd64 0.17-1 [109 kB]
Get:25 http://deb.debian.org/debian sid/main amd64 libunistring5 amd64 1.4.2-1 
[480 kB]
Get:26 http://deb.debian.org/debian sid/main amd64 libxml2-16 amd64 
2.15.3+dfsg-1+b1 [682 kB]
Get:27 http://deb.debian.org/debian sid/main amd64 gettext amd64 1.0-3 [2658 kB]
Get:28 http://deb.debian.org/debian sid/main amd64 intltool-debian all 
0.35.0+20060710.6 [22.9 kB]
Get:29 http://deb.debian.org/debian sid/main amd64 po-debconf all 1.0.22 [216 
kB]
Get:30 http://deb.debian.org/debian sid/main amd64 debhelper all 14.3 [934 kB]
Get:31 http://deb.debian.org/debian sid/main amd64 dh-go all 1.67 [26.5 kB]
Get:32 http://deb.debian.org/debian sid/main amd64 golang-1.27-src all 1.27.0-1 
[25.1 MB]
Get:33 http://deb.debian.org/debian sid/main amd64 golang-1.27-go amd64 
1.27.0-1 [22.6 MB]
Get:34 http://deb.debian.org/debian sid/main amd64 golang-src all 2:1.27~1 
[4288 B]
Get:35 http://deb.debian.org/debian sid/main amd64 golang-go amd64 2:1.27~1 
[40.2 kB]
Get:36 http://deb.debian.org/debian sid/main amd64 golang-any amd64 2:1.27~1 
[4492 B]
Preconfiguring packages ...
Fetched 60.2 MB in 1s (59.0 MB/s)
Selecting previously unselected package sensible-utils.
(Reading database ... 11976 files and directories currently installed.)
Preparing to unpack .../00-sensible-utils_0.0.26_all.deb ...
Unpacking sensible-utils (0.0.26) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../01-libmagic-mgc_1%3a5.47-4_amd64.deb ...
Unpacking libmagic-mgc (1:5.47-4) ...
Selecting previously unselected package libmagic1t64:amd64.
Preparing to unpack .../02-libmagic1t64_1%3a5.47-4_amd64.deb ...
Unpacking libmagic1t64:amd64 (1:5.47-4) ...
Selecting previously unselected package file.
Preparing to unpack .../03-file_1%3a5.47-4_amd64.deb ...
Unpacking file (1:5.47-4) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../04-gettext-base_1.0-3_amd64.deb ...
Unpacking gettext-base (1.0-3) ...
Selecting previously unselected package libuchardet0:amd64.
Preparing to unpack .../05-libuchardet0_0.0.8-2+b2_amd64.deb ...
Unpacking libuchardet0:amd64 (0.0.8-2+b2) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../06-groff-base_1.24.1-1_amd64.deb ...
Unpacking groff-base (1.24.1-1) ...
Selecting previously unselected package bsdextrautils.
Preparing to unpack .../07-bsdextrautils_2.42.3-1_amd64.deb ...
Unpacking bsdextrautils (2.42.3-1) ...
Selecting previously unselected package libpipeline1:amd64.
Preparing to unpack .../08-libpipeline1_1.5.8-3_amd64.deb ...
Unpacking libpipeline1:amd64 (1.5.8-3) ...
Selecting previously unselected package man-db.
Preparing to unpack .../09-man-db_2.13.1-1_amd64.deb ...
Unpacking man-db (2.13.1-1) ...
Selecting previously unselected package m4.
Preparing to unpack .../10-m4_1.4.21-1_amd64.deb ...
Unpacking m4 (1.4.21-1) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../11-autoconf_2.73-2_all.deb ...
Unpacking autoconf (2.73-2) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../12-autotools-dev_20240727.1+nmu1_all.deb ...
Unpacking autotools-dev (20240727.1+nmu1) ...
Selecting previously unselected package automake.
Preparing to unpack .../13-automake_1%3a1.18.1-4_all.deb ...
Unpacking automake (1:1.18.1-4) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../14-autopoint_1.0-3_all.deb ...
Unpacking autopoint (1.0-3) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../15-libdebhelper-perl_14.3_all.deb ...
Unpacking libdebhelper-perl (14.3) ...
Selecting previously unselected package libtool.
Preparing to unpack .../16-libtool_2.6.2-2_all.deb ...
Unpacking libtool (2.6.2-2) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../17-dh-autoreconf_22_all.deb ...
Unpacking dh-autoreconf (22) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ...
Unpacking libarchive-zip-perl (1.68-1) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.15.1-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.15.1-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../20-dh-strip-nondeterminism_1.15.1-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.15.1-1) ...
Selecting previously unselected package libelf1t64:amd64.
Preparing to unpack .../21-libelf1t64_0.196-1_amd64.deb ...
Unpacking libelf1t64:amd64 (0.196-1) ...
Selecting previously unselected package dwz.
Preparing to unpack .../22-dwz_0.17-1_amd64.deb ...
Unpacking dwz (0.17-1) ...
Selecting previously unselected package libunistring5:amd64.
Preparing to unpack .../23-libunistring5_1.4.2-1_amd64.deb ...
Unpacking libunistring5:amd64 (1.4.2-1) ...
Selecting previously unselected package libxml2-16:amd64.
Preparing to unpack .../24-libxml2-16_2.15.3+dfsg-1+b1_amd64.deb ...
Unpacking libxml2-16:amd64 (2.15.3+dfsg-1+b1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../25-gettext_1.0-3_amd64.deb ...
Unpacking gettext (1.0-3) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../26-intltool-debian_0.35.0+20060710.6_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.6) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../27-po-debconf_1.0.22_all.deb ...
Unpacking po-debconf (1.0.22) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../28-debhelper_14.3_all.deb ...
Unpacking debhelper (14.3) ...
Selecting previously unselected package dh-go.
Preparing to unpack .../29-dh-go_1.67_all.deb ...
Unpacking dh-go (1.67) ...
Selecting previously unselected package golang-1.27-src.
Preparing to unpack .../30-golang-1.27-src_1.27.0-1_all.deb ...
Unpacking golang-1.27-src (1.27.0-1) ...
Selecting previously unselected package golang-1.27-go.
Preparing to unpack .../31-golang-1.27-go_1.27.0-1_amd64.deb ...
Unpacking golang-1.27-go (1.27.0-1) ...
Selecting previously unselected package golang-src.
Preparing to unpack .../32-golang-src_2%3a1.27~1_all.deb ...
Unpacking golang-src (2:1.27~1) ...
Selecting previously unselected package golang-go:amd64.
Preparing to unpack .../33-golang-go_2%3a1.27~1_amd64.deb ...
Unpacking golang-go:amd64 (2:1.27~1) ...
Selecting previously unselected package golang-any:amd64.
Preparing to unpack .../34-golang-any_2%3a1.27~1_amd64.deb ...
Unpacking golang-any:amd64 (2:1.27~1) ...
Selecting previously unselected package sbuild-build-depends-main-dummy.
Preparing to unpack 
.../35-sbuild-build-depends-main-dummy_0.invalid.0_amd64.deb ...
Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ...
Setting up libpipeline1:amd64 (1.5.8-3) ...
Setting up bsdextrautils (2.42.3-1) ...
Setting up golang-1.27-src (1.27.0-1) ...
Setting up libmagic-mgc (1:5.47-4) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libxml2-16:amd64 (2.15.3+dfsg-1+b1) ...
Setting up libdebhelper-perl (14.3) ...
Setting up libmagic1t64:amd64 (1:5.47-4) ...
Setting up gettext-base (1.0-3) ...
Setting up m4 (1.4.21-1) ...
Setting up file (1:5.47-4) ...
Setting up libelf1t64:amd64 (0.196-1) ...
Setting up autotools-dev (20240727.1+nmu1) ...
Setting up libunistring5:amd64 (1.4.2-1) ...
Setting up autopoint (1.0-3) ...
Setting up autoconf (2.73-2) ...
Setting up dwz (0.17-1) ...
Setting up sensible-utils (0.0.26) ...
Setting up libuchardet0:amd64 (0.0.8-2+b2) ...
Setting up golang-src (2:1.27~1) ...
Setting up golang-1.27-go (1.27.0-1) ...
Setting up automake (1:1.18.1-4) ...
update-alternatives: using /usr/bin/automake-1.18 to provide /usr/bin/automake 
(automake) in auto mode
Setting up libfile-stripnondeterminism-perl (1.15.1-1) ...
Setting up gettext (1.0-3) ...
Setting up libtool (2.6.2-2) ...
Setting up golang-go:amd64 (2:1.27~1) ...
Setting up golang-any:amd64 (2:1.27~1) ...
Setting up intltool-debian (0.35.0+20060710.6) ...
Setting up dh-autoreconf (22) ...
Setting up dh-strip-nondeterminism (1.15.1-1) ...
Setting up groff-base (1.24.1-1) ...
Setting up po-debconf (1.0.22) ...
Setting up man-db (2.13.1-1) ...
Not building database; man-db/auto-update is not 'true'.
Setting up debhelper (14.3) ...
Setting up dh-go (1.67) ...
Setting up sbuild-build-depends-main-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.43-4) ...

+------------------------------------------------------------------------------+
| Check architectures                          Sat, 05 Sep 2026 18:29:10 +0000 |
+------------------------------------------------------------------------------+

Arch check ok (amd64 included in all)

+------------------------------------------------------------------------------+
| Build environment                            Sat, 05 Sep 2026 18:29:10 +0000 |
+------------------------------------------------------------------------------+

Kernel: Linux 6.12.38+deb13-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.38-1 
(2025-07-16) amd64 (x86_64)
Toolchain package versions: binutils_2.47-2 dpkg-dev_1.23.7 g++-16_16.2.0-2 
gcc-16_16.2.0-2 libc6-dev_2.43-4 libstdc++-16-dev_16.2.0-2 libstdc++6_16.2.0-2 
linux-libc-dev_7.1.13-1
Package versions: apt_3.3.3 autoconf_2.73-2 automake_1:1.18.1-4 autopoint_1.0-3 
autotools-dev_20240727.1+nmu1 base-files_14.2 base-passwd_3.6.8 bash_5.3-4 
binutils_2.47-2 binutils-common_2.47-2 binutils-x86-64-linux-gnu_2.47-2 
bsdextrautils_2.42.3-1 build-essential_12.12 bzip2_1.0.8-6+b2 coreutils_9.10-1 
cpp_4:16.1.0-3 cpp-16_16.2.0-2 cpp-16-x86-64-linux-gnu_16.2.0-2 
cpp-x86-64-linux-gnu_4:16.1.0-3 dash_0.5.12-12 debconf_1.5.92 debhelper_14.3 
debian-archive-keyring_2025.1 debianutils_5.24 dh-autoreconf_22 dh-go_1.67 
dh-strip-nondeterminism_1.15.1-1 diffutils_1:3.12-1 dpkg_1.23.7 dpkg-dev_1.23.7 
dwz_0.17-1 file_1:5.47-4 findutils_4.11.0-2 g++_4:16.1.0-3 g++-16_16.2.0-2 
g++-16-x86-64-linux-gnu_16.2.0-2 g++-x86-64-linux-gnu_4:16.1.0-3 gcc_4:16.1.0-3 
gcc-16_16.2.0-2 gcc-16-base_16.2.0-2 gcc-16-x86-64-linux-gnu_16.2.0-2 
gcc-x86-64-linux-gnu_4:16.1.0-3 gettext_1.0-3 gettext-base_1.0-3 
golang-1.27-go_1.27.0-1 golang-1.27-src_1.27.0-1 golang-any_2:1.27~1 
golang-go_2:1.27~1 golang-src_2:1.27~1 grep_3.12-1 groff-base_1.24.1-1 
gzip_1.14-1 hostname_3.25 init-system-helpers_1.69+nmu1 
intltool-debian_0.35.0+20060710.6 libacl1_2.4.0-1 libapt-pkg7.0_3.3.3 
libarchive-zip-perl_1.68-1 libasan8_16.2.0-2 libatomic1_16.2.0-2 
libattr1_1:2.6.0-1 libaudit-common_1:4.1.2-1 libaudit1_1:4.1.2-1+b2 
libbinutils_2.47-2 libblkid1_2.42.3-1 libbz2-1.0_1.0.8-6+b2 libc-bin_2.43-4 
libc-dev-bin_2.43-4 libc-gconv-modules-extra_2.43-4 libc6_2.43-4 
libc6-dev_2.43-4 libcap-ng0_0.9.5-2 libcc1-0_16.2.0-2 
libcrypt1_1:4.5.2+20251210-1 libctf-nobfd0_2.47-2 libctf0_2.47-2 
libdb5.3t64_5.3.28+dfsg2-11+b1 libdebconfclient0_0.283 libdebhelper-perl_14.3 
libdpkg-perl_1.23.7 libelf1t64_0.196-1 
libfile-stripnondeterminism-perl_1.15.1-1 libgcc-16-dev_16.2.0-2 
libgcc-s1_16.2.0-2 libgdbm-compat4t64_1.26-1+b2 libgdbm6t64_1.26-1+b2 
libgmp10_2:6.3.0+dfsg-5+b2 libgomp1_16.2.0-2 libgprofng0_2.47-2 
libhogweed6t64_3.10.2-1+b1 libhwasan0_16.2.0-2 libisl23_0.28-1 libitm1_16.2.0-2 
libjansson4_2.15.1-1 liblsan0_16.2.0-2 liblz4-1_1.10.0-10 liblzma5_5.8.3-1 
libmagic-mgc_1:5.47-4 libmagic1t64_1:5.47-4 libmd0_1.2.0-2 libmount1_2.42.3-1 
libmpc3_1.3.1-3 libmpfr6_4.2.2-3 libnettle8t64_3.10.2-1+b1 
libpam-modules_1.7.0-8 libpam-modules-bin_1.7.0-8 libpam-runtime_1.7.0-8 
libpam0g_1.7.0-8 libpcre2-8-0_10.48-2 libperl5.42_5.42.3-1 libpipeline1_1.5.8-3 
libquadmath0_16.2.0-2 libseccomp2_2.6.1-1+b1 libselinux1_3.11-2 
libsframe3_2.47-2 libsmartcols1_2.42.3-1 libssl3t64_3.6.4-1 
libstdc++-16-dev_16.2.0-2 libstdc++6_16.2.0-2 libsystemd0_262~rc1-2 
libtinfo6_6.6+20260608-2 libtool_2.6.2-2 libtsan2_16.2.0-2 libubsan1_16.2.0-2 
libuchardet0_0.0.8-2+b2 libudev1_262~rc1-2 libunistring5_1.4.2-1 
libuuid1_2.42.3-1 libxml2-16_2.15.3+dfsg-1+b1 libxxhash0_0.8.3-2+b2 
libzstd1_1.5.7+dfsg-4 linux-libc-dev_7.1.13-1 m4_1.4.21-1 make_4.4.1-3 
man-db_2.13.1-1 mawk_1.3.4.20260302-1 ncurses-base_6.6+20260608-2 
ncurses-bin_6.6+20260608-2 openssl-provider-legacy_3.6.4-1 patch_2.8-2 
perl_5.42.3-1 perl-base_5.42.3-1 perl-modules-5.42_5.42.3-1 po-debconf_1.0.22 
sbuild-build-depends-main-dummy_0.invalid.0 sed_4.9-3 sensible-utils_0.0.26 
sqv_1.5.0-1 sysvinit-utils_3.18-1 tar_1.35+dfsg-5 util-linux_2.42.3-1 
xz-utils_5.8.3-1 zlib1g_1:1.3.dfsg+really1.3.2-3

+------------------------------------------------------------------------------+
| Build                                        Sat, 05 Sep 2026 18:29:11 +0000 |
+------------------------------------------------------------------------------+


Unpack source
-------------

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 3.0 (quilt)
Source: golang-goji
Binary: golang-goji-dev
Architecture: all
Version: 2.0.2-2
Maintainer: Debian Go Packaging Team <[email protected]>
Uploaders: Anthony Fok <[email protected]>
Homepage: https://github.com/goji/goji
Standards-Version: 4.6.0
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-goji
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-goji.git
Testsuite: autopkgtest-pkg-go
Build-Depends: debhelper-compat (= 13), dh-sequence-golang, golang-any
Package-List:
 golang-goji-dev deb golang optional arch=all
Checksums-Sha1:
 a0a36afee04e1febea0126a272b76a664241c0d5 17965 golang-goji_2.0.2.orig.tar.gz
 e54e84fa0c272b3f60b7599b741bf3d7c0d00e89 2340 golang-goji_2.0.2-2.debian.tar.xz
Checksums-Sha256:
 00355da54753b398ee52c1756a7d5caaa6f6ef044e1aa3e86c8f38f29c33698f 17965 
golang-goji_2.0.2.orig.tar.gz
 3d59f2bb7574d863c5c9649ab413b16ce0a6d3df9027e1c36e9914cbca158783 2340 
golang-goji_2.0.2-2.debian.tar.xz
Files:
 f36a09e43aa7ff3c8bada27272997cb6 17965 golang-goji_2.0.2.orig.tar.gz
 7a49fcddf183b30f19a3aef177ad7958 2340 golang-goji_2.0.2-2.debian.tar.xz
Go-Import-Path: goji.io

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

iQJEBAEBCAAuFiEEFCQhsZrUqVmW+VBy6iUAtBLFms8FAmHSS0YQHGZva2FAZGVi
aWFuLm9yZwAKCRDqJQC0EsWazzGND/0bci7zOk1rjw/NJXDzM44Ypf9oCImkX7uz
e1TRJr9DU3yWAtts3vO1/3kK/UWlWmsRAdw8ApuB03LMFHEdkde91qJDiGk//vUU
noXcAYh8zLAVeETIeTz1Gm0R1NLmm/yLv2BdaQ70U2xSzLwvxLkUQxZP9ags+CVI
/xKETuJI/XvXtIIyYyIjcJUjAToBmZ++xQTLr19jk27bOkHXfcNDzJ7nEZA/LL7/
43hmlW77c385tfoavPzD8ibWj7UxaQiZY8R5fN6cEt7LMeWmoxILuYB+fAIJ2Lhe
haMwh+d6pRFaKR/N9kz954MwsUwFsoHM6hx5ZWLX/Q2gJWjkiBfSUe499nbnKRpg
Zf0SuO7dPfQdd+a8qtbiIC42REsAG8FWIS/GLl4eT96oT9DmkICFlFeMyE7HYjM+
MHOEiifL4R7DypTDJB7QXdFqIr2z4iPoNGgrsQAAFRcBuyJnqQ4wwGx4y6sfKCPq
4F7yJnoa0ewyZT/BSWxASeWul05UHv/sNSImch6mGG1tDZGft03nMZHNARHcUMZB
1v/qwv30NfywxtjE+/lHu115ejDjWOMJ010KuXLe6tVsWTdLXYy98YCMj8JAbisG
c0N+u3OpuMwmvopSMKIJMdOlSP+cavjQwNIDcRXOUsAtJv+7OIwnQYn5udAy+Cv8
Ci747OKpMw==
=47a5
-----END PGP SIGNATURE-----

dpkg-source: warning: cannot verify inline signature for 
./golang-goji_2.0.2-2.dsc: missing OpenPGP keyrings
dpkg-source: info: verifying ./golang-goji_2.0.2-2.dsc
dpkg-source: info: skipping absent keyring 
/usr/share/keyrings/debian-keyring.pgp
dpkg-source: info: skipping absent keyring 
/usr/share/keyrings/debian-tag2upload.pgp
dpkg-source: info: skipping absent keyring 
/usr/share/keyrings/debian-nonupload.pgp
dpkg-source: info: skipping absent keyring 
/usr/share/keyrings/debian-maintainers.pgp
dpkg-source: info: extracting golang-goji in 
/build/reproducible-path/golang-goji-2.0.2
dpkg-source: info: unpacking golang-goji_2.0.2.orig.tar.gz
dpkg-source: info: unpacking golang-goji_2.0.2-2.debian.tar.xz

Check disk space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LANG=C.UTF-8
LC_ALL=C.UTF-8
LOGNAME=sbuild
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SHELL=/bin/sh
USER=sbuild

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage --sanitize-env -us -uc -b
dpkg-buildpackage: info: source package golang-goji
dpkg-buildpackage: info: source version 2.0.2-2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Anthony Fok <[email protected]>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 debian/rules clean
dh clean --builddirectory=_build --buildsystem=golang
   dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang
   dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang
   dh_clean -O--builddirectory=_build -O--buildsystem=golang
 debian/rules binary
dh binary --builddirectory=_build --buildsystem=golang
   dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang
   dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang
   dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang
dh_auto_configure: error: No go.mod found for goji.io, unable to create go.work 
file
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------
Build finished at 2026-09-05T18:29:16Z

Finished
--------


+------------------------------------------------------------------------------+
| Cleanup                                      Sat, 05 Sep 2026 18:29:16 +0000 |
+------------------------------------------------------------------------------+

Purging /build/reproducible-path
Not cleaning session: cloned chroot in use
E: Build failure (dpkg-buildpackage died with exit 2)

+------------------------------------------------------------------------------+
| Summary                                      Sat, 05 Sep 2026 18:29:18 +0000 |
+------------------------------------------------------------------------------+

Build Architecture: amd64
Build Type: binary
Build-Space: 332
Build-Time: 3
Distribution: sid
Fail-Stage: build
Host Architecture: amd64
Install-Time: 17
Job: /tmp/golang-goji-2.0.2/../golang-goji_2.0.2-2.dsc
Machine Architecture: amd64
Package: golang-goji
Package-Time: 73
Source-Version: 2.0.2-2
Space: 332
Status: attempted
Version: 2.0.2-2
--------------------------------------------------------------------------------
Finished at 2026-09-05T18:29:16Z
Build needed 00:01:13, 332k disk space
E: Build failure (dpkg-buildpackage died with exit 2)

--- End Message ---
--- Begin Message ---
Am 05.09.26 um 14:01 schrieb Santiago Vila:
> Hello.
> 
> During a partial archive rebuild I found more than 300 golang packages
> which fail to build in unstable.

Hi,

I think that's probably my fault, due to an error made in the control
file of dh-go.

dh-go is currently intended to be opt-in for golang packages, just like
Nicolas wrote. All packages still using dh-golang (with GOPATH) should
not be affected by this upload.

However, I've just noticed that I accidentally left the line "Provides:
dh-sequence-golang" in d/control, so that now both dh-golang and dh-go
provide that virtual package.

I suspect that all build failures which Santiago saw in the rebuild of
unstable are packages which Build-Depend on this virtual package. During
the rebuild, some of the packages got dh-go as a build dependency (and
failed), others got dh-golang.

I've just uploaded a new version of dh-go *without* the virtual package
dh-sequence-golang, so that hopefully all FTBFS bugs from Santiago's
rebuild are resolved.

Sorry for this!

I'm closing the bug report now.

Regards,
Tobias

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to