Debian Patches

Status for golang-golang-x-tools/1:0.5.0+ds-1

Patch Description Author Forwarded Bugs Origin Last update
0001-Make-godoc-support-symlinks.patch Make godoc support symlinks.

Due to the FHS, we use a symlink from /usr/share/golang/src to
/usr/lib/golang/src, but godoc does not support that.

See also https://groups.google.com/forum/#!topic/golang-nuts/396pWLsz-WI
Dmitry Azhichakov <dmitry@dsa.pp.ru> yes 2020-11-17
0002-Disable-static-files-for-present-cmd.patch Disable static files for present cmd
This path is debian-specific, hence this patch cannot go upstream.
Michael Stapelberg <stapelberg@debian.org> not-needed 2020-11-17
0003-Disable-embedding-static-files-for-godoc-cmd.patch Disable embedding static files for godoc cmd
This path is debian-specific, hence this patch cannot go upstream.


Original authors:
+ Martn Ferrari <tincho@debian.org>
+ Anthony Fok <foka@debian.org>
Shengjing Zhu <zhsj@debian.org> not-needed 2020-11-17
0004-Support-mips-in-testdata-in-go-analysis-passes-atomi.patch Support mips in testdata in go/analysis/passes/atomicalign
but mips/mipsle are missing.
Debian Go Packaging Team <team+pkg-go@tracker.debian.org> no 2020-11-17
0005-Skip-go-vcs-TestRepoRootForImportPath.patch Skip go/vcs TestRepoRootForImportPath

Some tests rely on access to online resources; skip
these as this does not work in offline build environments.
James Page <james.page@ubuntu.com> not-needed 2020-11-17
0006-Skip-cmd-godoc-TestURL.patch Skip cmd/godoc TestURL

If golang-doc is not present, the start page for godoc does not contain the
text expected in tests.
=?utf-8?q?Mart=C3=ADn_Ferrari?= <tincho@debian.org> not-needed vendor 2019-07-29
0007-Skip-cmd-stringer-e2e-test.patch Skip cmd/stringer e2e test

Seems like 'go build' can't work offline:
Arnaud Rebillout <arnaud.rebillout@collabora.com> not-needed vendor 2023-02-07
0008-Skip-gopls-internal-hooks-TestLicenses.patch Skip gopls/internal/hooks TestLicenses Shengjing Zhu <zhsj@debian.org> not-needed 2021-09-12
0009-Skip-go-packages-TestOverlaysInReplace.patch Skip go/packages TestOverlaysInReplace
Needs go mod
Shengjing Zhu <zhsj@debian.org> not-needed 2020-11-17
0010-Skip-gopls-internal-lsp-cmd-TestCapabilities.patch Skip gopls/internal/lsp/cmd TestCapabilities
Needs go mod
Shengjing Zhu <zhsj@debian.org> not-needed 2023-02-07
0011-Skip-internal-gcimporter-TestStdlib.patch Skip internal/gcimporter TestStdlib
gopls/doc/generate.go:33:2: cannot find package "github.com/jba/printsrc" in any of:
/usr/lib/go-1.19/src/github.com/jba/printsrc (from $GOROOT)
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/github.com/jba/printsrc (from $GOPATH)
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/golang.org/x/tools/gopls/doc/generate.go:33:2: could not import github.com/jba/printsrc (invalid package name: "")
stdlib_test.go:52: there were errors during loading
Shengjing Zhu <zhsj@debian.org> not-needed 2023-02-07
0012-Update-govuln-to-6ad3e3d.patch Update govuln to 6ad3e3d "Hana (Hyang-Ah) Kim" <hyangah@gmail.com> no backport, https://github.com/golang/tools/commit/e81af278 2023-01-10

All known versions for source package 'golang-golang-x-tools'

Links