{"action":"created","issue":{"url":"https://api.github.com/repos/jsk-enshu/robot-programming/issues/242","repository_url":"https://api.github.com/repos/jsk-enshu/robot-programming","labels_url":"https://api.github.com/repos/jsk-enshu/robot-programming/issues/242/labels{/name}","comments_url":"https://api.github.com/repos/jsk-enshu/robot-programming/issues/242/comments","events_url":"https://api.github.com/repos/jsk-enshu/robot-programming/issues/242/events","html_url":"https://github.com/jsk-enshu/robot-programming/issues/242","id":359377738,"node_id":"MDU6SXNzdWUzNTkzNzc3Mzg=","number":242,"title":"dxl_armed_turtlebotのrun_dependにdynamixel_motor(metapackage)が入っている。","user":{"login":"708yamaguchi","id":19769486,"node_id":"MDQ6VXNlcjE5NzY5NDg2","avatar_url":"https://avatars0.githubusercontent.com/u/19769486?v=4","gravatar_id":"","url":"https://api.github.com/users/708yamaguchi","html_url":"https://github.com/708yamaguchi","followers_url":"https://api.github.com/users/708yamaguchi/followers","following_url":"https://api.github.com/users/708yamaguchi/following{/other_user}","gists_url":"https://api.github.com/users/708yamaguchi/gists{/gist_id}","starred_url":"https://api.github.com/users/708yamaguchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/708yamaguchi/subscriptions","organizations_url":"https://api.github.com/users/708yamaguchi/orgs","repos_url":"https://api.github.com/users/708yamaguchi/repos","events_url":"https://api.github.com/users/708yamaguchi/events{/privacy}","received_events_url":"https://api.github.com/users/708yamaguchi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-12T08:52:14Z","updated_at":"2018-09-12T12:47:30Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"@tongtybj\r\n\r\nmetapackageである`dynamixel_motor`がROSのworkspaceにソースで入っていると、`dxl_armed_turtlebot`のbuildがabandonします(aptで入っている場合は成功します)。以下に、その失敗コードを貼ります。\r\n```bash\r\n$ catkin build\r\n----------------------------------------------------------\r\nProfile:                     default\r\nExtending:          [cached] /opt/ros/indigo\r\nWorkspace:                   /home/leus/ros/indigo\r\n----------------------------------------------------------\r\nSource Space:       [exists] /home/leus/ros/indigo/src\r\nLog Space:          [exists] /home/leus/ros/indigo/logs\r\nBuild Space:        [exists] /home/leus/ros/indigo/build\r\nDevel Space:        [exists] /home/leus/ros/indigo/devel\r\nInstall Space:      [unused] /home/leus/ros/indigo/install\r\nDESTDIR:            [unused] None\r\n----------------------------------------------------------\r\nDevel Space Layout:          linked\r\nInstall Space Layout:        None\r\n----------------------------------------------------------\r\nAdditional CMake Args:       None\r\nAdditional Make Args:        None\r\nAdditional catkin Make Args: None\r\nInternal Make Job Server:    True\r\nCache Job Environments:      False\r\n----------------------------------------------------------\r\nWhitelisted Packages:        None\r\nBlacklisted Packages:        None\r\n----------------------------------------------------------\r\nWorkspace configuration appears valid.\r\n----------------------------------------------------------\r\n[build] Found '204' packages in 0.0 seconds.                                                                                                                           \r\n[build] Package table is up to date.                                                                                                                                   \r\nAbandoned <<< dxl_armed_turtlebot                         [ Depends on unknown jobs: dynamixel_motor ]                                                                 \r\nAbandoned <<< daisya_euslisp_tutorials                    [ Depends on unknown jobs: dynamixel_motor ]                                                                 \r\n```\r\n\r\n調べてみると、metapackageがpackage.xmlのrun_dependに入っていることが悪さをしているようで、package.xmlのdependencyにはmetapackageではなく依存しているpackageそのものを書かなければならないらしいです。\r\n問題コード\r\nhttps://github.com/jsk-enshu/robot-programming/blob/master/dxl_armed_turtlebot/package.xml#L23\r\n参考\r\nhttps://github.com/ros/catkin/issues/824\r\nhttp://www.ros.org/reps/rep-0127.html#metapackage\r\n\r\nここからが本題なのですが、`dxl_armed_turtlebot`のpackage.xmlのrun_dependから`dynamixel_motor`を抜いた場合、他に依存関係を記述しなければならないpackageをご存知でしょうか。\r\nちなみに、run_dependから`dynamixel_motor`を抜いた状態でcatkin_buildすると、ソースでdynamixel_motorが入っていてもbuildに成功します。\r\nお手数をお掛けしますが、お時間のあるときにでもご回答のほどよろしくお願いいたします。"},"comment":{"url":"https://api.github.com/repos/jsk-enshu/robot-programming/issues/comments/420635165","html_url":"https://github.com/jsk-enshu/robot-programming/issues/242#issuecomment-420635165","issue_url":"https://api.github.com/repos/jsk-enshu/robot-programming/issues/242","id":420635165,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDYzNTE2NQ==","user":{"login":"tongtybj","id":3666095,"node_id":"MDQ6VXNlcjM2NjYwOTU=","avatar_url":"https://avatars0.githubusercontent.com/u/3666095?v=4","gravatar_id":"","url":"https://api.github.com/users/tongtybj","html_url":"https://github.com/tongtybj","followers_url":"https://api.github.com/users/tongtybj/followers","following_url":"https://api.github.com/users/tongtybj/following{/other_user}","gists_url":"https://api.github.com/users/tongtybj/gists{/gist_id}","starred_url":"https://api.github.com/users/tongtybj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tongtybj/subscriptions","organizations_url":"https://api.github.com/users/tongtybj/orgs","repos_url":"https://api.github.com/users/tongtybj/repos","events_url":"https://api.github.com/users/tongtybj/events{/privacy}","received_events_url":"https://api.github.com/users/tongtybj/received_events","type":"User","site_admin":false},"created_at":"2018-09-12T12:47:30Z","updated_at":"2018-09-12T12:47:30Z","author_association":"COLLABORATOR","body":"敢えて、dynaxmielをソースから入れる学生がいると仮定するなら、それでいいかもしれないが、\r\n rosdep installから入れる学生が49/50ぐらいなので、metapackageに含まれるros packageを全部記入しないとaptからinstallされません(dynamixel_tutorialsは要らない)。"}}
{"actor":{"display_login":"tongtybj"}}