Package: golang-github-wenerme-astgo
Version: 0.0~git20230926.1b5bc38-2
Severity: important
Tags: ftbfs
Dear Maintainer,
The package golang-github-wenerme-astgo 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/wenerme/astgo/pkg/tools/xmlgen
imports github.com/Masterminds/sprig: no Go files in
/tmp/autopkgtest.150APi/autopkgtest_tmp/_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 golang-github-wenerme-astgo to use the versioned
path (github.com/Masterminds/sprig/v3).
-- System Information:
Debian Release: forky/sid
APT prefers testing
APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 7.1.7+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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