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#39612 - [go] go fmt isn't installed by default
Attached to Project:
Community Packages
Opened by rtaertnaei iae (eiartniaern) - Monday, 24 March 2014, 17:56 GMT
Last edited by Alexander F. Rødseth (xyproto) - Tuesday, 25 March 2014, 18:50 GMT
Opened by rtaertnaei iae (eiartniaern) - Monday, 24 March 2014, 17:56 GMT
Last edited by Alexander F. Rødseth (xyproto) - Tuesday, 25 March 2014, 18:50 GMT
|
Detailsgo fmt isn't installed by default while cover, vet etc are. I would suggest that we just install all go tools by default.
|
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Tuesday, 25 March 2014, 18:50 GMT
Reason for closing: Works for me
Tuesday, 25 March 2014, 18:50 GMT
Reason for closing: Works for me
I don't think go fmt is even part of the go.tools package, so that part of the PKGBUILD is just failing. (And 1.2.1-2 and 1.2.1-3 seem to be identical trees).
Finally, the rationale of which tools to include and not was more driven by upstream concerns. vet and cover are designed to be put in the $GOROOT, not the $GOPATH, but the other tools go to $GOPATH.
So go get code.google.com/p/go.tools/cmd/{oracle,ssadump} and similar installs in your $GOPATH, and so should not be included with this package. If you do go get code.google.com/p/go.tools/cmd/vet it will try to put it where this PKGBUILD puts it.
I just went through go.tools and I believe we have everything, er, covered (godoc, vet, and cover) for GOROOT tools!
rtaertnaei iae,
The current go package already includes /usr/bin/gofmt. What are the steps to reproduce the issue, if you think that go fmt is missing?