$ go build -i -race -x . WORK=/var/folders/_r/wnjprt2s18v2g9t2cdtt5hs80000gn/T/go-build242567175 mkdir -p $WORK/test_viper/_obj/ mkdir -p $WORK/test_viper/_obj/exe/ cd /Users/suyejun/go/src/test_viper /usr/local/Cellar/go/1.8/libexec/pkg/tool/darwin_amd64/compile -o $WORK/ test_viper.a -trimpath $WORK -race -p main -complete -installsuffix race -buildid b98ca87a44021961fe5b03f0752e6e83e153a5d7 -importmap github.com/spf13/viper= test_viper/vendor/github.com/spf13/viper -D _/Users/suyejun/go/src/test_viper -I $WORK -I /Users/suyejun/go/pkg/darwin_amd64_race -pack ./main.go cd . /usr/local/Cellar/go/1.8/libexec/pkg/tool/darwin_amd64/link -o $WORK/ test_viper/_obj/exe/a.out -L $WORK -L /Users/suyejun/go/pkg/darwin_amd64_race -installsuffix race -extld=clang -buildmode=exe -buildid=b98ca87a44021961fe5b03f0752e6e83e153a5d7 -race $WORK/test_viper.a mv $WORK/test_viper/_obj/exe/a.out test_viper suyejun@suyejun-iMac ~/g/s/test_viper>
$ go clean -i -race -n ./... cd /Users/suyejun/go/src/test_viper rm -f test_viper test_viper.exe test_viper.test test_viper.test.exe main main.exe rm -f /Users/suyejun/go/bin/test_viper cd /Users/suyejun/go/src/test_viper/vendor/github.com/fsnotify/fsnotify rm -f fsnotify.test fsnotify.test.exe fen fen.exe inotify inotify.exe inotify_poller inotify_poller.exe open_mode_bsd open_mode_bsd.exe windows windows.exe rm -f /Users/suyejun/go/pkg/darwin_amd64/test_viper/vendor/github.com/fsnotify/fsnotify.a cd /Users/suyejun/go/src/test_viper/vendor/github.com/hashicorp/hcl rm -f hcl.test hcl.test.exe rm -f /Users/suyejun/go/pkg/darwin_amd64/test_viper/vendor/github.com/hashicorp/hcl.a cd /Users/suyejun/go/src/test_viper/vendor/github.com/hashicorp/hcl/hcl/ast rm -f ast.test ast.test.exe rm -f /Users/suyejun/go/pkg/darwin_amd64/test_viper/vendor/github.com/hashicorp/hcl/hcl/ast.a cd /Users/suyejun/go/src/test_viper/vendor/github.com/hashicorp/hcl/hcl/parser rm -f parser.test parser.test.exe clean with "-race" is always finding "darwin_amd64" while it should be " darwin_amd64_race". I'm using Go 1.8 on macOS 10.12. Is it a bug? Thanks -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.