#1137483 golang-github-a-h-templ: FTBFS with the nocheck build profile

#1137483#5
Date:
2026-05-24 10:21:25 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable using the nocheck build profile,
this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

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

A wiki page discussing how to reproduce bugs in this category and
possible solutions is available here:

https://wiki.debian.org/qa.debian.org/FTBFS/nocheck

(It's a wiki, so you are welcome to contribute)

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:golang-github-a-h-templ, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 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
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build -O--buildsystem=golang -- -ldflags "-X 'github.com/a-h/templ.version=0.3.1001+ds-1'"
dh_auto_build: warning: github.com/a-h/templ/cmd/templ/generatecmd/symlink contains no non-test Go files, removing it from build
dh_auto_build: warning: github.com/a-h/templ/cmd/templ/generatecmd/test-eventhandler contains no non-test Go files, removing it from build
dh_auto_build: warning: github.com/a-h/templ/cmd/templ/generatecmd/testwatch contains no non-test Go files, removing it from build
	cd _build && go install -trimpath -v -p 2 -ldflags "-X 'git [too-long-redacted] book github.com/a-h/templ/turbo
src/github.com/a-h/templ/cmd/templ/lspcmd/lspdiff/lspdiff.go:5:2: cannot find package "github.com/google/go-cmp/cmp" in any of:
	/usr/lib/go-1.26/src/github.com/google/go-cmp/cmp (from $GOROOT)
	/<<PKGBUILDDIR>>/_build/src/github.com/google/go-cmp/cmp (from $GOPATH)
src/github.com/a-h/templ/cmd/templ/lspcmd/lspdiff/lspdiff.go:6:2: cannot find package "github.com/google/go-cmp/cmp/cmpopts" in any of:
	/usr/lib/go-1.26/src/github.com/google/go-cmp/cmp/cmpopts (from $GOROOT)
	/<<PKGBUILDDIR>>/_build/src/github.com/google/go-cmp/cmp/cmpopts (from $GOPATH)
dh_auto_build: error: cd _build && go install -trimpath -v - [too-long-redacted] empl/turbo returned exit code 1
make[1]: *** [debian/rules:17: override_dh_auto_build] Error 255
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:14: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1137483#10
Date:
2026-06-22 10:24:27 UTC
From:
To:
Dear maintainer,

I've prepared an NMU for golang-github-a-h-templ (versioned as 0.3.1001+ds-1.1)
and uploaded it to DELAYED/14. Please feel free to tell me if I should
cancel it.

cu
Adrian

#1137483#17
Date:
2026-06-23 17:22:14 UTC
From:
To:
Hello,

Bug #1137483 in golang-github-a-h-templ 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/packages/golang-github-a-h-templ/-/commit/8297c275744b3efb1002957a4a08fa17a4dd9ea2
------------------------------------------------------------------------
d/control: Drop <!nocheck> from golang-github-google-go-cmp-dev. Closes: #1137483.
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1137483

#1137483#22
Date:
2026-06-23 17:27:37 UTC
From:
To:
Thanks.
#1137483#27
Date:
2026-06-23 17:48:44 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
golang-github-a-h-templ, 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 1137483@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Vila <sanvila@debian.org> (supplier of updated golang-github-a-h-templ 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, 23 Jun 2026 19:15:00 +0200
Source: golang-github-a-h-templ
Architecture: source
Version: 0.3.1001+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Changed-By: Santiago Vila <sanvila@debian.org>
Closes: 1137483
Changes:
 golang-github-a-h-templ (0.3.1001+ds-2) unstable; urgency=medium
 .
   * Team upload.
   * Drop <!nocheck> from golang-github-google-go-cmp-dev. Closes: #1137483.
Checksums-Sha1:
 e627d78c6daa4f0b8b213ac382a1c72f0010de76 2412 golang-github-a-h-templ_0.3.1001+ds-2.dsc
 8632e345d6321fa32050dd8414d65f88f1a21cf6 5868 golang-github-a-h-templ_0.3.1001+ds-2.debian.tar.xz
 ff992b2d8d7edae3bfb9ae66b8e6bb3186909fa0 7652 golang-github-a-h-templ_0.3.1001+ds-2_source.buildinfo
Checksums-Sha256:
 b71a92ced729c8fac8dac4a801538fa8d685ca8e84a6276e8bb6dc35fc4f58b5 2412 golang-github-a-h-templ_0.3.1001+ds-2.dsc
 74f915fabc132488d0fb0d61bf34fcc9806b4733053caf9a855d569546c3a50b 5868 golang-github-a-h-templ_0.3.1001+ds-2.debian.tar.xz
 af5a187d5de36ea4b6d28a1ca53fd9e4f8eb6a0b4e6b830a2dbef6211f807501 7652 golang-github-a-h-templ_0.3.1001+ds-2_source.buildinfo
Files:
 6e797c33df9c19fb81751bed02853a15 2412 golang optional golang-github-a-h-templ_0.3.1001+ds-2.dsc
 6ab942878a8df7b923713c8723904840 5868 golang optional golang-github-a-h-templ_0.3.1001+ds-2.debian.tar.xz
 6117e239838c97bcf3d283e0c5753784 7652 golang optional golang-github-a-h-templ_0.3.1001+ds-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEE1Uw7+v+wQt44LaXXQc5/C58bizIFAmo6wIEACgkQQc5/C58b
izITIAgAj+e5YG1mOe0Ya5MEX5nqhGq0Z6Vyzx4KSUgJAebWMfFv77bxjEkEC+CV
rHcYmuDYfKfUKiF/Y0a+YQ7XlK7+klfhjms0N24U/LRiZZ6WHa4ikLT49lmxv5Eo
3uUubSt8ewBd6YvsautboeQPqmcL4ytoC7rn7djUheLEt2H3EgBAmHrmB9PkMWBZ
zY5xmhfEpZYxliGGPEv/wOe7yZ7PBUpFoHq75TPlhOifhbPHr041jo6aHSsO1q0g
RFMJQGYfwlJuZtqKLh7x3L877xduZ5oj1xNEDw+c1hJdXr0PJxI6W1aw+Ff4kPgZ
SCutQTO9SpWwX8QylJQMcxil2OzV5Q==
=nLPB
-----END PGP SIGNATURE-----