#1144738 protoc-gen-doc: FTBFS / regression with golang-github-masterminds-sprig-dev (>= 3.2.3-7)

Package:
protoc-gen-doc
Source:
protoc-gen-doc
Description:
documentation generator for Google Protocol Buffers (program)
Submitter:
Date:
2026-08-21 12:22:02 UTC
Severity:
normal
Tags:
#1144738#5
Date:
2026-08-18 12:45:44 UTC
From:
To:
Dear Maintainer,

The package protoc-gen-doc fails to build (FTBFS) during autopkgtests and packaging builds when tested against the new version of golang-github-masterminds-sprig (3.2.3-7) in unstable.

The failure log shows:
package github.com/pseudomuto/protoc-gen-doc
	imports github.com/Masterminds/sprig: no Go files in /tmp/autopkgtest.nDoQ0y/autopkgtest_tmp/debian/_build/src/github.com/Masterminds/sprig

This is because the new version of golang-github-masterminds-sprig-dev correctly installs its files under the Go-module-aware versioned path:
/usr/share/gocode/src/github.com/Masterminds/sprig/v3

Since the upstream module path for Masterminds/sprig v3 is indeed "github.com/Masterminds/sprig/v3", dependent packages need to be updated to import "github.com/Masterminds/sprig/v3" rather than the legacy unversioned path "github.com/Masterminds/sprig".

Updating this is important for making module-aware Go builds possible in Debian, aligning with the Debian Go packaging team's goals.

Please update the imports in protoc-gen-doc to use the versioned path (github.com/Masterminds/sprig/v3).

#1144738#8
Date:
2026-08-19 12:55:41 UTC
From:
To:
Hello,

Bug #1144738 in protoc-gen-doc 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/protoc-gen-doc/-/commit/e4db459c66c18ea3c70cb6546ac9b264393c7f4b

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1144738

#1144738#15
Date:
2026-08-21 12:20:31 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
protoc-gen-doc, 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 1144738@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Reinhard Tartler <siretart@tauware.de> (supplier of updated protoc-gen-doc 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: Fri, 21 Aug 2026 07:49:13 -0400
Source: protoc-gen-doc
Architecture: source
Version: 1.5.1+ds-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Changed-By: Reinhard Tartler <siretart@tauware.de>
Closes: 1144738
Changes:
 protoc-gen-doc (1.5.1+ds-3) unstable; urgency=medium
 .
   * Team Upload
   * Update sprig import path to v3 (Closes: #1144738)
   * Install go.mod via DH_GOLANG_INSTALL_EXTRA
   * Bump Standards-Version
Checksums-Sha1:
 1810194f00ce2354c438491475ca3a5945e18722 2810 protoc-gen-doc_1.5.1+ds-3.dsc
 8db4d9cf01414140f9027a62332d8d074dc0ec20 4176 protoc-gen-doc_1.5.1+ds-3.debian.tar.xz
 af5058caa58bbe46dd1dfc21b7094116bd3c79b4 148852 protoc-gen-doc_1.5.1+ds-3.git.tar.xz
 da86e1bdb499048ed35be3748921f40399db2714 17700 protoc-gen-doc_1.5.1+ds-3_source.buildinfo
Checksums-Sha256:
 36f13ba72d5fdc583a90ad688ff15137d6467e8500fd7ea888cb5ba5df4979e7 2810 protoc-gen-doc_1.5.1+ds-3.dsc
 298abadd65188a63a207a07d0b30c3a6852f7cf7a0f5ef09d9a96944a874603d 4176 protoc-gen-doc_1.5.1+ds-3.debian.tar.xz
 a6e358c00e4ac4160997f15580395267b81a5c54f3b333214b128e2ff5950418 148852 protoc-gen-doc_1.5.1+ds-3.git.tar.xz
 7cd0a9a1ace304d1dee631ed05f5a6122a4c3abe3c4f48725caa9a04941e7d0a 17700 protoc-gen-doc_1.5.1+ds-3_source.buildinfo
Files:
 74b1834e94ec25a1fd31ac376d5259b5 2810 golang optional protoc-gen-doc_1.5.1+ds-3.dsc
 dbb2c0b97fa8aa30cf5c58446bc0b718 4176 golang optional protoc-gen-doc_1.5.1+ds-3.debian.tar.xz
 c3b75482dfe98d8b7d7c42e09aba0669 148852 golang None protoc-gen-doc_1.5.1+ds-3.git.tar.xz
 a3efa1d01145605c3bb3de731615b8c8 17700 golang optional protoc-gen-doc_1.5.1+ds-3_source.buildinfo
Git-Tag-Info: tag=1a578d26b6f44bf5b046794541fd3ba27f3c7466 fp=30de7d1763ab9452c7e0825049a76977942826cb
Git-Tag-Tagger: Reinhard Tartler <siretart@tauware.de>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmqIPU4ACgkQYG0ITkaD
wHkTAw//QL2+sw/jnVsnwJXaMWE0c5tuF9Yy6ZodHDiqJPksrIEzsSg/6HMR4sbF
IfFfMNPvDalqHB+f8N5O6L28jCvoBXcWsGGTK4slYZDHkKgWL2XaqXmm1RFDqS/m
r8RQhHaQVD8a8y+c1Zi2vOwJMBDabn7Bhvf/89odvRqsupG+d8e05B+U6sWf9ojl
Ko6NUJcCYcbL+aAHW+oddrAW3G6uHXbCmTiElLyo7cbajubXIcT2KwzmFU6odLwU
oFl7OFTutBxBaR7hPM38iYR2v5XmuQ+Wq4/5DJR1uido6NeoBWzCMc2R7HRzpGFQ
hSzU/GcCaGDV764LWBjHLeYdhPimmNaRYLU2ljwBJ8fyDkQsXYiUvWGFZ1OwEJ7t
8K/NqYkS/fQ2EHGahHrO0Vph/qHqpef/dj/R4NIwYBDKjUGoIUoQ+iKgHiUAQu6u
/CqPXRht0ilBxUbj9li16mBe5z+elgbaISIlsuo4aYDxC7va9D7yc7y0S4NazPDP
Fr/fr7K8p0Mz3vhtjz1w676vfZtDNSSc+NK8rO0ApdxRy8WR62JhNcq5Rn7ydK/T
qkl5+zt2nOItrf3GkrPHwsAnE8q9BHx2rYD14fCs9nWyxhahZzxaJpRvBas43Pdd
FzOZ5Z3xYG7La+G0mWWoU/wh59N+98lOmKKwSBLQ9f3bkLO3pdk=
=SUID
-----END PGP SIGNATURE-----