{"action":"created","issue":{"url":"https://api.github.com/repos/guedou/r2m2/issues/32","repository_url":"https://api.github.com/repos/guedou/r2m2","labels_url":"https://api.github.com/repos/guedou/r2m2/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/guedou/r2m2/issues/32/comments","events_url":"https://api.github.com/repos/guedou/r2m2/issues/32/events","html_url":"https://github.com/guedou/r2m2/issues/32","id":327451367,"node_id":"MDU6SXNzdWUzMjc0NTEzNjc=","number":32,"title":"Error during the compilation","user":{"login":"alexandreborges","id":13165245,"node_id":"MDQ6VXNlcjEzMTY1MjQ1","avatar_url":"https://avatars1.githubusercontent.com/u/13165245?v=4","gravatar_id":"","url":"https://api.github.com/users/alexandreborges","html_url":"https://github.com/alexandreborges","followers_url":"https://api.github.com/users/alexandreborges/followers","following_url":"https://api.github.com/users/alexandreborges/following{/other_user}","gists_url":"https://api.github.com/users/alexandreborges/gists{/gist_id}","starred_url":"https://api.github.com/users/alexandreborges/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexandreborges/subscriptions","organizations_url":"https://api.github.com/users/alexandreborges/orgs","repos_url":"https://api.github.com/users/alexandreborges/repos","events_url":"https://api.github.com/users/alexandreborges/events{/privacy}","received_events_url":"https://api.github.com/users/alexandreborges/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-29T19:13:40Z","updated_at":"2018-05-31T14:15:09Z","closed_at":null,"author_association":"NONE","body":"Dear developers,\r\n\r\nGood morning. How are you?\r\n\r\nUnfortunately, I haven't gotten correctly compiling the r2m2  as shown below:\r\n\r\nroot@ubuntu1:~/r2m2# **make all install**\r\n\r\npython tools/gen_includes.py /usr/include/libr\r\npython tools/cffi_miasm.py r2m2_ad\r\nTraceback (most recent call last):\r\n  File \"tools/cffi_miasm.py\", line 31, in <module>\r\n    ffi.embedding_api(includes)\r\n  File \"/usr/local/lib/python2.7/dist-packages/cffi/api.py\", line 110, in embedding_api\r\n    self._cdef(csource, packed=packed, dllexport=True)\r\n  File \"/usr/local/lib/python2.7/dist-packages/cffi/api.py\", line 121, in _cdef\r\n    self._parser.parse(csource, override=override, **options)\r\n  File \"/usr/local/lib/python2.7/dist-packages/cffi/cparser.py\", line 315, in parse\r\n    self._internal_parse(csource)\r\n  File \"/usr/local/lib/python2.7/dist-packages/cffi/cparser.py\", line 320, in _internal_parse\r\n    ast, macros, csource = self._parse(csource)\r\n  File \"/usr/local/lib/python2.7/dist-packages/cffi/cparser.py\", line 278, in _parse\r\n    self.convert_pycparser_error(e, csource)\r\n  File \"/usr/local/lib/python2.7/dist-packages/cffi/cparser.py\", line 307, in convert_pycparser_error\r\n    **raise CDefError(msg)\r\ncffi.error.CDefError: cannot parse \"RBuffer *buf_inc;\"\r\n<cdef source string>:14:2: before: RBuffer\r\nMakefile:47: recipe for target 'miasm_embedded_r2m2_ad.c' failed\r\nmake: *** [miasm_embedded_r2m2_ad.c] Error 1**\r\n\r\nThis error occurs using **Ubuntu 16.04.1 and Kali Linux 2018**. The same error also happen when I tried do build the docker using \"**docker build -t guedou/r2m2  .**\".  All requirements (radare2, miasm, cffi, pycparser and jinja2) are installed. \r\n\r\nAdditionally, I've tried changing the  cffi and pycparser versions, but I've gotten the same error.\r\n\r\nI hope you have an amazing day. \r\n\r\nAlexandre."},"comment":{"url":"https://api.github.com/repos/guedou/r2m2/issues/comments/393544472","html_url":"https://github.com/guedou/r2m2/issues/32#issuecomment-393544472","issue_url":"https://api.github.com/repos/guedou/r2m2/issues/32","id":393544472,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzU0NDQ3Mg==","user":{"login":"guedou","id":11683796,"node_id":"MDQ6VXNlcjExNjgzNzk2","avatar_url":"https://avatars1.githubusercontent.com/u/11683796?v=4","gravatar_id":"","url":"https://api.github.com/users/guedou","html_url":"https://github.com/guedou","followers_url":"https://api.github.com/users/guedou/followers","following_url":"https://api.github.com/users/guedou/following{/other_user}","gists_url":"https://api.github.com/users/guedou/gists{/gist_id}","starred_url":"https://api.github.com/users/guedou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guedou/subscriptions","organizations_url":"https://api.github.com/users/guedou/orgs","repos_url":"https://api.github.com/users/guedou/repos","events_url":"https://api.github.com/users/guedou/events{/privacy}","received_events_url":"https://api.github.com/users/guedou/received_events","type":"User","site_admin":false},"created_at":"2018-05-31T14:15:09Z","updated_at":"2018-05-31T14:15:09Z","author_association":"OWNER","body":"Thanks for reporting the issue. Your bug is likely related to the fact that r2m2 is not compatible with radare2 >= 1.6.0. I am planning to update it in June or July depending on my schedule.\r\n\r\nIn the meantime, I will suggest that you use the pre-build docker image https://github.com/guedou/r2m2#testing-r2m2"}}
{"actor":{"display_login":"guedou"}}