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#44025 - [go] Missing library files for race detector
Attached to Project:
Community Packages
Opened by CP (Lord Aro) - Tuesday, 03 March 2015, 01:48 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 26 June 2015, 21:41 GMT
Opened by CP (Lord Aro) - Tuesday, 03 March 2015, 01:48 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 26 June 2015, 21:41 GMT
|
DetailsDescription:
Go's race detector (http://blog.golang.org/race-detector) Additional info: * go 2:1.4.2-1 Steps to reproduce: 1. Install go 2. Acquire minimal example file below 3. Run `go install -race` on the package/file 4. Observe "go install os/signal: open /usr/lib/go/pkg/linux_amd64_race/os/signal.a: permission denied" Should be noted that the equivalent file in /usr/lib/go/pkg/linux_amd64/os/signal.a exists fine and that doing this with sudo works fine, "installing" the correct files Minimal file: package main import "log" import "os" import "os/signal" func main() { log.Println("Hello!") var c chan<- os.Signal signal.Stop(c) } |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Friday, 26 June 2015, 21:41 GMT
Reason for closing: No response
Friday, 26 June 2015, 21:41 GMT
Reason for closing: No response
For the regular go package directory, /usr/lib/go/pkg/linux_amd64, running "go install std" in the .install file in the go package solves this.
However, I am yet to find an equivivalent command that works for /usr/lib/go/pkg/linux_amd64_race. More research is needed.
I'm unsure how the Go authors had intended that this was supposed to work, when installing Go with the system package manager.
Please report this upstream to the Go developers, if you have the chance.