-
Notifications
You must be signed in to change notification settings - Fork 18.3k
Closed
Labels
Milestone
Description
What steps will reproduce the problem? If possible, include a link to a program on play.golang.org. 1. build by this PKGBUILD script, (eg. build multiple GOARCH GOOS) https://aur.archlinux.org/packages/go/go-crosstool/PKGBUILD 2. go test works. 3. go test -race occurs I'm try to build Go package for Arch Linux, but wonder what's the correct steps to build 'test -race' support. In the PKGBUILD script, I just call "make.bash --noclean" But, there is no usr/lib/go/pkg/linux_amd64_race/ directory. What is the expected output? What do you see instead? $ go test -race warning: building out-of-date packages: runtime runtime/cgo ... omit .. regexp/syntax regexp installing these packages with 'go test -race -i' will speed future tests. $ GOPATH=/home/USER/go $ go test -race -i go install runtime: mkdir /usr/lib/go/pkg/linux_amd64_race/: permission denied Which compiler are you using (5g, 6g, 8g, gccgo)? x86_64 Which operating system are you using? Arch Linux x86_64 Which version are you using? (run 'go version') go version go1.1 linux/amd64 Please provide any additional information below.