{"action":"created","issue":{"url":"https://api.github.com/repos/pingcap/tidb/issues/639","labels_url":"https://api.github.com/repos/pingcap/tidb/issues/639/labels{/name}","comments_url":"https://api.github.com/repos/pingcap/tidb/issues/639/comments","events_url":"https://api.github.com/repos/pingcap/tidb/issues/639/events","html_url":"https://github.com/pingcap/tidb/issues/639","id":118851564,"number":639,"title":"Build error on Mac","user":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars.githubusercontent.com/u/2946214?v=3","gravatar_id":"","url":"https://api.github.com/users/Unknwon","html_url":"https://github.com/Unknwon","followers_url":"https://api.github.com/users/Unknwon/followers","following_url":"https://api.github.com/users/Unknwon/following{/other_user}","gists_url":"https://api.github.com/users/Unknwon/gists{/gist_id}","starred_url":"https://api.github.com/users/Unknwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unknwon/subscriptions","organizations_url":"https://api.github.com/users/Unknwon/orgs","repos_url":"https://api.github.com/users/Unknwon/repos","events_url":"https://api.github.com/users/Unknwon/events{/privacy}","received_events_url":"https://api.github.com/users/Unknwon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-25T14:46:24Z","updated_at":"2015-11-25T14:49:55Z","closed_at":null,"body":"Not sure you guys have noticed this or I'm doing something wrong.\r\n\r\nLatest `master`: `2c5359e284cd22a7ab741f149a130dabd85036c6`\r\n\r\n```\r\n➜  tidb git:(master) make\r\ngo get github.com/tools/godep\r\ngo get github.com/pingcap/go-hbase\r\ngo get github.com/pingcap/go-themis\r\ngo get github.com/ngaut/tso/client\r\ngo get github.com/qiuyesuifeng/goyacc\r\ngo get github.com/qiuyesuifeng/golex\r\n$(which goyacc) -o /dev/null -xegen temp_parser_file parser/parser.y\r\nParse table entries: 296474 of 772007, x 16 bits == 592948 bytes\r\n$(which goyacc) -o parser/parser.go -xe temp_parser_file parser/parser.y 2>&1 | egrep \"(shift|reduce)/reduce\" | awk '{print} END {if (NR > 0) {print \"Find conflict in parser.y. Please check y.output for more information.\"; system(\"rm -f temp_parser_file\"); exit 1;}}'\r\nrm -f temp_parser_file\r\nrm -f y.output\r\n$(which golex) -o parser/scanner.go parser/scanner.l\r\n$(which godep) go build\r\n# github.com/pingcap/tidb/store/hbase\r\nstore/hbase/kv.go:90: cannot use t (type *themis.Txn) as type themis.Txn in argument to newHbaseTxn\r\nstore/hbase/kv.go:100: cannot use t (type *themis.Txn) as type themis.Txn in argument to newHbaseSnapshot\r\nstore/hbase/snapshot.go:66: s.txn.Gets undefined (type themis.Txn has no field or method Gets)\r\nstore/hbase/snapshot.go:154: cannot convert nil to type themis.Txn\r\nstore/hbase/snapshot.go:156: cannot use nil as type themis.Txn in assignment\r\ngodep: go exit status 2\r\nmake: *** [build] Error 1\r\n```"},"comment":{"url":"https://api.github.com/repos/pingcap/tidb/issues/comments/159630176","html_url":"https://github.com/pingcap/tidb/issues/639#issuecomment-159630176","issue_url":"https://api.github.com/repos/pingcap/tidb/issues/639","id":159630176,"user":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars.githubusercontent.com/u/2946214?v=3","gravatar_id":"","url":"https://api.github.com/users/Unknwon","html_url":"https://github.com/Unknwon","followers_url":"https://api.github.com/users/Unknwon/followers","following_url":"https://api.github.com/users/Unknwon/following{/other_user}","gists_url":"https://api.github.com/users/Unknwon/gists{/gist_id}","starred_url":"https://api.github.com/users/Unknwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unknwon/subscriptions","organizations_url":"https://api.github.com/users/Unknwon/orgs","repos_url":"https://api.github.com/users/Unknwon/repos","events_url":"https://api.github.com/users/Unknwon/events{/privacy}","received_events_url":"https://api.github.com/users/Unknwon/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T14:49:54Z","updated_at":"2015-11-25T14:49:54Z","body":"Thanks, worked.\r\n\r\nPS: why don't use `-u` on makefile?"}}