{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/hhvm/issues/4524","labels_url":"https://api.github.com/repos/facebook/hhvm/issues/4524/labels{/name}","comments_url":"https://api.github.com/repos/facebook/hhvm/issues/4524/comments","events_url":"https://api.github.com/repos/facebook/hhvm/issues/4524/events","html_url":"https://github.com/facebook/hhvm/issues/4524","id":52756757,"number":4524,"title":"cotire-enabled build fails - undefined sqlite3_api","user":{"login":"Majkl578","id":144181,"avatar_url":"https://avatars.githubusercontent.com/u/144181?v=3","gravatar_id":"","url":"https://api.github.com/users/Majkl578","html_url":"https://github.com/Majkl578","followers_url":"https://api.github.com/users/Majkl578/followers","following_url":"https://api.github.com/users/Majkl578/following{/other_user}","gists_url":"https://api.github.com/users/Majkl578/gists{/gist_id}","starred_url":"https://api.github.com/users/Majkl578/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Majkl578/subscriptions","organizations_url":"https://api.github.com/users/Majkl578/orgs","repos_url":"https://api.github.com/users/Majkl578/repos","events_url":"https://api.github.com/users/Majkl578/events{/privacy}","received_events_url":"https://api.github.com/users/Majkl578/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-12-23T16:59:29Z","updated_at":"2015-01-14T11:30:21Z","closed_at":null,"body":"While building HHVM with cotire enabled, the build failed with:\r\n```\r\nBuilding CXX object hphp/util/CMakeFiles/hphp_util.dir/embedded-vfs.cpp.o\r\n/build/hhvm/hhvm/hphp/util/embedded-vfs.cpp: In function ‘void HPHP::embeddedEnter()’:\r\n/build/hhvm/hhvm/hphp/util/embedded-vfs.cpp:68:31: error: ‘sqlite3_api’ was not declared in this scope\r\n static void embeddedEnter() { sqlite3_mutex_enter(gEmbedded.pMutex); }\r\n                               ^\r\n/build/hhvm/hhvm/hphp/util/embedded-vfs.cpp: In function ‘void HPHP::embeddedLeave()’:\r\n/build/hhvm/hhvm/hphp/util/embedded-vfs.cpp:69:31: error: ‘sqlite3_api’ was not declared in this scope\r\n static void embeddedLeave() { sqlite3_mutex_leave(gEmbedded.pMutex); }\r\n                               ^\r\n/build/hhvm/hhvm/hphp/util/embedded-vfs.cpp: In function ‘int HPHP::sqlite3_embedded_initialize(const char*, int)’:\r\n/build/hhvm/hhvm/hphp/util/embedded-vfs.cpp:219:14: error: ‘sqlite3_api’ was not declared in this scope\r\n   pOrigVfs = sqlite3_vfs_find(zOrigVfsName);\r\n              ^\r\n/build/hhvm/hhvm/hphp/util/embedded-vfs.cpp: In function ‘int HPHP::sqlite3_embedded_shutdown()’:\r\n/build/hhvm/hhvm/hphp/util/embedded-vfs.cpp:269:3: error: ‘sqlite3_api’ was not declared in this scope\r\n   sqlite3_mutex_free(gEmbedded.pMutex);\r\n   ^\r\n```\r\n\r\nUsing Debian experimental."},"comment":{"url":"https://api.github.com/repos/facebook/hhvm/issues/comments/69903609","html_url":"https://github.com/facebook/hhvm/issues/4524#issuecomment-69903609","issue_url":"https://api.github.com/repos/facebook/hhvm/issues/4524","id":69903609,"user":{"login":"glensc","id":199095,"avatar_url":"https://avatars.githubusercontent.com/u/199095?v=3","gravatar_id":"","url":"https://api.github.com/users/glensc","html_url":"https://github.com/glensc","followers_url":"https://api.github.com/users/glensc/followers","following_url":"https://api.github.com/users/glensc/following{/other_user}","gists_url":"https://api.github.com/users/glensc/gists{/gist_id}","starred_url":"https://api.github.com/users/glensc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glensc/subscriptions","organizations_url":"https://api.github.com/users/glensc/orgs","repos_url":"https://api.github.com/users/glensc/repos","events_url":"https://api.github.com/users/glensc/events{/privacy}","received_events_url":"https://api.github.com/users/glensc/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T11:30:21Z","updated_at":"2015-01-14T11:30:21Z","body":"@jrobeson you mean dev-env vs builder-env? or system-sqlite vs bundled-sqlite?"}}