{"action":"created","issue":{"url":"https://api.github.com/repos/kripken/emscripten/issues/6222","repository_url":"https://api.github.com/repos/kripken/emscripten","labels_url":"https://api.github.com/repos/kripken/emscripten/issues/6222/labels{/name}","comments_url":"https://api.github.com/repos/kripken/emscripten/issues/6222/comments","events_url":"https://api.github.com/repos/kripken/emscripten/issues/6222/events","html_url":"https://github.com/kripken/emscripten/pull/6222","id":295919146,"number":6222,"title":"Add harfbuzz","user":{"login":"ebraminio","id":833473,"avatar_url":"https://avatars2.githubusercontent.com/u/833473?v=4","gravatar_id":"","url":"https://api.github.com/users/ebraminio","html_url":"https://github.com/ebraminio","followers_url":"https://api.github.com/users/ebraminio/followers","following_url":"https://api.github.com/users/ebraminio/following{/other_user}","gists_url":"https://api.github.com/users/ebraminio/gists{/gist_id}","starred_url":"https://api.github.com/users/ebraminio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebraminio/subscriptions","organizations_url":"https://api.github.com/users/ebraminio/orgs","repos_url":"https://api.github.com/users/ebraminio/repos","events_url":"https://api.github.com/users/ebraminio/events{/privacy}","received_events_url":"https://api.github.com/users/ebraminio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-09T15:58:53Z","updated_at":"2018-02-13T09:36:37Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/kripken/emscripten/pulls/6222","html_url":"https://github.com/kripken/emscripten/pull/6222","diff_url":"https://github.com/kripken/emscripten/pull/6222.diff","patch_url":"https://github.com/kripken/emscripten/pull/6222.patch"},"body":"Honestly I can not run this right now but lets see where we can go from this :)\r\n\r\nMaybe unlike other projects, as a maintainer on harfbuzz I like to offer in-tree support for emscripten instead hard forking harfbuzz on emscripten-ports, we have already a CI bot just to compile harfbuzz against emscripten, if we couldn't go this way however, I already am granted access to https://github.com/emscripten-ports/HarfBuzz and can use it for patches (or release files) can not put on upstream.\r\n\r\nAnd hopefully to close #4754"},"comment":{"url":"https://api.github.com/repos/kripken/emscripten/issues/comments/365206835","html_url":"https://github.com/kripken/emscripten/pull/6222#issuecomment-365206835","issue_url":"https://api.github.com/repos/kripken/emscripten/issues/6222","id":365206835,"user":{"login":"ebraminio","id":833473,"avatar_url":"https://avatars2.githubusercontent.com/u/833473?v=4","gravatar_id":"","url":"https://api.github.com/users/ebraminio","html_url":"https://github.com/ebraminio","followers_url":"https://api.github.com/users/ebraminio/followers","following_url":"https://api.github.com/users/ebraminio/following{/other_user}","gists_url":"https://api.github.com/users/ebraminio/gists{/gist_id}","starred_url":"https://api.github.com/users/ebraminio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebraminio/subscriptions","organizations_url":"https://api.github.com/users/ebraminio/orgs","repos_url":"https://api.github.com/users/ebraminio/repos","events_url":"https://api.github.com/users/ebraminio/events{/privacy}","received_events_url":"https://api.github.com/users/ebraminio/received_events","type":"User","site_admin":false},"created_at":"2018-02-13T09:36:37Z","updated_at":"2018-02-13T09:36:37Z","author_association":"NONE","body":"Using the same version of brew installed emscripten so no longer clang incompatibility but still `tmp` file creation error.\r\n\r\n```\r\n➜  emscripten git:(279e6a0) ✗ EMCC_DEBUG=1 ./embuilder.py build harfbuzz\r\nDEBUG:root:PYTHON not defined in /Users/ebrahim/.emscripten, using \"/usr/local/opt/python/bin/python2.7\"\r\nDEBUG:root:Cache: PID 49135 acquiring multiprocess file lock to Emscripten cache at /Users/ebrahim/.emscripten_cache\r\nDEBUG:root:Cache: done\r\nDEBUG:root:Cache: PID 49135 released multiprocess file lock to Emscripten cache at /Users/ebrahim/.emscripten_cache\r\nDEBUG:root:check tells us to use asm.js backend\r\nINFO:root:building and verifying harfbuzz\r\nDEBUG:root:PYTHON not defined in /Users/ebrahim/.emscripten, using \"/usr/local/opt/python/bin/python2.7\"\r\nDEBUG:root:Cache: PID 49137 acquiring multiprocess file lock to Emscripten cache at /Users/ebrahim/.emscripten_cache\r\nDEBUG:root:Cache: done\r\nDEBUG:root:Cache: PID 49137 released multiprocess file lock to Emscripten cache at /Users/ebrahim/.emscripten_cache\r\nDEBUG:root:check tells us to use asm.js backend\r\nWARNING:root:invocation: /Users/ebrahim/Desktop/emscripten/emcc /tmp/emscripten_temp/tmpcLj8pW.cpp -s USE_HARFBUZZ=1 -o /tmp/emscripten_temp/tmpolxSdD.js  (in /Users/ebrahim/Desktop/emscripten)\r\nDEBUG:root:Checking JS engine ['/usr/local/bin/node']\r\nINFO:root:(Emscripten: Running sanity checks)\r\nDEBUG:root:compiling to bitcode\r\nDEBUG:root:emcc step \"parse arguments and setup\" took 1.27 seconds\r\nDEBUG:root:compiling source file: /tmp/emscripten_temp/tmpcLj8pW.cpp\r\nDEBUG:root:including port: harfbuzz\r\nDEBUG:root:    (at /Users/ebrahim/.emscripten_ports/harfbuzz)\r\nDEBUG:root:Cache: PID 49137 acquiring multiprocess file lock to Emscripten cache at /Users/ebrahim/.emscripten_cache/asmjs\r\nDEBUG:root:Cache: done\r\nDEBUG:root:Cache: PID 49137 released multiprocess file lock to Emscripten cache at /Users/ebrahim/.emscripten_cache/asmjs\r\nDEBUG:root:Cache: PID 49137 acquiring multiprocess file lock to Emscripten cache at /Users/ebrahim/.emscripten_cache/asmjs\r\nDEBUG:root:Cache: done\r\nINFO:root:generating port: harfbuzz.bc... (this will be cached in \"/Users/ebrahim/.emscripten_cache/asmjs/harfbuzz.bc\" for subsequent builds)\r\nINFO:root:building port: harfbuzz\r\nDEBUG:root:Cache: PID 49137 released multiprocess file lock to Emscripten cache at /Users/ebrahim/.emscripten_cache/asmjs\r\nTraceback (most recent call last):\r\n  File \"/Users/ebrahim/Desktop/emscripten/emcc\", line 13, in <module>\r\n    emcc.run()\r\n  File \"/Users/ebrahim/Desktop/emscripten/emcc.py\", line 1395, in run\r\n    compile_source_file(i, input_file)\r\n  File \"/Users/ebrahim/Desktop/emscripten/emcc.py\", line 1385, in compile_source_file\r\n    args = get_bitcode_args([input_file]) + ['-emit-llvm', '-c', '-o', output_file]\r\n  File \"/Users/ebrahim/Desktop/emscripten/emcc.py\", line 1368, in get_bitcode_args\r\n    args = system_libs.process_args(args, shared.Settings)\r\n  File \"/Users/ebrahim/Desktop/emscripten/tools/system_libs.py\", line 745, in process_args\r\n    args = port.process_args(Ports, args, settings, shared)\r\n  File \"/Users/ebrahim/Desktop/emscripten/tools/ports/harfbuzz.py\", line 33, in process_args\r\n    get(ports, settings, shared)\r\n  File \"/Users/ebrahim/Desktop/emscripten/tools/ports/harfbuzz.py\", line 21, in get\r\n    return [shared.Cache.get('harfbuzz', create, what='port')]\r\n  File \"/Users/ebrahim/Desktop/emscripten/tools/cache.py\", line 101, in get\r\n    temp = creator()\r\n  File \"/Users/ebrahim/Desktop/emscripten/tools/ports/harfbuzz.py\", line 15, in create\r\n    shutil.copytree(source_path, dest_path)\r\n  File \"/usr/local/Cellar/python/2.7.14_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py\", line 185, in copytree\r\n    names = os.listdir(src)\r\nOSError: [Errno 2] No such file or directory: '/Users/ebrahim/.emscripten_ports/harfbuzz/harfbuzz-1.7.5'\r\nTraceback (most recent call last):\r\n  File \"./embuilder.py\", line 245, in <module>\r\n    build_port('harfbuzz', 'libharfbuzz.a', ['-s', 'USE_HARFBUZZ=1'])\r\n  File \"./embuilder.py\", line 136, in build_port\r\n    build(C_BARE, [os.path.join('ports-builds', port_name, lib_name)] if lib_name else None, params)\r\n  File \"./embuilder.py\", line 126, in build\r\n    shared.Building.emcc(temp, args, output_filename=temp_js)\r\n  File \"/Users/ebrahim/Desktop/emscripten/tools/shared.py\", line 2062, in emcc\r\n    assert os.path.exists(output_filename), 'emcc could not create output file: ' + output_filename\r\nAssertionError: emcc could not create output file: /tmp/emscripten_temp/tmpolxSdD.js\r\n```"}}
{"actor":{"display_login":"ebraminio"}}