longsleep / golang-deb

Sources for the unofficial Ubuntu Golang Backports PPA
https://launchpad.net/~longsleep/+archive/ubuntu/golang-backports
BSD 3-Clause "New" or "Revised" License
15 stars 1 forks source link

Symlinks in go-1.13 break godoc #3

Closed coventry closed 3 years ago

coventry commented 4 years ago

I was able to get godoc going by copying the original directories api, pkg/include, test, misc and src from /usr/share/go-1.13 onto the corresponding symlinks in /usr/lib/go-1.13. Prior to that, it was failing with

using module mode; GOMOD=/home/ubuntu/alien/tools/go.mod
2020/02/12 20:47:19 godoc: corpus fstree is nil

It would be good if these weren't symlinks; the golang team isn't planning to fix this issue. Absent that, it would be good if there were a warning on the PPA website that this breaks godoc due to those symlinks, along with a description of a workaround.

longsleep commented 3 years ago

This packaging will not divert from Debian packaging (its a backport). If this is a concern, please open the corresponding issue in the Debian bugtracker.