{"action":"created","issue":{"url":"https://api.github.com/repos/ArduPilot/ardupilot/issues/4580","repository_url":"https://api.github.com/repos/ArduPilot/ardupilot","labels_url":"https://api.github.com/repos/ArduPilot/ardupilot/issues/4580/labels{/name}","comments_url":"https://api.github.com/repos/ArduPilot/ardupilot/issues/4580/comments","events_url":"https://api.github.com/repos/ArduPilot/ardupilot/issues/4580/events","html_url":"https://github.com/ArduPilot/ardupilot/issues/4580","id":168510321,"number":4580,"title":"WAF: compilation database empty","user":{"login":"khancyr","id":705341,"avatar_url":"https://avatars.githubusercontent.com/u/705341?v=3","gravatar_id":"","url":"https://api.github.com/users/khancyr","html_url":"https://github.com/khancyr","followers_url":"https://api.github.com/users/khancyr/followers","following_url":"https://api.github.com/users/khancyr/following{/other_user}","gists_url":"https://api.github.com/users/khancyr/gists{/gist_id}","starred_url":"https://api.github.com/users/khancyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khancyr/subscriptions","organizations_url":"https://api.github.com/users/khancyr/orgs","repos_url":"https://api.github.com/users/khancyr/repos","events_url":"https://api.github.com/users/khancyr/events{/privacy}","received_events_url":"https://api.github.com/users/khancyr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ArduPilot/ardupilot/labels/BUG","name":"BUG","color":"fc2929"},{"url":"https://api.github.com/repos/ArduPilot/ardupilot/labels/BuildSystem","name":"BuildSystem","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-31T09:46:07Z","updated_at":"2016-07-31T12:59:31Z","closed_at":null,"body":"@guludo \r\nHi,\r\n\r\nIt seems that compilation database is always empty . \r\nI try on master, on ubuntu 16.04, gcc 5.4.0 , with or without ninja-build (1.5.1)\r\nI try on another project using gcc and cmake, and it works well, so it seems to be something in ardupilot build. "},"comment":{"url":"https://api.github.com/repos/ArduPilot/ardupilot/issues/comments/236428657","html_url":"https://github.com/ArduPilot/ardupilot/issues/4580#issuecomment-236428657","issue_url":"https://api.github.com/repos/ArduPilot/ardupilot/issues/4580","id":236428657,"user":{"login":"khancyr","id":705341,"avatar_url":"https://avatars.githubusercontent.com/u/705341?v=3","gravatar_id":"","url":"https://api.github.com/users/khancyr","html_url":"https://github.com/khancyr","followers_url":"https://api.github.com/users/khancyr/followers","following_url":"https://api.github.com/users/khancyr/following{/other_user}","gists_url":"https://api.github.com/users/khancyr/gists{/gist_id}","starred_url":"https://api.github.com/users/khancyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khancyr/subscriptions","organizations_url":"https://api.github.com/users/khancyr/orgs","repos_url":"https://api.github.com/users/khancyr/repos","events_url":"https://api.github.com/users/khancyr/events{/privacy}","received_events_url":"https://api.github.com/users/khancyr/received_events","type":"User","site_admin":false},"created_at":"2016-07-31T12:59:31Z","updated_at":"2016-07-31T12:59:31Z","body":"I use python 2.7.12 . I don't know if it is relate but in config.log there is and error in python check \r\n````\r\n['/usr/bin/python', '-c', 'import imp;print(imp.get_tag())']\r\nerr: Traceback (most recent call last):\r\n  File \"<string>\", line 1, in <module>\r\nAttributeError: 'module' object has no attribute 'get_tag'\r\n````\r\nbut it is python related : https://github.com/waf-project/waf/blob/850e9ad5fcdd3d0216298c4d2a990df27b196ef0/waflib/Tools/python.py#L595"}}
{"actor":{"display_login":"khancyr"}}