DEP8 failure: excluded modules in d/rules still needed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
golang-golang-x-tools (Debian) |
Fix Released
|
Unknown
|
|||
golang-golang-x-tools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm still troubleshooting this, but I think I have enough information already to open a bug.
The DEP8 tests are failing at "go install" (dh_build) time with these errors:
cannot find package "golang.
and
cannot find package "golang.
This package has no dep8 test of its own, relying on "Testsuite: autopkgtest-pkg-go" which basically runs the build again.
This upload contains a change in d/rules' DH_GOLANG_EXCLUDES:
* Add to DH_GOLANG_EXCLUDES "internal/lsp"
which is a part of the previously excluded "gopls"
# Exclude "cover" since it is included in core as of Go 1.5+.
# Exclude "gopls" as it requires honnef.co/go/tools which has not
# been packaged for Debian.
export DH_GOLANG_EXCLUDES := cmd/cover gopls internal/lsp
Turns out since commit https:/
I'm not sure why that doesn't fail the normal build, though.
I also don't know how this package migrated in debian, since it's failing there too for quite some time:
https:/
In the previous upload, golang-
If I remove "internal/lsp" from DH_GOLANG_EXCLUDES and rebuild, then the build-time tests fail:
--- FAIL: TestIssue37978 (60.01s)
--- FAIL: TestIssue37978/
panic: Shutdown: context deadline exceeded [recovered]
panic: Shutdown: context deadline exceeded
Changed in golang-golang-x-tools (Debian): | |
status: | Unknown → New |
Changed in golang-golang-x-tools (Debian): | |
status: | New → Fix Released |
This issue was fixed in Debian on version 1:0.0~git202004 10.79a7a31+ ds-2. It was already sync'ed and it migrated to the release pocket as you can see here:
https:/ /launchpad. net/ubuntu/ +source/ golang- golang- x-tools