Package: dh-make-golang
Version: 0.6.0-2+b1
Severity: normal
I'm getting this while trying to do an estimate for #969482:
anarcat@curie:dist$ dh-make-golang estimate gitlab.com/gitlab-org/cli
go get: 258.03 MiBpackage gitlab.com/gitlab-org/cli/cmd/gen-docs: cannot find
package "github.com/hashicorp/hcl/hcl/printer" in any of:
/usr/lib/go-1.19/src/github.com/hashicorp/hcl/hcl/printer (from $GOROOT)
/tmp/dh-make-golang2745715808/src/github.com/hashicorp/hcl/hcl/printer
(from $GOPATH)
2023/01/24 12:14:11 estimate: go get: exit status 1
anarcat@curie:dist[1]$
I'm not sure what's going on here, maybe the import path is a little
weird (the hcl/printer subpath?) and is confusing
dh-make-golang... But in any case, it seems to me it shouldn't fail
outright and just mark that dependency as an unknown for manual
inspection...
-- System Information:
Debian Release: bookworm/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'testing'), (500, 'stable'), (1,
'experimental'), (1, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.0.0-6-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND,
TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.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
Versions of packages dh-make-golang depends on:
ii git 1:2.39.0-1
ii git-buildpackage 0.9.30
ii golang-any 2:1.19~1
ii libc6 2.36-8
ii pristine-tar 1.50
Versions of packages dh-make-golang recommends:
ii golang-golang-x-tools 1:0.2.0+ds-2
ii postfix [mail-transport-agent] 3.7.3-4
dh-make-golang suggests no packages.
-- no debconf information