Open wkentaro opened 8 years ago
==> Expanding alias 'b' from 'catkin b jsk_robot_startup --summary --no-status --no-color' to 'catkin build jsk_robot_startup --summary --no-status --no-color'
--------------------------------------------------------------
Profile: default
Extending: [cached] /opt/ros/indigo
Workspace: /home/wkentaro/ros/indigo
--------------------------------------------------------------
Source Space: [exists] /home/wkentaro/ros/indigo/src
Log Space: [exists] /home/wkentaro/ros/indigo/logs
Build Space: [exists] /home/wkentaro/ros/indigo/build
Devel Space: [exists] /home/wkentaro/ros/indigo/devel
Install Space: [unused] /home/wkentaro/ros/indigo/install
DESTDIR: [unused] None
--------------------------------------------------------------
Devel Space Layout: linked
Install Space Layout: None
--------------------------------------------------------------
Additional CMake Args: None
Additional Make Args: None
Additional catkin Make Args: None
Internal Make Job Server: True
Cache Job Environments: False
--------------------------------------------------------------
Whitelisted Packages: None
Blacklisted Packages: None
--------------------------------------------------------------
Workspace configuration appears valid.
--------------------------------------------------------------
[build] Found '134' packages in 0.0 seconds.
[build] Package table is up to date.
Starting >>> roseus
Finished <<< roseus [ 0.2 seconds ]
Starting >>> jsk_robot_startup
_______________________________________________________________________________
Errors << jsk_robot_startup:cmake /home/wkentaro/ros/indigo/logs/jsk_robot_startup/build.cmake.005.log
CMake Error at /opt/ros/indigo/share/dynamic_reconfigure/cmake/dynamic_reconfigure-macros.cmake:71 (add_custom_target):
add_custom_target cannot create target "jsk_robot_startup_gencfg" because
another target with the same name already exists. The existing target is a
custom target created in source directory
"/home/wkentaro/ros/indigo/src/jsk-ros-pkg/jsk_robot/jsk_robot_common/jsk_robot_startup".
See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
CMakeLists.txt:17 (generate_dynamic_reconfigure_options)
cd /home/wkentaro/ros/indigo/build/jsk_robot_startup; catkin build --get-env jsk_robot_startup | catkin env -si /usr/bin/cmake /home/wkentaro/ros/indigo/src/jsk-ros-pkg/jsk_robot/jsk_robot_common/jsk_robot_startup --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/wkentaro/ros/indigo/devel/.private/jsk_robot_startup -DCMAKE_INSTALL_PREFIX=/home/wkentaro/ros/indigo/install; cd -
...............................................................................
Failed << jsk_robot_startup:cmake [ Exited with code 1 ]
Failed <<< jsk_robot_startup [ 1.0 seconds ]
[build] Successful packages:
[ Ignored] baxter_common
[ Ignored] baxter_core_msgs
[ Ignored] baxter_description
[ Ignored] baxter_examples
[ Ignored] baxter_gazebo
[ Ignored] baxter_in_bin_recognition
[ Ignored] baxter_interface
[ Ignored] baxter_loop_fold_verify
[ Ignored] baxter_maintenance_msgs
[ Ignored] baxter_sdk
[ Ignored] baxter_sim_controllers
[ Ignored] baxter_sim_examples
[ Ignored] baxter_sim_hardware
[ Ignored] baxter_sim_io
[ Ignored] baxter_sim_kinematics
[ Ignored] baxter_simulator
[ Ignored] baxter_tools
[ Ignored] baxtereus
[ Ignored] camera_calibration
[ Ignored] checkerboard_detector
[ Ignored] cv_bridge
[ Ignored] depth_image_proc
[ Ignored] dynamic_tf_publisher
[ Ignored] eus_assimp
[ Ignored] euscollada
[ Ignored] eusurdf
[ Ignored] fetch_calibration
[ Ignored] fetch_depth_layer
[ Ignored] fetch_description
[ Ignored] fetch_gazebo
[ Ignored] fetch_gazebo_demo
[ Ignored] fetch_maps
[ Ignored] fetch_moveit_config
[ Ignored] fetch_navigation
[ Ignored] fetch_teleop
[ Ignored] fetcheus
[ Ignored] gazebo_msgs
[ Ignored] gazebo_plugins
[ Ignored] gazebo_ros
[ Ignored] gazebo_ros_control
[ Ignored] gazebo_ros_pkgs
[ Ignored] gazebo_tutorials
[ Ignored] handle_moving_object
[ Ignored] image_geometry
[ Ignored] image_pipeline
[ Ignored] image_proc
[ Ignored] image_rotate
[ Ignored] image_view
[ Ignored] image_view2
[ Ignored] imagesift
[ Ignored] jsk_201504_miraikan
[ Ignored] jsk_2015_05_baxter_apc
[ Ignored] jsk_201604_cmo
[ Ignored] jsk_2016_01_baxter_apc
[ Ignored] jsk_apc
[ Ignored] jsk_apc2015_common
[ Ignored] jsk_apc2016_common
[ Ignored] jsk_baxter_desktop
[ Ignored] jsk_baxter_startup
[ Ignored] jsk_baxter_web
[ Ignored] jsk_common
[ Ignored] jsk_data
[ Ignored] jsk_fetch_startup
[ Ignored] jsk_interactive
[ Ignored] jsk_interactive_marker
[ Ignored] jsk_interactive_test
[ Ignored] jsk_model_tools
[ Ignored] jsk_nao_startup
[ Ignored] jsk_network_tools
[ Ignored] jsk_pcl_ros
[ Ignored] jsk_pcl_ros_utils
[ Ignored] jsk_pepper_startup
[ Ignored] jsk_perception
[ Ignored] jsk_pr2_calibration
[ Ignored] jsk_pr2_startup
[ Ignored] jsk_recognition
[ Ignored] jsk_recognition_msgs
[ Ignored] jsk_recognition_utils
[ Ignored] jsk_robot
[ Ignored] jsk_robot_utils
[ Ignored] jsk_roseus
[ Ignored] jsk_rqt_plugins
[ Ignored] jsk_rviz_plugins
[ Ignored] jsk_tilt_laser
[ Ignored] jsk_tools
[ Ignored] jsk_topic_tools
[ Ignored] jsk_visualization
[ Ignored] kinect_tabletop_clatter_environment
[ Ignored] multi_map_server
[ Ignored] naoeus
[ Ignored] naoqieus
[ Ignored] opencv_apps
[ Ignored] opencv_tests
[ Ignored] peppereus
[ Ignored] pr2_base_trajectory_action
[ Ignored] resized_image_transport
[ Ignored] rethink_ee_description
[Successful] roseus
[ Ignored] roseus_mongo
[ Ignored] roseus_remote
[ Ignored] roseus_smach
[ Ignored] roseus_tutorials
[ Ignored] rospy_service_experiment
[ Ignored] rqt_action
[ Ignored] rqt_bag
[ Ignored] rqt_bag_plugins
[ Ignored] rqt_common_plugins
[ Ignored] rqt_console
[ Ignored] rqt_dep
[ Ignored] rqt_graph
[ Ignored] rqt_image_view
[ Ignored] rqt_launch
[ Ignored] rqt_logger_level
[ Ignored] rqt_msg
[ Ignored] rqt_plot
[ Ignored] rqt_publisher
[ Ignored] rqt_py_common
[ Ignored] rqt_py_console
[ Ignored] rqt_reconfigure
[ Ignored] rqt_service_caller
[ Ignored] rqt_shell
[ Ignored] rqt_srv
[ Ignored] rqt_top
[ Ignored] rqt_topic
[ Ignored] rqt_web
[ Ignored] rrbot_control
[ Ignored] rrbot_description
[ Ignored] rrbot_gazebo
[ Ignored] stereo_image_proc
[ Ignored] virtual_force_publisher
[ Ignored] vision_opencv
[ Ignored] wkentaro_ros_pkg
[ Ignored] wkentaro_tools
[build] Failed packages:
[ Failed] jsk_robot_startup
[build] Summary: 1 of 2 packages succeeded.
[build] Ignored: 132 packages were skipped or are blacklisted.
[build] Warnings: None.
[build] Abandoned: No packages were abandoned.
[build] Failed: 1 packages failed.
[build] Runtime: 1.9 seconds total.
is this related to jsk_robot_startup_gencfg ? how about grep -ri jsk_robot_startup_gencfg build logs
◉ Kei Okada
% grep -ri jsk_robot_startup_gencfg build
build/build_logs/jsk_robot_startup.log: add_custom_target cannot create target "jsk_robot_startup_gencfg" because
build/jsk_robot_startup/catkin_generated/installspace/jsk_robot_startupConfig.cmake:set(jsk_robot_startup_EXPORTED_TARGETS "jsk_robot_startup_gencfg")
% grep -ri jsk_robot_startup_gencfg devel
devel/share/jsk_robot_startup/cmake/jsk_robot_startupConfig.cmake:set(jsk_robot_startup_EXPORTED_TARGETS "jsk_robot_startup_gencfg")
I have the same problem. Is this solved?
devel/share/jsk_robot_startup/cmake/jsk_robot_startupConfig.cmake is called from roseus/cmake/roseus.cmake:90
find_package(${_pkg} QUIET) ## this may fail
please provide all output messages, you can use gist.github.com
◉ Kei Okada
2016-09-23 17:37 GMT+09:00 Bando Masahiro notifications@github.com:
I have the same problem. Is this solved?
devel/share/jsk_robot_startup/cmake/jsk_robot_startupConfig.cmake is called from roseus/cmake/roseus.cmake:90
find_package(${_pkg} QUIET) ## this may fail
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jsk-ros-pkg/jsk_robot/issues/597#issuecomment-249135148, or mute the thread https://github.com/notifications/unsubscribe-auth/AAeG3PNb1sPkLBmnBKgOTvBmHbr2Tsz_ks5qs4_WgaJpZM4IUClK .
These are output logs. catkin build log of jsk_robot_startup https://gist.github.com/ban-masa/db0eb7c46c4a6c433d10ad286196c25e
manually cmake log with debug option CMAKE_FIND_DEBUG_MODE https://gist.github.com/ban-masa/9249f3ad4e8d255748dc59d2cffedaaf
please re-run catkin bt after rm -fr ~/ros/indigo/build/jsk_robot_startup ~/ros/indigo/build/roseus
◉ Kei Okada
2016-09-23 18:05 GMT+09:00 Bando Masahiro notifications@github.com:
These are output logs. catkin build log of jsk_robot_startup https://gist.github.com/ban-masa/db0eb7c46c4a6c433d10ad286196c25e
manually cmake log with debug option CMAKE_FIND_DEBUG_MODE https://gist.github.com/ban-masa/9249f3ad4e8d255748dc59d2cffedaaf
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jsk-ros-pkg/jsk_robot/issues/597#issuecomment-249140861, or mute the thread https://github.com/notifications/unsubscribe-auth/AAeG3FxJZLwfM7GHuO1WH9Crog-9ESnlks5qs5ZqgaJpZM4IUClK .
re-run catkin bt after removed build/jsk_robot_startup and build/roseus https://gist.github.com/ban-masa/01f917e85b12755c4b10029dbea476d9
do you have /home/banmasa/ros/indigo/src/jsk-ros-pkg/jsk_robot/jsk_robot_common/jsk_robot_startup/build/devel/share/jsk_robot_startup/cmake/jsk_robot_startupConfig.cmake file? if so something wrong
cd src/jsk-ros-pkg/jsk_robot
git clean -xfd # this removes untracked file, make sure what you do
before you run this command
find . -iname .catkin_tools
and I think you'll find this directory under
/home/banmasa/ros/indigo/src/jsk-ros-pkg/jsk_robot/jsk_robot_common/jsk_robot_startup/
◉ Kei Okada
2016-09-23 18:35 GMT+09:00 Bando Masahiro notifications@github.com:
re-run catkin bt after removed build/jsk_robot_startup and build/roseus https://gist.github.com/ban-masa/01f917e85b12755c4b10029dbea476d9
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
I made /home/banmasa/ros/indigo/src/jsk-ros-pkg/jsk_robot/jsk_robot_common/jsk_robot_startup/build and did cmake in order to debug.
But I did catkin bt after I removed /home/banmasa/ros/indigo/src/jsk-ros-pkg/jsk_robot/jsk_robot_common/jsk_robot_startup/build, indigo/build/roseus, indigo/build/jsk_robot_startup.
I tried find . -iname .catkin_tools
, but I can't find anything.
I did git reset --hard; git status
too, but there is no untracked directory named build.
I think $HOME/ros/indigo/build/jsk_robot_startup/catkin_generated/installspace/jsk_robot_startupConfig.cmake or $HOME/ros/indigo/devel/.private/jsk_robot_startup/share/jsk_robot_startup/cmake/jsk_robot_startupConfig.cmake may be called from roseus.cmake.
@ban-masa This issue won't fix on my environment, so I currently I install roseus via apt instead of from source.
@k-okada My error log is like below, do you have any idea?
% mkdir -p ~/ros/jsk_robot_ws/src
% cd ~/ros/jsk_robot_ws
% catkin init
% cd src
% wstool set jsk_robot https://github.com/jsk-ros-pkg/jsk_robot.git --git -vmaster -y
% wstool set jsk_roseus https://github.com/jsk-ros-pkg/jsk_roseus.git --git -vmaster -y
% wstool update
% wstool info
workspace: /home/wkentaro/ros/jsk_robot_ws/src
Localname S SCM Version (Spec) UID (Spec) URI (Spec) [http(s)://...]
--------- - --- -------------- ----------- ---------------------------
jsk_roseus git master b270a6cb49d6 git://github.com/jsk-ros-pkg/jsk_roseus.git
jsk_robot git master 5cf2265cd31a git://github.com/jsk-ros-pkg/jsk_robot.git
% pwd
/home/wkentaro/ros/jsk_robot_ws
% ls
src
% catkin build -iv --no-color --no-status > log.txt
I see, how about changing https://github.com/jsk-ros-pkg/jsk_robot/blob/master/jsk_robot_common/jsk_robot_startup/CMakeLists.txt#L4-L13 to find_package(catkin REQUIRED COMPONENTS dynamic_reconfigure )
◉ Kei Okada
2016-09-23 19:17 GMT+09:00 Bando Masahiro notifications@github.com:
I made /home/banmasa/ros/indigo/src/jsk-ros-pkg/jskrobot/jsk robot_common/jsk_robot_startup/build and did cmake in order to debug.
But I did catkin bt after I removed /home/banmasa/ros/indigo/src/ jsk-ros-pkg/jsk_robot/jsk_robot_common/jsk_robot_startup/build, indigo/build/roseus, indigo/build/jsk_robot_startup.
I tried find . -iname .catkin_tools, but I can't find anything. I did git reset --hard; git status too, but there is no untracked directory named build.
I think $HOME/ros/indigo/build/jsk_robotstartup/catkin generated/installspace/jsk_robot_startupConfig.cmake or $HOME/ros/indigo/devel/.private/jsk_robot_startup/ share/jsk_robot_startup/cmake/jsk_robot_startupConfig.cmake may be called from roseus.cmake.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jsk-ros-pkg/jsk_robot/issues/597#issuecomment-249155105, or mute the thread https://github.com/notifications/unsubscribe-auth/AAeG3LELiXPUEgG-ADtqzJ7d196ITE4Cks5qs6c7gaJpZM4IUClK .
may be we need to undef XXX_gencfg after we find_packge() in roseus.cmake
◉ Kei Okada
2016-09-23 19:21 GMT+09:00 Kentaro Wada notifications@github.com:
@ban-masa https://github.com/ban-masa This issue won't fix on my environment, so I currently I stopped to install roseus from source.
@k-okada https://github.com/k-okada My error log is like below, do you have any idea?
% mkdir -p ~/ros/jsk_robot_ws/src % cd ~/ros/jsk_robot_ws % catkin init % cd src % wstool set jsk_robot https://github.com/jsk-ros-pkg/jsk_robot.git --git -vmaster -y % wstool set jsk_roseus https://github.com/jsk-ros-pkg/jsk_roseus.git --git -vmaster -y % wstool update % wstool info workspace: /home/wkentaro/ros/jsk_robot_ws/src
Localname S SCM Version (Spec) UID (Spec) URI (Spec) [http(s)://...]
jsk_roseus git master b270a6cb49d6 git://github.com/jsk-ros-pkg/jsk_roseus.git jsk_robot git master 5cf2265cd31a git://github.com/jsk-ros-pkg/jsk_robot.git % pwd /home/wkentaro/ros/jsk_robot_ws % ls src % catkin build -iv --no-color --no-status > log.txt
https://gist.github.com/d59531f931ea892492f712d9d69ddeab
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jsk-ros-pkg/jsk_robot/issues/597#issuecomment-249155888, or mute the thread https://github.com/notifications/unsubscribe-auth/AAeG3FNFSaDDQOOEZmQFBZLLOakDgMUnks5qs6gpgaJpZM4IUClK .
catkin bt succeeded after I fixed find_package as described above.
catkin bt also succeeded when I removed only roseus from find_package in jsk_robot_startup/CMakeLists.txt.
nice, please create PR for changing find_package()
◉ Kei Okada
2016-09-23 19:29 GMT+09:00 Bando Masahiro notifications@github.com:
catkin bt succeeded after I fixed find_package as described above.
catkin bt also succeeded when I removed only roseus from find_package in jsk_robot_startup/CMakeLists.txt.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jsk-ros-pkg/jsk_robot/issues/597#issuecomment-249157331, or mute the thread https://github.com/notifications/unsubscribe-auth/AAeG3Bfy5KCKNGr-J9m85P9bg5NfQBlhks5qs6oigaJpZM4IUClK .
Should I remove all package except for dynamic_reconfigure or only roseus from find_package?
I made PR #663
hope https://github.com/jsk-ros-pkg/jsk_roseus/pull/477 solves this problem
I worked around a bit, but could not fix it.