Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#53694 - [go] go tool trace does not work: /usr/lib/go/misc/trace is missing
Attached to Project:
Arch Linux
Opened by Alexander Neumann (fd0) - Monday, 17 April 2017, 10:30 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Friday, 21 April 2017, 07:00 GMT
Opened by Alexander Neumann (fd0) - Monday, 17 April 2017, 10:30 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Friday, 21 April 2017, 07:00 GMT
|
DetailsDescription:
The command "go tool trace" does not work: The web server for viewing the trace is started, but only a blank page is shown when the "view trace" link is clicked (request path is "/trace"). Turns out, the web server started internally is unable to find the file trace_viewer_lean.html which is expected to reside in $GOROOT/misc/trace, but the "misc" dir is not part of the Arch go package. Additional info: * package version: 2:1.8.1-1 Steps to reproduce: * create trace file (e.g. by using https://github.com/pkg/profile) * run "go tool trace /tmp/profile426676919/trace.out" * wait until the browser opens * click "view trace", see a blank page * in the browser's console you can see that the path "/trace_viewer_html" is requested but the server returns 404 The attached patch includes the "misc" dir in the go package, which makes the trace tool usable. |
This task depends upon
Closed by Bartłomiej Piotrowski (Barthalion)
Friday, 21 April 2017, 07:00 GMT
Reason for closing: Fixed
Additional comments about closing: 1.8.1-2
Friday, 21 April 2017, 07:00 GMT
Reason for closing: Fixed
Additional comments about closing: 1.8.1-2
go-add-misc-dir.patch
I think I am the one to blame for removing this folder in the first place, sorry for that :p
Are there maybe other directories that are not included (but should be)?
I cannot think of anything else missing, but who knows...
Thanks for your work!