{"action":"created","issue":{"url":"https://api.github.com/repos/ament/ament_package/issues/31","labels_url":"https://api.github.com/repos/ament/ament_package/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/ament/ament_package/issues/31/comments","events_url":"https://api.github.com/repos/ament/ament_package/issues/31/events","html_url":"https://github.com/ament/ament_package/issues/31","id":120040805,"number":31,"title":"the INCLUDE_DIRS generated by ament_package are duplicated","user":{"login":"tfoote","id":447804,"avatar_url":"https://avatars.githubusercontent.com/u/447804?v=3","gravatar_id":"","url":"https://api.github.com/users/tfoote","html_url":"https://github.com/tfoote","followers_url":"https://api.github.com/users/tfoote/followers","following_url":"https://api.github.com/users/tfoote/following{/other_user}","gists_url":"https://api.github.com/users/tfoote/gists{/gist_id}","starred_url":"https://api.github.com/users/tfoote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfoote/subscriptions","organizations_url":"https://api.github.com/users/tfoote/orgs","repos_url":"https://api.github.com/users/tfoote/repos","events_url":"https://api.github.com/users/tfoote/events{/privacy}","received_events_url":"https://api.github.com/users/tfoote/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ament/ament_package/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"dirk-thomas","id":1335366,"avatar_url":"https://avatars.githubusercontent.com/u/1335366?v=3","gravatar_id":"","url":"https://api.github.com/users/dirk-thomas","html_url":"https://github.com/dirk-thomas","followers_url":"https://api.github.com/users/dirk-thomas/followers","following_url":"https://api.github.com/users/dirk-thomas/following{/other_user}","gists_url":"https://api.github.com/users/dirk-thomas/gists{/gist_id}","starred_url":"https://api.github.com/users/dirk-thomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dirk-thomas/subscriptions","organizations_url":"https://api.github.com/users/dirk-thomas/orgs","repos_url":"https://api.github.com/users/dirk-thomas/repos","events_url":"https://api.github.com/users/dirk-thomas/events{/privacy}","received_events_url":"https://api.github.com/users/dirk-thomas/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-12-02T21:34:19Z","updated_at":"2015-12-03T00:39:09Z","closed_at":null,"body":"I added the following debug message\r\n\r\nI'm using \r\n```\r\ncmake_minimum_required(VERSION 2.8.3)\r\nproject(tf2)\r\n\r\nfind_package(ament_cmake)\r\nfind_package(geometry_msgs REQUIRED)\r\n\r\nmessage(WARNING \"geometry_msgs_INCLUDE_DIRS is: [[${geometry_msgs_INCLUDE_DIRS}]]\")\r\n```\r\n\r\nAnd it appears that the geometry_msgs_INCLUDE_DIRS has 3 identical entries. \r\n\r\n```\r\nCMake Warning at CMakeLists.txt:16 (message):\r\n  geometry_msgs_INCLUDE_DIRS is:\r\n  [[/home/tfoote/work/ros2/tf3/install/include;/home/tfoote/work/ros2/tf3/install/include;/home/tfoote/work/ros2/tf3/install/include]]\r\n```"},"comment":{"url":"https://api.github.com/repos/ament/ament_package/issues/comments/161478613","html_url":"https://github.com/ament/ament_package/issues/31#issuecomment-161478613","issue_url":"https://api.github.com/repos/ament/ament_package/issues/31","id":161478613,"user":{"login":"dirk-thomas","id":1335366,"avatar_url":"https://avatars.githubusercontent.com/u/1335366?v=3","gravatar_id":"","url":"https://api.github.com/users/dirk-thomas","html_url":"https://github.com/dirk-thomas","followers_url":"https://api.github.com/users/dirk-thomas/followers","following_url":"https://api.github.com/users/dirk-thomas/following{/other_user}","gists_url":"https://api.github.com/users/dirk-thomas/gists{/gist_id}","starred_url":"https://api.github.com/users/dirk-thomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dirk-thomas/subscriptions","organizations_url":"https://api.github.com/users/dirk-thomas/orgs","repos_url":"https://api.github.com/users/dirk-thomas/repos","events_url":"https://api.github.com/users/dirk-thomas/events{/privacy}","received_events_url":"https://api.github.com/users/dirk-thomas/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T00:39:09Z","updated_at":"2015-12-03T00:39:09Z","body":"`ament_package` is a pure Python package parsing manifest file. This belong in the `ament_cmake` repo since it is a CMake specific problem.\r\n\r\nSince the exported information of each package in the generated CMake code look reasonable (without duplicates) it is likely related to aggregating information from recursive dependencies: https://github.com/ament/ament_cmake/blob/master/ament_cmake_export_dependencies/cmake/ament_cmake_export_dependencies-extras.cmake.in\r\nPR ament/ament_cmake#47 should get rid of these duplicates."}}