{"action":"created","issue":{"url":"https://api.github.com/repos/ethereum/go-ethereum/issues/15331","repository_url":"https://api.github.com/repos/ethereum/go-ethereum","labels_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/15331/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/15331/comments","events_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/15331/events","html_url":"https://github.com/ethereum/go-ethereum/issues/15331","id":266678005,"number":15331,"title":"mobile: adapt to gomobile changes","user":{"login":"ligi","id":111600,"avatar_url":"https://avatars2.githubusercontent.com/u/111600?v=4","gravatar_id":"","url":"https://api.github.com/users/ligi","html_url":"https://github.com/ligi","followers_url":"https://api.github.com/users/ligi/followers","following_url":"https://api.github.com/users/ligi/following{/other_user}","gists_url":"https://api.github.com/users/ligi/gists{/gist_id}","starred_url":"https://api.github.com/users/ligi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ligi/subscriptions","organizations_url":"https://api.github.com/users/ligi/orgs","repos_url":"https://api.github.com/users/ligi/repos","events_url":"https://api.github.com/users/ligi/events{/privacy}","received_events_url":"https://api.github.com/users/ligi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-18T23:49:14Z","updated_at":"2017-11-09T15:22:34Z","closed_at":"2017-11-09T12:45:01Z","author_association":"CONTRIBUTOR","body":"1.7.1 is the last one that landed on maven-central. @karalabe is aware of the problem - opening this issue to collect details, keep track and add a [issuETH bounty](http://walleth.org/2017/10/18/issuETH-ethereum-issue-bounties). As I cannot do it in this repo as the app is not installed here I opened a gateway issue here: https://github.com/walleth/walleth/issues/70\r\n\r\n```\r\nIn file included from ../../../go/src/github.com/ethereum/go-ethereum/vendor/github.com/karalabe/hid/hid_enabled.go:36:\r\n./hidapi/libusb/hid.c:63:3: error: typedef redefinition with different types ('struct pthread_barrier' vs 'struct pthread_barrier_t')\r\n} pthread_barrier_t;\r\n  ^\r\n/home/travis/android-ndk-r14b/sysroot/usr/include/bits/pthread_types.h:53:3: note: previous definition is here\r\n} pthread_barrier_t;\r\n  ^\r\nIn file included from ../../../go/src/github.com/ethereum/go-ethereum/vendor/github.com/karalabe/hid/hid_enabled.go:36:\r\n./hidapi/libusb/hid.c:72:34: error: no member named 'mutex' in 'pthread_barrier_t'\r\n        if(pthread_mutex_init(&barrier->mutex, 0) < 0) {\r\n                               ~~~~~~~  ^\r\n./hidapi/libusb/hid.c:75:33: error: no member named 'cond' in 'pthread_barrier_t'\r\n        if(pthread_cond_init(&barrier->cond, 0) < 0) {\r\n                              ~~~~~~~  ^\r\n./hidapi/libusb/hid.c:76:35: error: no member named 'mutex' in 'pthread_barrier_t'\r\n                pthread_mutex_destroy(&barrier->mutex);\r\n                                       ~~~~~~~  ^\r\n./hidapi/libusb/hid.c:79:11: error: no member named 'trip_count' in 'pthread_barrier_t'\r\n        barrier->trip_count = count;\r\n        ~~~~~~~  ^\r\n./hidapi/libusb/hid.c:80:11: error: no member named 'count' in 'pthread_barrier_t'\r\n        barrier->count = 0;\r\n        ~~~~~~~  ^\r\n./hidapi/libusb/hid.c:87:33: error: no member named 'cond' in 'pthread_barrier_t'\r\n        pthread_cond_destroy(&barrier->cond);\r\n                              ~~~~~~~  ^\r\n./hidapi/libusb/hid.c:88:34: error: no member named 'mutex' in 'pthread_barrier_t'\r\n        pthread_mutex_destroy(&barrier->mutex);\r\n                               ~~~~~~~  ^\r\n./hidapi/libusb/hid.c:94:31: error: no member named 'mutex' in 'pthread_barrier_t'\r\n        pthread_mutex_lock(&barrier->mutex);\r\n                            ~~~~~~~  ^\r\n./hidapi/libusb/hid.c:95:14: error: no member named 'count' in 'pthread_barrier_t'\r\n        ++(barrier->count);\r\n           ~~~~~~~  ^\r\n./hidapi/libusb/hid.c:96:14: error: no member named 'count' in 'pthread_barrier_t'\r\n        if(barrier->count >= barrier->trip_count)\r\n           ~~~~~~~  ^\r\n./hidapi/libusb/hid.c:96:32: error: no member named 'trip_count' in 'pthread_barrier_t'\r\n        if(barrier->count >= barrier->trip_count)\r\n                             ~~~~~~~  ^\r\n./hidapi/libusb/hid.c:98:12: error: no member named 'count' in 'pthread_barrier_t'\r\n                barrier->count = 0;\r\n                ~~~~~~~  ^\r\n./hidapi/libusb/hid.c:99:36: error: no member named 'cond' in 'pthread_barrier_t'\r\n                pthread_cond_broadcast(&barrier->cond);\r\n                                        ~~~~~~~  ^\r\n./hidapi/libusb/hid.c:100:34: error: no member named 'mutex' in 'pthread_barrier_t'\r\n                pthread_mutex_unlock(&barrier->mutex);\r\n                                      ~~~~~~~  ^\r\n./hidapi/libusb/hid.c:105:31: error: no member named 'cond' in 'pthread_barrier_t'\r\n                pthread_cond_wait(&barrier->cond, &(barrier->mutex));\r\n                                   ~~~~~~~  ^\r\n./hidapi/libusb/hid.c:105:48: error: no member named 'mutex' in 'pthread_barrier_t'\r\n                pthread_cond_wait(&barrier->cond, &(barrier->mutex));\r\n                                                    ~~~~~~~  ^\r\n./hidapi/libusb/hid.c:106:34: error: no member named 'mutex' in 'pthread_barrier_t'\r\n                pthread_mutex_unlock(&barrier->mutex);\r\n                                      ~~~~~~~  ^\r\n18 errors generated.\r\ngithub.com/ethereum/go-ethereum/vendor/github.com/prometheus/prometheus/util/flock\r\ngithub.com/ethereum/go-ethereum/ethclient\r\ngithub.com/ethereum/go-ethereum/les/flowcontrol\r\ngithub.com/ethereum/go-ethereum/light\r\ngithub.com/ethereum/go-ethereum/internal/debug\r\ngithub.com/ethereum/go-ethereum/vendor/golang.org/x/sync/syncmap\r\ngithub.com/ethereum/go-ethereum/whisper/whisperv5\r\n/home/travis/build/ethereum/go-ethereum/build/bin/gomobile: loadExportData failed: go install -pkgdir=/home/travis/go/pkg/gomobile/pkg_android_arm -v -gcflags=-shared -ldflags=-shared github.com/ethereum/go-ethereum/mobile failed: exit status 2\r\nutil.go:44: exit status 1\r\nexit status 1\r\nThe command \"go run build/ci.go aar -signer ANDROID_SIGNING_KEY -deploy https://oss.sonatype.org -upload gethstore/builds\" exited with 1.\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/ethereum/go-ethereum/issues/comments/343187816","html_url":"https://github.com/ethereum/go-ethereum/issues/15331#issuecomment-343187816","issue_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/15331","id":343187816,"user":{"login":"ligi","id":111600,"avatar_url":"https://avatars2.githubusercontent.com/u/111600?v=4","gravatar_id":"","url":"https://api.github.com/users/ligi","html_url":"https://github.com/ligi","followers_url":"https://api.github.com/users/ligi/followers","following_url":"https://api.github.com/users/ligi/following{/other_user}","gists_url":"https://api.github.com/users/ligi/gists{/gist_id}","starred_url":"https://api.github.com/users/ligi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ligi/subscriptions","organizations_url":"https://api.github.com/users/ligi/orgs","repos_url":"https://api.github.com/users/ligi/repos","events_url":"https://api.github.com/users/ligi/events{/privacy}","received_events_url":"https://api.github.com/users/ligi/received_events","type":"User","site_admin":false},"created_at":"2017-11-09T15:22:34Z","updated_at":"2017-11-09T15:22:34Z","author_association":"CONTRIBUTOR","body":"Yay - great!"}}
{"actor":{"display_login":"ligi"}}