[ https://issues.apache.org/jira/browse/THRIFT-4298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16150139#comment-16150139 ]
Can Celasun commented on THRIFT-4298: ------------------------------------- The Go package in Ubuntu is very weird as it doesn't include the race detector for some reason. Adding [golang-race-detector-runtime|https://packages.ubuntu.com/xenial/devel/golang-race-detector-runtime] to the Dockerfile should fix it. I can send a PR over the weekend if nobody beats me to it. > Fix Ubuntu Xenial build environment for the go 1.6 language > ----------------------------------------------------------- > > Key: THRIFT-4298 > URL: https://issues.apache.org/jira/browse/THRIFT-4298 > Project: Thrift > Issue Type: Sub-task > Components: Build Process, Go - Library > Affects Versions: 0.11.0 > Environment: docker:ubuntu1604 > Reporter: James E. King, III > > While running "make check" on the Ubuntu Xenial image (which has go 1.6), the > following error occurred: > {noformat} > Making check in go > make[2]: Entering directory '/thrift/src/lib/go' > Making check in . > make[3]: Entering directory '/thrift/src/lib/go' > GOPATH=`pwd` /usr/bin/go get golang.org/x/net/context > GOPATH=`pwd` /usr/bin/go build ./thrift > make check-local > make[4]: Entering directory '/thrift/src/lib/go' > GOPATH=`pwd` /usr/bin/go get golang.org/x/net/context > GOPATH=`pwd` /usr/bin/go test -race ./thrift > # testmain > runtime.raceinit: __tsan_init: not defined > runtime.raceinit: __tsan_map_shadow: not defined > runtime.racefini: __tsan_fini: not defined > runtime.racemapshadow: __tsan_map_shadow: not defined > runtime.racemalloc: __tsan_malloc: not defined > runtime.racegostart: __tsan_go_start: not defined > runtime.racegoend: __tsan_go_end: not defined > runtime.raceacquireg: __tsan_acquire: not defined > runtime.racereleaseg: __tsan_release: not defined > runtime.racereleasemergeg: __tsan_release_merge: not defined > runtime.racefingo: __tsan_finalizer_goroutine: not defined > runtime.RaceDisable: __tsan_go_ignore_sync_begin: not defined > runtime.RaceEnable: __tsan_go_ignore_sync_end: not defined > runtime.raceread: __tsan_read: not defined > runtime.racereadpc: __tsan_read_pc: not defined > runtime.racewrite: __tsan_write: not defined > runtime.racewritepc: __tsan_write_pc: not defined > runtime.racereadrange: __tsan_read_range: not defined > runtime.racereadrangepc1: __tsan_read_range: not defined > runtime.racewriterange: __tsan_write_range: not defined > runtime.racewriterangepc1: __tsan_write_range: not defined > /usr/lib/go-1.6/pkg/tool/linux_amd64/link: too many errors > FAIL _/thrift/src/lib/go/thrift [build failed] > {noformat} > This needs to be resolved. -- This message was sent by Atlassian JIRA (v6.4.14#64029)