{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/hhvm/issues/5444","labels_url":"https://api.github.com/repos/facebook/hhvm/issues/5444/labels{/name}","comments_url":"https://api.github.com/repos/facebook/hhvm/issues/5444/comments","events_url":"https://api.github.com/repos/facebook/hhvm/issues/5444/events","html_url":"https://github.com/facebook/hhvm/issues/5444","id":84287304,"number":5444,"title":"Compiling Errors (hphp) -- HHVM Fails to Compile on gcc 4.9","user":{"login":"UnsecPhu","id":12710615,"avatar_url":"https://avatars.githubusercontent.com/u/12710615?v=3","gravatar_id":"","url":"https://api.github.com/users/UnsecPhu","html_url":"https://github.com/UnsecPhu","followers_url":"https://api.github.com/users/UnsecPhu/followers","following_url":"https://api.github.com/users/UnsecPhu/following{/other_user}","gists_url":"https://api.github.com/users/UnsecPhu/gists{/gist_id}","starred_url":"https://api.github.com/users/UnsecPhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UnsecPhu/subscriptions","organizations_url":"https://api.github.com/users/UnsecPhu/orgs","repos_url":"https://api.github.com/users/UnsecPhu/repos","events_url":"https://api.github.com/users/UnsecPhu/events{/privacy}","received_events_url":"https://api.github.com/users/UnsecPhu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/hhvm/labels/build","name":"build","color":"f7de7b"},{"url":"https://api.github.com/repos/facebook/hhvm/labels/needs%20more%20info","name":"needs more info","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-03T00:54:16Z","updated_at":"2015-06-04T22:18:29Z","closed_at":null,"body":"> [  0%] Built target timelib\r\n> [  0%] Built target double-conversion\r\n> [  7%] Built target folly\r\n> [ 12%] Built target hphp_proxygen\r\n> [ 16%] Built target hphp_thrift\r\n> [ 16%] Built target afdt\r\n> [ 16%] Built target eaw_table\r\n> [ 22%] Built target mbfl\r\n> [ 26%] Built target re2\r\n> [ 27%] Built target webscalesqlclient\r\n> [ 28%] Built target squangle\r\n> [ 36%] Built target mcrouter\r\n> [ 36%] Built target fastlz\r\n> [ 36%] Built target sqlite3\r\n> [ 36%] Built target lz4\r\n> [ 38%] Built target pcre\r\n> [ 38%] Built target pcre_jit_test\r\n> [ 38%] Built target pcrecpp\r\n> [ 38%] Built target pcre_scanner_unittest\r\n> [ 38%] Built target pcre_stringpiece_unittest\r\n> [ 38%] Built target pcrecpp_unittest\r\n> [ 38%] Built target pcreposix\r\n> [ 38%] Built target pcregrep\r\n> [ 38%] Built target pcretest\r\n> [ 38%] Built target gen-class-map\r\n> [ 38%] Built target gen-ext-hhvm\r\n> [ 38%] Built target gen-infotabs\r\n> [ 41%] Built target hphp_util\r\n> [ 41%] Built target hfsort\r\n> [ 41%] Built target jit_sort\r\n> [ 41%] Built target version\r\n> [ 41%] Built target hphp_system\r\n> [ 41%] Built target hphp_parser\r\n> [ 48%] Built target hphp_analysis\r\n> [ 48%] Built target hack\r\n> [ 50%] Built target hphp_hhbbc\r\n> [ 50%] Built target neo\r\n> [ 50%] Built target ALL_SCAN_HEADER\r\n> Scanning dependencies of target hphp_runtime_static\r\n> [ 50%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/base/heap-collect.cpp.o\r\n> Linking CXX static library libhphp_runtime.a\r\n> [ 76%] Built target hphp_runtime_static\r\n> [ 77%] Building CXX object hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/zip/ext_zip.cpp.o\r\n> /usr/local/hhvm/hphp/runtime/ext/zip/ext_zip.cpp: In member function ‘bool HPHP::ZipDirectory::close()’:\r\n> /usr/local/hhvm/hphp/runtime/ext/zip/ext_zip.cpp:234:26: error: ‘zip_discard’ was not declared in this scope\r\n>         zip_discard(m_zip);\r\n                          ^\r\n> make[2]: *** [hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/zip/ext_zip.cpp.o] Error 1\r\n> make[1]: *** [hphp/runtime/ext/CMakeFiles/hphp_runtime_ext.dir/all] Error 2\r\n> make: *** [all] Error 2\r\n\r\nIt fails to compile on that part.\r\nIm using the tutorial on howto compile it on CentOS 6.6\r\n\r\nCentOS 6.6 64bit\r\nGCC 4.9\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/hhvm/issues/comments/109071254","html_url":"https://github.com/facebook/hhvm/issues/5444#issuecomment-109071254","issue_url":"https://api.github.com/repos/facebook/hhvm/issues/5444","id":109071254,"user":{"login":"jwatzman","id":575697,"avatar_url":"https://avatars.githubusercontent.com/u/575697?v=3","gravatar_id":"","url":"https://api.github.com/users/jwatzman","html_url":"https://github.com/jwatzman","followers_url":"https://api.github.com/users/jwatzman/followers","following_url":"https://api.github.com/users/jwatzman/following{/other_user}","gists_url":"https://api.github.com/users/jwatzman/gists{/gist_id}","starred_url":"https://api.github.com/users/jwatzman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwatzman/subscriptions","organizations_url":"https://api.github.com/users/jwatzman/orgs","repos_url":"https://api.github.com/users/jwatzman/repos","events_url":"https://api.github.com/users/jwatzman/events{/privacy}","received_events_url":"https://api.github.com/users/jwatzman/received_events","type":"User","site_admin":false},"created_at":"2015-06-04T22:18:29Z","updated_at":"2015-06-04T22:18:29Z","body":"It sounds like something is quite broken, and potentially include directives are missing somewhere? You should not need to replace system libraries with versions from the HHVM repo."}}