{"action":"created","issue":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-java-core/issues/745","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-java-core/issues/745/labels{/name}","comments_url":"https://api.github.com/repos/couchbase/couchbase-lite-java-core/issues/745/comments","events_url":"https://api.github.com/repos/couchbase/couchbase-lite-java-core/issues/745/events","html_url":"https://github.com/couchbase/couchbase-lite-java-core/issues/745","id":106707567,"number":745,"title":"Error when building couchbase-lite-java-forestdb on Linux","user":{"login":"hideki","id":15889,"avatar_url":"https://avatars.githubusercontent.com/u/15889?v=3","gravatar_id":"","url":"https://api.github.com/users/hideki","html_url":"https://github.com/hideki","followers_url":"https://api.github.com/users/hideki/followers","following_url":"https://api.github.com/users/hideki/following{/other_user}","gists_url":"https://api.github.com/users/hideki/gists{/gist_id}","starred_url":"https://api.github.com/users/hideki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hideki/subscriptions","organizations_url":"https://api.github.com/users/hideki/orgs","repos_url":"https://api.github.com/users/hideki/repos","events_url":"https://api.github.com/users/hideki/events{/privacy}","received_events_url":"https://api.github.com/users/hideki/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/couchbase/couchbase-lite-java-core/labels/chore","name":"chore","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"hideki","id":15889,"avatar_url":"https://avatars.githubusercontent.com/u/15889?v=3","gravatar_id":"","url":"https://api.github.com/users/hideki","html_url":"https://github.com/hideki","followers_url":"https://api.github.com/users/hideki/followers","following_url":"https://api.github.com/users/hideki/following{/other_user}","gists_url":"https://api.github.com/users/hideki/gists{/gist_id}","starred_url":"https://api.github.com/users/hideki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hideki/subscriptions","organizations_url":"https://api.github.com/users/hideki/orgs","repos_url":"https://api.github.com/users/hideki/repos","events_url":"https://api.github.com/users/hideki/events{/privacy}","received_events_url":"https://api.github.com/users/hideki/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-java-core/milestones/6","html_url":"https://github.com/couchbase/couchbase-lite-java-core/milestones/1.2.0","labels_url":"https://api.github.com/repos/couchbase/couchbase-lite-java-core/milestones/6/labels","id":771954,"number":6,"title":"1.2.0","description":"","creator":{"login":"jessliu","id":4998909,"avatar_url":"https://avatars.githubusercontent.com/u/4998909?v=3","gravatar_id":"","url":"https://api.github.com/users/jessliu","html_url":"https://github.com/jessliu","followers_url":"https://api.github.com/users/jessliu/followers","following_url":"https://api.github.com/users/jessliu/following{/other_user}","gists_url":"https://api.github.com/users/jessliu/gists{/gist_id}","starred_url":"https://api.github.com/users/jessliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessliu/subscriptions","organizations_url":"https://api.github.com/users/jessliu/orgs","repos_url":"https://api.github.com/users/jessliu/repos","events_url":"https://api.github.com/users/jessliu/events{/privacy}","received_events_url":"https://api.github.com/users/jessliu/received_events","type":"User","site_admin":false},"open_issues":49,"closed_issues":30,"state":"open","created_at":"2014-08-29T17:31:06Z","updated_at":"2015-09-16T06:21:38Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-09-16T06:21:06Z","updated_at":"2015-09-16T21:39:53Z","closed_at":null,"body":"Should use GCC\n\n```\nFAILURE: Build failed with an exception.\n\n* What went wrong:\nExecution failed for task ':libraries:couchbase-lite-java-forestdb:compileCouchbaseLiteJavaForestDBSharedLibraryCouchbaseLiteJavaForestDBCpp'.\n> Could not find C++ compiler 'clang++' in system path.\n```\n\nhttp://mobile.jenkins.couchbase.com/job/couchbase-lite-java-build/292/console"},"comment":{"url":"https://api.github.com/repos/couchbase/couchbase-lite-java-core/issues/comments/140902129","html_url":"https://github.com/couchbase/couchbase-lite-java-core/issues/745#issuecomment-140902129","issue_url":"https://api.github.com/repos/couchbase/couchbase-lite-java-core/issues/745","id":140902129,"user":{"login":"hideki","id":15889,"avatar_url":"https://avatars.githubusercontent.com/u/15889?v=3","gravatar_id":"","url":"https://api.github.com/users/hideki","html_url":"https://github.com/hideki","followers_url":"https://api.github.com/users/hideki/followers","following_url":"https://api.github.com/users/hideki/following{/other_user}","gists_url":"https://api.github.com/users/hideki/gists{/gist_id}","starred_url":"https://api.github.com/users/hideki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hideki/subscriptions","organizations_url":"https://api.github.com/users/hideki/orgs","repos_url":"https://api.github.com/users/hideki/repos","events_url":"https://api.github.com/users/hideki/events{/privacy}","received_events_url":"https://api.github.com/users/hideki/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T21:39:53Z","updated_at":"2015-09-16T21:39:53Z","body":"Clang is not available on Linux without installing clang.\r\n- Install clang\r\n` sudo apt-get install clang`\r\n\r\nCurrent compilation error\r\n```\r\nhideki@linux:~/github/couchbase-lite-java-forestdb$ ./gradlew -Pspec=java assemble\r\nPicked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar \r\n:compileCouchbaseLiteJavaForestDBSharedLibraryCouchbaseLiteJavaForestDBCpp\r\n/home/hideki/github/couchbase-lite-java-forestdb/vendor/cbforest/CBForest/Tokenizer.cc:117:9: error: unknown type name '__unused'\r\n        __unused int err = sModule->xOpen(tokenizer.getTokenizer(),\r\n        ^\r\n/home/hideki/github/couchbase-lite-java-forestdb/vendor/cbforest/CBForest/Tokenizer.cc:117:18: error: expected unqualified-id\r\n        __unused int err = sModule->xOpen(tokenizer.getTokenizer(),\r\n                 ^\r\n/home/hideki/github/couchbase-lite-java-forestdb/vendor/cbforest/CBForest/Tokenizer.cc:120:17: error: use of undeclared identifier 'err'\r\n        assert(!err);\r\n                ^\r\n/usr/include/assert.h:89:5: note: expanded from macro 'assert'\r\n  ((expr)                                                               \\\r\n    ^\r\n3 errors generated.\r\n\r\n/home/hideki/github/couchbase-lite-java-forestdb/jni/cbf_docenumerator.cc:18:10: error: use of undeclared identifier 'UINT_MAX'\r\n        limit = UINT_MAX;\r\n                ^\r\n1 error generated.\r\n\r\n:compileCouchbaseLiteJavaForestDBSharedLibraryCouchbaseLiteJavaForestDBCpp FAILED\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':compileCouchbaseLiteJavaForestDBSharedLibraryCouchbaseLiteJavaForestDBCpp'.\r\n> Multiple build operations failed.\r\n      C++ compiler failed while compiling Tokenizer.cc.\r\n      C++ compiler failed while compiling cbf_docenumerator.cc.\r\n  See the complete log at: file:///home/hideki/github/couchbase-lite-java-forestdb/build/tmp/compileCouchbaseLiteJavaForestDBSharedLibraryCouchbaseLiteJavaForestDBCpp/output.txt\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n\r\nBUILD FAILED\r\n\r\nTotal time: 9.761 secs\r\n```"}}