godoc can't find standard library source anymore (Go 1.4, wily)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
golang-go.tools (Debian) |
Fix Released
|
Unknown
|
|||
golang-go.tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Using the godoc tool to show documentation for standard library packages no longer works on Wily. For example:
$ godoc net/http
2015/06/29 09:28:52 open /usr/lib/
I have the golang-src package installed, but it seems that the source for the package is now at /usr/lib/
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: golang-go.tools 0.0~hg20140703-4
ProcVersionSign
Uname: Linux 3.19.0-20-generic x86_64
ApportVersion: 2.17.3-0ubuntu4
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Jun 29 09:26:03 2015
Dependencies:
gcc-5-base 5.1.1-12ubuntu1
libc6 2.21-0ubuntu4
libgcc1 1:5.1.1-12ubuntu1
libjs-jquery 1.7.2+dfsg-3ubuntu2
multiarch-support 2.21-0ubuntu4
InstallationDate: Installed on 2013-10-29 (607 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
SourcePackage: golang-go.tools
UpgradeStatus: Upgraded to wily on 2015-06-13 (15 days ago)
Changed in golang-go.tools (Debian): | |
status: | Unknown → New |
Changed in golang-go.tools (Debian): | |
status: | New → Fix Released |
The version of godoc in this package also seems to be unable to parse the some newer language features used in the standard library. For example:
$ godoc /usr/lib/ go/src/ os/exec exec.go: 368:6: expected operand, found 'range' (and 3 more errors)
2015/07/10 12:41:04 /target/
So it really needs to be updated.