{"action":"created","issue":{"url":"https://api.github.com/repos/kripken/emscripten/issues/3335","labels_url":"https://api.github.com/repos/kripken/emscripten/issues/3335/labels{/name}","comments_url":"https://api.github.com/repos/kripken/emscripten/issues/3335/comments","events_url":"https://api.github.com/repos/kripken/emscripten/issues/3335/events","html_url":"https://github.com/kripken/emscripten/issues/3335","id":67870576,"number":3335,"title":"Build error when using Runtime.generateStructInfo","user":{"login":"klaussilveira","id":467729,"avatar_url":"https://avatars.githubusercontent.com/u/467729?v=3","gravatar_id":"","url":"https://api.github.com/users/klaussilveira","html_url":"https://github.com/klaussilveira","followers_url":"https://api.github.com/users/klaussilveira/followers","following_url":"https://api.github.com/users/klaussilveira/following{/other_user}","gists_url":"https://api.github.com/users/klaussilveira/gists{/gist_id}","starred_url":"https://api.github.com/users/klaussilveira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klaussilveira/subscriptions","organizations_url":"https://api.github.com/users/klaussilveira/orgs","repos_url":"https://api.github.com/users/klaussilveira/repos","events_url":"https://api.github.com/users/klaussilveira/events{/privacy}","received_events_url":"https://api.github.com/users/klaussilveira/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-12T04:36:06Z","updated_at":"2015-04-12T22:41:25Z","closed_at":null,"body":"I'm getting the following build error when trying to build [quakejs](https://github.com/inolen/quakejs):\r\n\r\n    Exception message: \"TypeError: Object #<Object> has no method 'generateStructInfo'\" | TypeError: Object #<Object> has no method 'generateStructInfo'\r\n        at Object.eval (eval at <anonymous> (eval at globalEval (/var/dev/emscripten/src/compiler.js:105:8)), <anonymous>:54:25)\r\n        at Object.LibraryManager.load (eval at globalEval (/var/dev/emscripten/src/compiler.js:105:8), <anonymous>:474:9)\r\n        at JSify (eval at globalEval (/var/dev/emscripten/src/compiler.js:105:8), <anonymous>:71:20)\r\n        at runPhase (/var/dev/emscripten/src/compiler.js:298:5)\r\n        at compile (/var/dev/emscripten/src/compiler.js:318:5)\r\n        at Object.<anonymous> (/var/dev/emscripten/src/compiler.js:331:7)\r\n        at Module._compile (module.js:456:26)\r\n        at Object.Module._extensions..js (module.js:474:10)\r\n        at Module.load (module.js:356:32)\r\n        at Function.Module._load (module.js:312:12)\r\n    Traceback (most recent call last):\r\n      File \"/var/dev/emscripten/emscripten.py\", line 1691, in <module>\r\n        _main(environ=os.environ)\r\n      File \"/var/dev/emscripten/emscripten.py\", line 1679, in _main\r\n        temp_files.run_and_clean(lambda: main(\r\n      File \"/var/dev/emscripten/tools/tempfiles.py\", line 39, in run_and_clean\r\n        return func()\r\n      File \"/var/dev/emscripten/emscripten.py\", line 1687, in <lambda>\r\n        DEBUG_CACHE=DEBUG_CACHE,\r\n      File \"/var/dev/emscripten/emscripten.py\", line 1574, in main\r\n        jcache=jcache, temp_files=temp_files, DEBUG=DEBUG, DEBUG_CACHE=DEBUG_CACHE)\r\n      File \"/var/dev/emscripten/emscripten.py\", line 891, in emscript_fast\r\n        cwd=path_from_root('src'), error_limit=300)\r\n      File \"/var/dev/emscripten/tools/jsrun.py\", line 75, in run_js\r\n        raise Exception('Expected the command ' + str(command) + ' to finish with return code ' + str(assert_returncode) + ', but it returned with code ' + str(proc.returncode) + ' instead! Output: ' + str(ret)[:error_limit])\r\n\r\nThe code itself is simple:\r\n\r\n\tcb_context_t: Runtime.generateStructInfo([\r\n\t\t['void*', 'data'],\r\n\t\t['void*', 'cb']\r\n\t]),"},"comment":{"url":"https://api.github.com/repos/kripken/emscripten/issues/comments/92145530","html_url":"https://github.com/kripken/emscripten/issues/3335#issuecomment-92145530","issue_url":"https://api.github.com/repos/kripken/emscripten/issues/3335","id":92145530,"user":{"login":"kripken","id":173661,"avatar_url":"https://avatars.githubusercontent.com/u/173661?v=3","gravatar_id":"","url":"https://api.github.com/users/kripken","html_url":"https://github.com/kripken","followers_url":"https://api.github.com/users/kripken/followers","following_url":"https://api.github.com/users/kripken/following{/other_user}","gists_url":"https://api.github.com/users/kripken/gists{/gist_id}","starred_url":"https://api.github.com/users/kripken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kripken/subscriptions","organizations_url":"https://api.github.com/users/kripken/orgs","repos_url":"https://api.github.com/users/kripken/repos","events_url":"https://api.github.com/users/kripken/events{/privacy}","received_events_url":"https://api.github.com/users/kripken/received_events","type":"User","site_admin":false},"created_at":"2015-04-12T22:41:25Z","updated_at":"2015-04-12T22:41:25Z","body":"I'm afraid we don't support that version of emscripten anymore - anything using JSify has been deprecated. Perhaps it's best to update QuakeJS to latest emscripten?"}}