mikepurvis / ros-install-osx

Installing ROS on OS X.
331 stars 114 forks source link

Compilation failed - ImportError: No module named catkin.environment_cache #53

Closed lironesamoun closed 8 years ago

lironesamoun commented 8 years ago

Hi,

I'm not able to compile successfully ROS on OS X El Capitan. I get this error :

errors     << geometry_msgs:cmake /Users/libraries/ros-install-osx/indigo_desktop_full_ws/logs/geometry_msgs/build.cmake.000.log                             
Traceback (most recent call last):
  File "/Users/libraries/ros-install-osx/indigo_desktop_full_ws/build/geometry_msgs/catkin_generated/generate_cached_setup.py", line 20, in <module>
    from catkin.environment_cache import generate_environment_script
ImportError: No module named catkin.environment_cache
CMake Error at /opt/ros/indigo/share/catkin/cmake/safe_execute_process.cmake:11 (message):
  execute_process(/usr/local/bin/python
  "/Users/libraries/ros-install-osx/indigo_desktop_full_ws/build/geometry_msgs/catkin_generated/generate_cached_setup.py")
  returned error code 1
Call Stack (most recent call first):
  /opt/ros/indigo/share/catkin/cmake/all.cmake:186 (safe_execute_process)
  /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:51 (include)
  CMakeLists.txt:4 (find_package)

cd /Users/libraries/ros-install-osx/indigo_desktop_full_ws/build/geometry_msgs; catkin build --get-env geometry_msgs | catkin env -si  /usr/local/bin/cmake /Users/libraries/ros-install-osx/indigo_desktop_full_ws/src/common_msgs/geometry_msgs --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/Users/libraries/ros-install-osx/indigo_desktop_full_ws/devel/.private/geometry_msgs -DCMAKE_INSTALL_PREFIX=/opt/ros/indigo -DCATKIN_ENABLE_TESTING=0 -DCMAKE_BUILD_TYPE=Release -DPYTHON_LIBRARY=/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib -DPYTHON_INCLUDE_DIR=/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/include/python2.7; cd -
..........................................................................................................................................................................
Failed     << geometry_msgs:cmake                             [ Exited with code 1 ]                                                                                      
Failed    <<< geometry_msgs                                   [ 2.8 seconds ]                                                                                             
Abandoned <<< pr2_description                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< roslisp                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rosmsg                                          [ Unrelated job failed ]                                                                                    
Abandoned <<< rospy                                           [ Unrelated job failed ]                                                                                    
Abandoned <<< rosservice                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< roslaunch                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< pluginlib                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< qt_gui_cpp                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< resource_retriever                              [ Unrelated job failed ]                                                                                    
Abandoned <<< rosconsole_bridge                               [ Unrelated job failed ]                                                                                    
Abandoned <<< rostest                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_action                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_bag                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_bag_plugins                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_console                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_dep                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_graph                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_logger_level                                [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_moveit                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_msg                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_nav_view                                    [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_plot                                        [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_pose_view                                   [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_publisher                                   [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_py_console                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_reconfigure                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_robot_dashboard                             [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_robot_monitor                               [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_robot_steering                              [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_runtime_monitor                             [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_service_caller                              [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_shell                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_srv                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_tf_tree                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_top                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_topic                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_web                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< eigen_conversions                               [ Unrelated job failed ]                                                                                    
Abandoned <<< kdl_conversions                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< nav_msgs                                        [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_py_common                                   [ Unrelated job failed ]                                                                                    
Abandoned <<< sensor_msgs                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< image_geometry                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< map_msgs                                        [ Unrelated job failed ]                                                                                    
Abandoned <<< pcl_msgs                                        [ Unrelated job failed ]                                                                                    
Abandoned <<< shape_msgs                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< stereo_msgs                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2_msgs                                        [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2                                             [ Unrelated job failed ]                                                                                    
Abandoned <<< trajectory_msgs                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< control_msgs                                    [ Unrelated job failed ]                                                                                    
Abandoned <<< gazebo_msgs                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< visualization_msgs                              [ Unrelated job failed ]                                                                                    
Abandoned <<< geometric_shapes                                [ Unrelated job failed ]                                                                                    
Abandoned <<< roscpp                                          [ Unrelated job failed ]                                                                                    
Abandoned <<< bondcpp                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< bondpy                                          [ Unrelated job failed ]                                                                                    
Abandoned <<< camera_calibration_parsers                      [ Unrelated job failed ]                                                                                    
Abandoned <<< collada_parser                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< joint_state_publisher                           [ Unrelated job failed ]                                                                                    
Abandoned <<< nodelet                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< nodelet_tutorial_math                           [ Unrelated job failed ]                                                                                    
Abandoned <<< pcl_conversions                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< pluginlib_tutorials                             [ Unrelated job failed ]                                                                                    
Abandoned <<< roscpp_tutorials                                [ Unrelated job failed ]                                                                                    
Abandoned <<< rosout                                          [ Unrelated job failed ]                                                                                    
Abandoned <<< camera_calibration                              [ Unrelated job failed ]                                                                                    
Abandoned <<< cv_bridge                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< diagnostic_aggregator                           [ Unrelated job failed ]                                                                                    
Abandoned <<< diagnostic_updater                              [ Unrelated job failed ]                                                                                    
Abandoned <<< diagnostic_common_diagnostics                   [ Unrelated job failed ]                                                                                    
Abandoned <<< dynamic_reconfigure                             [ Unrelated job failed ]                                                                                    
Abandoned <<< filters                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< message_filters                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< image_transport                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< camera_info_manager                             [ Unrelated job failed ]                                                                                    
Abandoned <<< polled_camera                                   [ Unrelated job failed ]                                                                                    
Abandoned <<< rosnode                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rospy_tutorials                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< rostopic                                        [ Unrelated job failed ]                                                                                    
Abandoned <<< roswtf                                          [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_gui_cpp                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_gui_py                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_image_view                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< self_test                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< smach_ros                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2_py                                          [ Unrelated job failed ]                                                                                    
Abandoned <<< topic_tools                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< rosbag                                          [ Unrelated job failed ]                                                                                    
Abandoned <<< actionlib                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< actionlib_tutorials                             [ Unrelated job failed ]                                                                                    
Abandoned <<< compressed_depth_image_transport                [ Unrelated job failed ]                                                                                    
Abandoned <<< compressed_image_transport                      [ Unrelated job failed ]                                                                                    
Abandoned <<< diagnostic_analysis                             [ Unrelated job failed ]                                                                                    
Abandoned <<< driver_base                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< image_proc                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< image_view                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< nodelet_topic_tools                             [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_launch                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< stereo_image_proc                               [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2_ros                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< depth_image_proc                                [ Unrelated job failed ]                                                                                    
Abandoned <<< tf                                              [ Unrelated job failed ]                                                                                    
Abandoned <<< gazebo_ros                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< interactive_markers                             [ Unrelated job failed ]                                                                                    
Abandoned <<< interactive_marker_tutorials                    [ Unrelated job failed ]                                                                                    
Abandoned <<< laser_geometry                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< laser_assembler                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< laser_filters                                   [ Unrelated job failed ]                                                                                    
Abandoned <<< pcl_ros                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< stage_ros                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2_geometry_msgs                               [ Unrelated job failed ]                                                                                    
Abandoned <<< image_rotate                                    [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2_kdl                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2_sensor_msgs                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< pointcloud_to_laserscan                         [ Unrelated job failed ]                                                                                    
Abandoned <<< tf_conversions                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< theora_image_transport                          [ Unrelated job failed ]                                                                                    
Abandoned <<< turtlesim                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< turtle_actionlib                                [ Unrelated job failed ]                                                                                    
Abandoned <<< turtle_tf                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< turtle_tf2                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< urdf                                            [ Unrelated job failed ]                                                                                    
Abandoned <<< collada_urdf                                    [ Unrelated job failed ]                                                                                    
Abandoned <<< gazebo_plugins                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< kdl_parser                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< robot_state_publisher                           [ Unrelated job failed ]                                                                                    
Abandoned <<< rviz                                            [ Unrelated job failed ]                                                                                    
Abandoned <<< librviz_tutorial                                [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_rviz                                        [ Unrelated job failed ]                                                                                    
Abandoned <<< rviz_plugin_tutorials                           [ Unrelated job failed ]                                                                                    
Abandoned <<< rviz_python_tutorial                            [ Unrelated job failed ]                                                                                    
Abandoned <<< urdf_tutorial                                   [ Unrelated job failed ]                                                                                    
Abandoned <<< visualization_marker_tutorials                  [ Unrelated job failed ]                                                                                    
Abandoned <<< xacro                                           [ Unrelated job failed ]                                                                                    
Finished  <<< rosconsole                                      [ 19.2 seconds ]                                                                                            
Finished  <<< rqt_gui                                         [ 4.5 seconds ]                                                                                             
Finished  <<< bond                                            [ 6.8 seconds ]                                                                                             
Finished  <<< actionlib_msgs                                  [ 8.3 seconds ]                                                                                             
Finished  <<< diagnostic_msgs                                 [ 8.3 seconds ]                                                                                             
Finished  <<< rosgraph_msgs                                   [ 7.7 seconds ]                                                                                             
Finished  <<< smach_msgs                                      [ 7.4 seconds ]                                                                                             
[build] Summary: 58 of 194 packages succeeded.                                                                                                                            
[build]   Ignored:   31 packages were skipped or are blacklisted.                                                                                                         
[build]   Warnings:  6 packages succeeded with warnings.                                                                                                                  
[build]   Abandoned: 135 packages were abandoned.                                                                                                                         
[build]   Failed:    1 packages failed.                                                                                                                                   
[build] Runtime: 1 minute and 47.7 seconds total.                                                                                                                         
[build] Note: Workspace packages have changed, please re-source setup files to use them.

I tried to look on the internet but did not find any suitable solution. Could you please take a look on that ? Thank

mikepurvis commented 8 years ago

This is a long-standing race condition issue with catkin_tools 0.4.x, with a solution proposed here: https://github.com/catkin/catkin_tools/pull/391

If you rm -rf build/geometry_msgs and then catkin build --start-with geometry_msgs in your workspace, it should be able to pick up where it left off.

lironesamoun commented 8 years ago

I did the modifications you have mentioned but I get an error now when I do catkin build --start-with geometry_msgs

Here the results :

Traceback (most recent call last):
  File "/usr/local/bin/catkin", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/site-packages/catkin_tools/commands/catkin.py", line 258, in main
    catkin_main(sysargs)
  File "/usr/local/lib/python2.7/site-packages/catkin_tools/commands/catkin.py", line 163, in catkin_main
    argument_preprocessors = create_subparsers(parser, verbs)
  File "/usr/local/lib/python2.7/site-packages/catkin_tools/commands/catkin.py", line 58, in create_subparsers
    desc = load_verb_description(verb)
  File "/usr/local/lib/python2.7/site-packages/catkin_tools/commands/catkin.py", line 45, in load_verb_description
    return entry_point.load()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2229, in load
    return self.resolve()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2235, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/local/lib/python2.7/site-packages/catkin_tools/verbs/catkin_build/__init__.py", line 17, in <module>
    from .cli import main
  File "/usr/local/lib/python2.7/site-packages/catkin_tools/verbs/catkin_build/cli.py", line 63, in <module>
    from .build import build_isolated_workspace
  File "/usr/local/lib/python2.7/site-packages/catkin_tools/verbs/catkin_build/build.py", line 57, in <module>
    from catkin_tools.jobs.catkin import create_catkin_build_job
  File "/usr/local/lib/python2.7/site-packages/catkin_tools/jobs/catkin.py", line 38, in <module>
    from .utils import get_env_loader
ImportError: cannot import name get_env_loader
mikepurvis commented 8 years ago

Can you clarify exactly what you did? You should not have needed to modify catkin_tools at all— my suggestion was only to retry the failed package.

lironesamoun commented 8 years ago

I first did as you mentioned rm -rf build/geometry_msgs Then catkin build --start-with geometry_msgs

I got exactly the same problem (of my initial post). So I checked your link and I replaced some files in Catkin_tool Maybe It was a mistake to do that ?

mikepurvis commented 8 years ago

In that case, please just delete the whole workspace, reinstall catkin_tools, and try again. This is a transient problem, and that's the easiest fix.

lironesamoun commented 8 years ago

Okey I had a backup and remove the modification. So I retried the failed package using your command line and here the results :

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Profile:                     default
Extending:                   None
Workspace:                   /Users/libraries/ros-install-osx/indigo_desktop_full_ws
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Source Space:       [exists] /Userslibraries/ros-install-osx/indigo_desktop_full_ws/src
Log Space:          [exists] /Users/libraries/ros-install-osx/indigo_desktop_full_ws/logs
Build Space:        [exists] /Users/libraries/ros-install-osx/indigo_desktop_full_ws/build
Devel Space:        [exists] /Users/libraries/ros-install-osx/indigo_desktop_full_ws/devel
Install Space:      [exists] /opt/ros/indigo
DESTDIR:            [unused] None
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Devel Space Layout:          linked
Install Space Layout:        merged
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Additional CMake Args:       -DCATKIN_ENABLE_TESTING=0 -DCMAKE_BUILD_TYPE=Release -DPYTHON_LIBRARY=/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib -DPYTHON_INCLUDE_DIR=/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/include/python2.7
Additional Make Args:        None
Additional catkin Make Args: None
Internal Make Job Server:    True
Cache Job Environments:      False
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Whitelisted Packages:        None
Blacklisted Packages:        None
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
WARNING: Your workspace is not extending any other result space, but it is set to use a `linked` devel space layout. This requires the `catkin` CMake package in your
source space in order to be built.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[build] Found '225' packages in 0.0 seconds.                                                                                                                              
Skipping  --- catkin                                                                                                                                                      
Skipping  --- genmsg                                                                                                                                                      
Skipping  --- gencpp                                                                                                                                                      
Skipping  --- genlisp                                                                                                                                                     
Skipping  --- genpy                                                                                                                                                       
Skipping  --- angles                                                                                                                                                      
Skipping  --- bond_core                                                                                                                                                   
Skipping  --- cmake_modules                                                                                                                                               
Skipping  --- class_loader                                                                                                                                                
Skipping  --- common_msgs                                                                                                                                                 
Skipping  --- common_tutorials                                                                                                                                            
Skipping  --- convex_decomposition                                                                                                                                        
Skipping  --- cpp_common                                                                                                                                                  
Skipping  --- desktop                                                                                                                                                     
Skipping  --- desktop_full                                                                                                                                                
Skipping  --- diagnostics                                                                                                                                                 
Skipping  --- eigen_stl_containers                                                                                                                                        
Skipping  --- executive_smach                                                                                                                                             
Skipping  --- gazebo_ros_pkgs                                                                                                                                             
Skipping  --- geometry                                                                                                                                                    
Skipping  --- geometry_tutorials                                                                                                                                          
Skipping  --- image_common                                                                                                                                                
Skipping  --- image_pipeline                                                                                                                                              
Skipping  --- image_transport_plugins                                                                                                                                     
Skipping  --- ivcon                                                                                                                                                       
Skipping  --- laser_pipeline                                                                                                                                              
Skipping  --- media_export                                                                                                                                                
Skipping  --- message_generation                                                                                                                                          
Skipping  --- message_runtime                                                                                                                                             
Skipping  --- mk                                                                                                                                                          
Skipping  --- nodelet_core                                                                                                                                                
Skipping  --- octomap                                                                                                                                                     
Skipping  --- orocos_kdl                                                                                                                                                  
Skipping  --- perception                                                                                                                                                  
Skipping  --- perception_pcl                                                                                                                                              
Skipping  --- pr2_description                                                                                                                                             
Skipping  --- python_orocos_kdl                                                                                                                                           
Skipping  --- qt_dotgraph                                                                                                                                                 
Skipping  --- qt_gui                                                                                                                                                      
Skipping  --- qt_gui_py_common                                                                                                                                            
Skipping  --- random_numbers                                                                                                                                              
Skipping  --- robot                                                                                                                                                       
Skipping  --- robot_model                                                                                                                                                 
Skipping  --- ros                                                                                                                                                         
Skipping  --- ros_base                                                                                                                                                    
Skipping  --- ros_comm                                                                                                                                                    
Skipping  --- ros_core                                                                                                                                                    
Skipping  --- ros_tutorials                                                                                                                                               
Skipping  --- rosbag_migration_rule                                                                                                                                       
Skipping  --- rosbash                                                                                                                                                     
Skipping  --- rosboost_cfg                                                                                                                                                
Skipping  --- rosbuild                                                                                                                                                    
Skipping  --- rosclean                                                                                                                                                    
Skipping  --- roscpp_core                                                                                                                                                 
Skipping  --- roscpp_traits                                                                                                                                               
Skipping  --- roscreate                                                                                                                                                   
Skipping  --- rosgraph                                                                                                                                                    
Skipping  --- roslang                                                                                                                                                     
Skipping  --- roslint                                                                                                                                                     
Skipping  --- roslisp                                                                                                                                                     
Skipping  --- rosmake                                                                                                                                                     
Skipping  --- rosmaster                                                                                                                                                   
Skipping  --- rosmsg                                                                                                                                                      
Skipping  --- rospack                                                                                                                                                     
Skipping  --- roslib                                                                                                                                                      
Skipping  --- rosparam                                                                                                                                                    
Skipping  --- rospy                                                                                                                                                       
Skipping  --- rosservice                                                                                                                                                  
Skipping  --- rostime                                                                                                                                                     
Skipping  --- roscpp_serialization                                                                                                                                        
Skipping  --- python_qt_binding                                                                                                                                           
Skipping  --- roslaunch                                                                                                                                                   
Skipping  --- rosunit                                                                                                                                                     
Skipping  --- rosconsole                                                                                                                                                  
Skipping  --- pluginlib                                                                                                                                                   
Skipping  --- qt_gui_cpp                                                                                                                                                  
Skipping  --- resource_retriever                                                                                                                                          
Skipping  --- rosconsole_bridge                                                                                                                                           
Skipping  --- roslz4                                                                                                                                                      
Skipping  --- rosbag_storage                                                                                                                                              
Skipping  --- rostest                                                                                                                                                     
Skipping  --- rqt_action                                                                                                                                                  
Skipping  --- rqt_bag                                                                                                                                                     
Skipping  --- rqt_bag_plugins                                                                                                                                             
Skipping  --- rqt_common_plugins                                                                                                                                          
Skipping  --- rqt_console                                                                                                                                                 
Skipping  --- rqt_dep                                                                                                                                                     
Skipping  --- rqt_graph                                                                                                                                                   
Skipping  --- rqt_gui                                                                                                                                                     
Skipping  --- rqt_logger_level                                                                                                                                            
Skipping  --- rqt_moveit                                                                                                                                                  
Skipping  --- rqt_msg                                                                                                                                                     
Skipping  --- rqt_nav_view                                                                                                                                                
Skipping  --- rqt_plot                                                                                                                                                    
Skipping  --- rqt_pose_view                                                                                                                                               
Skipping  --- rqt_publisher                                                                                                                                               
Skipping  --- rqt_py_console                                                                                                                                              
Skipping  --- rqt_reconfigure                                                                                                                                             
Skipping  --- rqt_robot_dashboard                                                                                                                                         
Skipping  --- rqt_robot_monitor                                                                                                                                           
Skipping  --- rqt_robot_plugins                                                                                                                                           
Skipping  --- rqt_robot_steering                                                                                                                                          
Skipping  --- rqt_runtime_monitor                                                                                                                                         
Skipping  --- rqt_service_caller                                                                                                                                          
Skipping  --- rqt_shell                                                                                                                                                   
Skipping  --- rqt_srv                                                                                                                                                     
Skipping  --- rqt_tf_tree                                                                                                                                                 
Skipping  --- rqt_top                                                                                                                                                     
Skipping  --- rqt_topic                                                                                                                                                   
Skipping  --- rqt_web                                                                                                                                                     
Skipping  --- simulators                                                                                                                                                  
Skipping  --- smach                                                                                                                                                       
Skipping  --- smclib                                                                                                                                                      
Skipping  --- stage                                                                                                                                                       
Skipping  --- std_msgs                                                                                                                                                    
Skipping  --- actionlib_msgs                                                                                                                                              
Skipping  --- bond                                                                                                                                                        
Skipping  --- diagnostic_msgs                                                                                                                                             
Starting  >>> geometry_msgs                                                                                                                                               
Starting  >>> rosgraph_msgs                                                                                                                                               
Starting  >>> smach_msgs                                                                                                                                                  
Starting  >>> std_srvs                                                                                                                                                    
Starting  >>> urdf_parser_plugin                                                                                                                                          
Starting  >>> xmlrpcpp                                                                                                                                                    
Starting  >>> bondpy                                                                                                                                                      
Starting  >>> rospy_tutorials                                                                                                                                             
Finished  <<< urdf_parser_plugin                              [ 0.6 seconds ]                                                                                             
Finished  <<< bondpy                                          [ 0.5 seconds ]                                                                                             
__________________________________________________________________________________________________________________________________________________________________________
Warnings   << xmlrpcpp:install /Users/libraries/ros-install-osx/indigo_desktop_full_ws/logs/xmlrpcpp/build.install.002.log                                   
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: for: /opt/ros/indigo/lib/libxmlrpcpp.dylib (for architecture x86_64) option "-add_rpath /opt/ros/indigo/lib" would duplicate path, file already has LC_RPATH for: /opt/ros/indigo/lib
cd /Users/libraries/ros-install-osx/indigo_desktop_full_ws/build/xmlrpcpp; catkin build --get-env xmlrpcpp | catkin env -si  /usr/bin/make install; cd -
..........................................................................................................................................................................
Finished  <<< xmlrpcpp                                        [ 0.6 seconds ]                                                                                             
Starting  >>> rqt_gui_py                                                                                                                                                  
Starting  >>> xacro                                                                                                                                                       
Finished  <<< smach_msgs                                      [ 1.6 seconds ]                                                                                             
__________________________________________________________________________________________________________________________________________________________________________
Errors     << rqt_gui_py:cmake /Users/libraries/ros-install-osx/indigo_desktop_full_ws/logs/rqt_gui_py/build.cmake.001.log                                   
CMake Warning at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:107 (find_package):
  Could not find a package configuration file provided by "rospy" with any of
  the following names:

    rospyConfig.cmake
    rospy-config.cmake

  Add the installation prefix of "rospy" to CMAKE_PREFIX_PATH or set
  "rospy_DIR" to a directory containing one of the above files.  If "rospy"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  CMakeLists.txt:4 (find_package)

CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:114 (find_package):
  Could not find a package configuration file provided by "rospy" with any of
  the following names:

    rospyConfig.cmake
    rospy-config.cmake

  Add the installation prefix of "rospy" to CMAKE_PREFIX_PATH or set
  "rospy_DIR" to a directory containing one of the above files.  If "rospy"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  CMakeLists.txt:4 (find_package)

cd /Users/libraries/ros-install-osx/indigo_desktop_full_ws/build/rqt_gui_py; catkin build --get-env rqt_gui_py | catkin env -si  /usr/local/bin/cmake /Users/libraries/ros-install-osx/indigo_desktop_full_ws/src/rqt/rqt_gui_py --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/Users/libraries/ros-install-osx/indigo_desktop_full_ws/devel/.private/rqt_gui_py -DCMAKE_INSTALL_PREFIX=/opt/ros/indigo -DCATKIN_ENABLE_TESTING=0 -DCMAKE_BUILD_TYPE=Release -DPYTHON_LIBRARY=/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib -DPYTHON_INCLUDE_DIR=/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/include/python2.7; cd -
..........................................................................................................................................................................
Failed     << rqt_gui_py:cmake                                [ Exited with code 1 ]                                                                                      
Failed    <<< rqt_gui_py                                      [ 0.4 seconds ]                                                                                             
Abandoned <<< eigen_conversions                               [ Unrelated job failed ]                                                                                    
Abandoned <<< kdl_conversions                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< nav_msgs                                        [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_py_common                                   [ Unrelated job failed ]                                                                                    
Abandoned <<< sensor_msgs                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< image_geometry                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< map_msgs                                        [ Unrelated job failed ]                                                                                    
Abandoned <<< pcl_msgs                                        [ Unrelated job failed ]                                                                                    
Abandoned <<< shape_msgs                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< stereo_msgs                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2_msgs                                        [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2                                             [ Unrelated job failed ]                                                                                    
Abandoned <<< trajectory_msgs                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< control_msgs                                    [ Unrelated job failed ]                                                                                    
Abandoned <<< gazebo_msgs                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< visualization_msgs                              [ Unrelated job failed ]                                                                                    
Abandoned <<< geometric_shapes                                [ Unrelated job failed ]                                                                                    
Abandoned <<< roscpp                                          [ Unrelated job failed ]                                                                                    
Abandoned <<< bondcpp                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< camera_calibration_parsers                      [ Unrelated job failed ]                                                                                    
Abandoned <<< collada_parser                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< joint_state_publisher                           [ Unrelated job failed ]                                                                                    
Abandoned <<< nodelet                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< nodelet_tutorial_math                           [ Unrelated job failed ]                                                                                    
Abandoned <<< pcl_conversions                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< pluginlib_tutorials                             [ Unrelated job failed ]                                                                                    
Abandoned <<< roscpp_tutorials                                [ Unrelated job failed ]                                                                                    
Abandoned <<< rosout                                          [ Unrelated job failed ]                                                                                    
Abandoned <<< camera_calibration                              [ Unrelated job failed ]                                                                                    
Abandoned <<< cv_bridge                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< diagnostic_aggregator                           [ Unrelated job failed ]                                                                                    
Abandoned <<< diagnostic_updater                              [ Unrelated job failed ]                                                                                    
Abandoned <<< diagnostic_common_diagnostics                   [ Unrelated job failed ]                                                                                    
Abandoned <<< dynamic_reconfigure                             [ Unrelated job failed ]                                                                                    
Abandoned <<< filters                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< message_filters                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< image_transport                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< camera_info_manager                             [ Unrelated job failed ]                                                                                    
Abandoned <<< polled_camera                                   [ Unrelated job failed ]                                                                                    
Abandoned <<< rosnode                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rostopic                                        [ Unrelated job failed ]                                                                                    
Abandoned <<< roswtf                                          [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_gui_cpp                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_image_view                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< self_test                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< smach_ros                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2_py                                          [ Unrelated job failed ]                                                                                    
Abandoned <<< topic_tools                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< rosbag                                          [ Unrelated job failed ]                                                                                    
Abandoned <<< actionlib                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< actionlib_tutorials                             [ Unrelated job failed ]                                                                                    
Abandoned <<< compressed_depth_image_transport                [ Unrelated job failed ]                                                                                    
Abandoned <<< compressed_image_transport                      [ Unrelated job failed ]                                                                                    
Abandoned <<< diagnostic_analysis                             [ Unrelated job failed ]                                                                                    
Abandoned <<< driver_base                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< image_proc                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< image_view                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< nodelet_topic_tools                             [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_launch                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< stereo_image_proc                               [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2_ros                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< depth_image_proc                                [ Unrelated job failed ]                                                                                    
Abandoned <<< tf                                              [ Unrelated job failed ]                                                                                    
Abandoned <<< gazebo_ros                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< interactive_markers                             [ Unrelated job failed ]                                                                                    
Abandoned <<< interactive_marker_tutorials                    [ Unrelated job failed ]                                                                                    
Abandoned <<< laser_geometry                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< laser_assembler                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< laser_filters                                   [ Unrelated job failed ]                                                                                    
Abandoned <<< pcl_ros                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< stage_ros                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2_geometry_msgs                               [ Unrelated job failed ]                                                                                    
Abandoned <<< image_rotate                                    [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2_kdl                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2_sensor_msgs                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< pointcloud_to_laserscan                         [ Unrelated job failed ]                                                                                    
Abandoned <<< tf_conversions                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< theora_image_transport                          [ Unrelated job failed ]                                                                                    
Abandoned <<< turtlesim                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< turtle_actionlib                                [ Unrelated job failed ]                                                                                    
Abandoned <<< turtle_tf                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< turtle_tf2                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< urdf                                            [ Unrelated job failed ]                                                                                    
Abandoned <<< collada_urdf                                    [ Unrelated job failed ]                                                                                    
Abandoned <<< gazebo_plugins                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< kdl_parser                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< robot_state_publisher                           [ Unrelated job failed ]                                                                                    
Abandoned <<< rviz                                            [ Unrelated job failed ]                                                                                    
Abandoned <<< librviz_tutorial                                [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_rviz                                        [ Unrelated job failed ]                                                                                    
Abandoned <<< rviz_plugin_tutorials                           [ Unrelated job failed ]                                                                                    
Abandoned <<< rviz_python_tutorial                            [ Unrelated job failed ]                                                                                    
Abandoned <<< urdf_tutorial                                   [ Unrelated job failed ]                                                                                    
Abandoned <<< visualization_marker_tutorials                  [ Unrelated job failed ]                                                                                    
Finished  <<< std_srvs                                        [ 1.5 seconds ]                                                                                             
Finished  <<< rosgraph_msgs                                   [ 2.2 seconds ]                                                                                             
Finished  <<< rospy_tutorials                                 [ 2.2 seconds ]                                                                                             
Finished  <<< xacro                                           [ 0.3 seconds ]                                                                                             
Finished  <<< geometry_msgs                                   [ 5.5 seconds ]                                                                                             
[build] Summary: 9 of 104 packages succeeded.                                                                                                                             
[build]   Ignored:   121 packages were skipped or are blacklisted.                                                                                                        
[build]   Warnings:  1 packages succeeded with warnings.                                                                                                                  
[build]   Abandoned: 94 packages were abandoned.                                                                                                                          
[build]   Failed:    1 packages failed.                                                                                                                                   
[build] Runtime: 9.7 seconds total.  
mikepurvis commented 8 years ago

Wow, bad luck. I don't think most people using ros-install-osx run into this issue as they're on 2 or 4-core laptops, where build parallelism is not as heavy. Looks like you're on an 8-core machine, though, so you're hitting it much more heavily.

I think your options are:

Thanks for your patience with this.

lironesamoun commented 8 years ago

Okey I first tried with lower parallelism (-j4 and -j2) by using catkin build --limit-status-rate 1 -j2

I get this error : 
Starting  >>> filters                                                                                                                                                     
__________________________________________________________________________________________________________________________________________________________________________
Errors     << filters:cmake /Users/libraries/ros-install-osx/indigo_desktop_full_ws/logs/filters/build.cmake.000.log                                         
CMake Error at /opt/ros/indigo/share/catkin/cmake/test/tests.cmake:17 (message):
  add_rostest() is not available when tests are not enabled.  The CMake code
  should only use it inside a conditional block which checks that testing is
  enabled:

  if(CATKIN_ENABLE_TESTING)

    add_rostest(...)

  endif()

Call Stack (most recent call first):
  CMakeLists.txt:46 (add_rostest)

cd /Users/libraries/ros-install-osx/indigo_desktop_full_ws/build/filters; catkin build --get-env filters | catkin env -si  /usr/local/bin/cmake /Users/libraries/ros-install-osx/indigo_desktop_full_ws/src/filters --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/Users/libraries/ros-install-osx/indigo_desktop_full_ws/devel/.private/filters -DCMAKE_INSTALL_PREFIX=/opt/ros/indigo -DCATKIN_ENABLE_TESTING=0 -DCMAKE_BUILD_TYPE=Release -DPYTHON_LIBRARY=/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib -DPYTHON_INCLUDE_DIR=/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/include/python2.7; cd -
..........................................................................................................................................................................
Failed     << filters:cmake                                   [ Exited with code 1 ]                                                                                      
Failed    <<< filters                                         [ 2.6 seconds ]                                                                                             
Abandoned <<< message_filters                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< rospy_tutorials                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< topic_tools                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< urdf                                            [ Unrelated job failed ]                                                                                    
Abandoned <<< xacro                                           [ Unrelated job failed ]                                                                                    
Abandoned <<< self_test                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< pr2_description                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< rosmsg                                          [ Unrelated job failed ]                                                                                    
Abandoned <<< rosservice                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_action                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_bag                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_bag_plugins                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_console                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_dep                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_graph                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_logger_level                                [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_moveit                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_msg                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_nav_view                                    [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_plot                                        [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_pose_view                                   [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_publisher                                   [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_reconfigure                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_robot_dashboard                             [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_robot_monitor                               [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_robot_steering                              [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_service_caller                              [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_srv                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_tf_tree                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_topic                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_py_common                                   [ Unrelated job failed ]                                                                                    
Abandoned <<< camera_calibration                              [ Unrelated job failed ]                                                                                    
Abandoned <<< diagnostic_common_diagnostics                   [ Unrelated job failed ]                                                                                    
Abandoned <<< dynamic_reconfigure                             [ Unrelated job failed ]                                                                                    
Abandoned <<< image_transport                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< camera_info_manager                             [ Unrelated job failed ]                                                                                    
Abandoned <<< polled_camera                                   [ Unrelated job failed ]                                                                                    
Abandoned <<< rosnode                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rostopic                                        [ Unrelated job failed ]                                                                                    
Abandoned <<< roswtf                                          [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_image_view                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< smach_ros                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< rosbag                                          [ Unrelated job failed ]                                                                                    
Abandoned <<< actionlib                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< actionlib_tutorials                             [ Unrelated job failed ]                                                                                    
Abandoned <<< compressed_depth_image_transport                [ Unrelated job failed ]                                                                                    
Abandoned <<< compressed_image_transport                      [ Unrelated job failed ]                                                                                    
Abandoned <<< diagnostic_analysis                             [ Unrelated job failed ]                                                                                    
Abandoned <<< driver_base                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< image_proc                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< image_view                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< nodelet_topic_tools                             [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_launch                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< stereo_image_proc                               [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2_ros                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< depth_image_proc                                [ Unrelated job failed ]                                                                                    
Abandoned <<< tf                                              [ Unrelated job failed ]                                                                                    
Abandoned <<< gazebo_ros                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< interactive_markers                             [ Unrelated job failed ]                                                                                    
Abandoned <<< interactive_marker_tutorials                    [ Unrelated job failed ]                                                                                    
Abandoned <<< laser_geometry                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< laser_assembler                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< laser_filters                                   [ Unrelated job failed ]                                                                                    
Abandoned <<< pcl_ros                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< stage_ros                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2_geometry_msgs                               [ Unrelated job failed ]                                                                                    
Abandoned <<< image_rotate                                    [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2_kdl                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2_sensor_msgs                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< pointcloud_to_laserscan                         [ Unrelated job failed ]                                                                                    
Abandoned <<< tf_conversions                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< theora_image_transport                          [ Unrelated job failed ]                                                                                    
Abandoned <<< turtle_actionlib                                [ Unrelated job failed ]                                                                                    
Abandoned <<< turtle_tf                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< turtle_tf2                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< collada_urdf                                    [ Unrelated job failed ]                                                                                    
Abandoned <<< gazebo_plugins                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< kdl_parser                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< robot_state_publisher                           [ Unrelated job failed ]                                                                                    
Abandoned <<< rviz                                            [ Unrelated job failed ]                                                                                    
Abandoned <<< librviz_tutorial                                [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_rviz                                        [ Unrelated job failed ]                                                                                    
Abandoned <<< rviz_plugin_tutorials                           [ Unrelated job failed ]                                                                                    
Abandoned <<< rviz_python_tutorial                            [ Unrelated job failed ]                                                                                    
Abandoned <<< urdf_tutorial                                   [ Unrelated job failed ]                                                                                    
Finished  <<< diagnostic_aggregator                           [ 21.2 seconds ]                                                                                            
[build] Summary: 108 of 194 packages succeeded.                                                                                                                           
[build]   Ignored:   31 packages were skipped or are blacklisted.                                                                                                         
[build]   Warnings:  16 packages succeeded with warnings.                                                                                                                 
[build]   Abandoned: 85 packages were abandoned.                                                                                                                          
[build]   Failed:    1 packages failed.                                                                                                                                   
[build] Runtime: 7 minutes and 26.3 seconds total.                                                                                                                        
[build] Note: Workspace packages have changed, please re-source setup files to use them.

Then by using your second solution, I end up with a similar error :

Starting  >>> message_filters                                                                                                                                             
__________________________________________________________________________________________________________________________________________________________________________
Errors     << filters:cmake /Users/libraries/ros-install-osx/indigo_desktop_full_ws/logs/filters/build.cmake.000.log                                         
CMake Error at /opt/ros/indigo/share/catkin/cmake/test/tests.cmake:17 (message):
  add_rostest() is not available when tests are not enabled.  The CMake code
  should only use it inside a conditional block which checks that testing is
  enabled:

  if(CATKIN_ENABLE_TESTING)

    add_rostest(...)

  endif()

Call Stack (most recent call first):
  CMakeLists.txt:46 (add_rostest)

cd /Users/libraries/ros-install-osx/indigo_desktop_full_ws/build/filters; catkin build --get-env filters | catkin env -si  /usr/local/bin/cmake /Users/libraries/ros-install-osx/indigo_desktop_full_ws/src/filters --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/Users/libraries/ros-install-osx/indigo_desktop_full_ws/devel/.private/filters -DCMAKE_INSTALL_PREFIX=/opt/ros/indigo -DCATKIN_ENABLE_TESTING=0 -DCMAKE_BUILD_TYPE=Release -DPYTHON_LIBRARY=/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib -DPYTHON_INCLUDE_DIR=/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/include/python2.7; cd -
..........................................................................................................................................................................
Failed     << filters:cmake                                   [ Exited with code 1 ]                                                                                      
Failed    <<< filters                                         [ 2.8 seconds ]                                                                                             
Abandoned <<< rospy_tutorials                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< topic_tools                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< urdf                                            [ Unrelated job failed ]                                                                                    
Abandoned <<< xacro                                           [ Unrelated job failed ]                                                                                    
Abandoned <<< pr2_description                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< rosmsg                                          [ Unrelated job failed ]                                                                                    
Abandoned <<< rosservice                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_action                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_bag                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_bag_plugins                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_console                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_dep                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_graph                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_logger_level                                [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_moveit                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_msg                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_nav_view                                    [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_plot                                        [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_pose_view                                   [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_publisher                                   [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_reconfigure                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_robot_dashboard                             [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_robot_monitor                               [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_robot_steering                              [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_service_caller                              [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_srv                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_tf_tree                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_topic                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_py_common                                   [ Unrelated job failed ]                                                                                    
Abandoned <<< camera_calibration                              [ Unrelated job failed ]                                                                                    
Abandoned <<< diagnostic_common_diagnostics                   [ Unrelated job failed ]                                                                                    
Abandoned <<< dynamic_reconfigure                             [ Unrelated job failed ]                                                                                    
Abandoned <<< image_transport                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< camera_info_manager                             [ Unrelated job failed ]                                                                                    
Abandoned <<< polled_camera                                   [ Unrelated job failed ]                                                                                    
Abandoned <<< rosnode                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< rostopic                                        [ Unrelated job failed ]                                                                                    
Abandoned <<< roswtf                                          [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_image_view                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< self_test                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< smach_ros                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< rosbag                                          [ Unrelated job failed ]                                                                                    
Abandoned <<< actionlib                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< actionlib_tutorials                             [ Unrelated job failed ]                                                                                    
Abandoned <<< compressed_depth_image_transport                [ Unrelated job failed ]                                                                                    
Abandoned <<< compressed_image_transport                      [ Unrelated job failed ]                                                                                    
Abandoned <<< diagnostic_analysis                             [ Unrelated job failed ]                                                                                    
Abandoned <<< driver_base                                     [ Unrelated job failed ]                                                                                    
Abandoned <<< image_proc                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< image_view                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< nodelet_topic_tools                             [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_launch                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< stereo_image_proc                               [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2_ros                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< depth_image_proc                                [ Unrelated job failed ]                                                                                    
Abandoned <<< tf                                              [ Unrelated job failed ]                                                                                    
Abandoned <<< gazebo_ros                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< interactive_markers                             [ Unrelated job failed ]                                                                                    
Abandoned <<< interactive_marker_tutorials                    [ Unrelated job failed ]                                                                                    
Abandoned <<< laser_geometry                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< laser_assembler                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< laser_filters                                   [ Unrelated job failed ]                                                                                    
Abandoned <<< pcl_ros                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< stage_ros                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2_geometry_msgs                               [ Unrelated job failed ]                                                                                    
Abandoned <<< image_rotate                                    [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2_kdl                                         [ Unrelated job failed ]                                                                                    
Abandoned <<< tf2_sensor_msgs                                 [ Unrelated job failed ]                                                                                    
Abandoned <<< pointcloud_to_laserscan                         [ Unrelated job failed ]                                                                                    
Abandoned <<< tf_conversions                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< theora_image_transport                          [ Unrelated job failed ]                                                                                    
Abandoned <<< turtle_actionlib                                [ Unrelated job failed ]                                                                                    
Abandoned <<< turtle_tf                                       [ Unrelated job failed ]                                                                                    
Abandoned <<< turtle_tf2                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< collada_urdf                                    [ Unrelated job failed ]                                                                                    
Abandoned <<< gazebo_plugins                                  [ Unrelated job failed ]                                                                                    
Abandoned <<< kdl_parser                                      [ Unrelated job failed ]                                                                                    
Abandoned <<< robot_state_publisher                           [ Unrelated job failed ]                                                                                    
Abandoned <<< rviz                                            [ Unrelated job failed ]                                                                                    
Abandoned <<< librviz_tutorial                                [ Unrelated job failed ]                                                                                    
Abandoned <<< rqt_rviz                                        [ Unrelated job failed ]                                                                                    
Abandoned <<< rviz_plugin_tutorials                           [ Unrelated job failed ]                                                                                    
Abandoned <<< rviz_python_tutorial                            [ Unrelated job failed ]                                                                                    
Abandoned <<< urdf_tutorial                                   [ Unrelated job failed ]                                                                                    
Finished  <<< message_filters                                 [ 4.3 seconds ]                                                                                             
__________________________________________________________________________________________________________________________________________________________________________
Warnings   << diagnostic_updater:make /Users/libraries/ros-install-osx/indigo_desktop_full_ws/logs/diagnostic_updater/build.make.000.log                     
In file included from /Users/libraries/ros-install-osx/indigo_desktop_full_ws/src/diagnostics/diagnostic_updater/src/example.cpp:37:
In file included from /Users/libraries/ros-install-osx/indigo_desktop_full_ws/src/diagnostics/diagnostic_updater/include/diagnostic_updater/publisher.h:41:
/Users/libraries/ros-install-osx/indigo_desktop_full_ws/src/diagnostics/diagnostic_updater/include/diagnostic_updater/update_functions.h:193:13: warning: 'finite' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
        if (finite(*params_.max_freq_))
            ^
/usr/include/math.h:757:12: note: 'finite' has been explicitly marked deprecated here
extern int finite(double) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_0, __MAC_10_9, __IPHONE_NA, __IPHONE_NA);
           ^
1 warning generated.
cd /Users/libraries/ros-install-osx/indigo_desktop_full_ws/build/diagnostic_updater; catkin build --get-env diagnostic_updater | catkin env -si  /usr/bin/make --jobserver-fds=6,7 -j; cd -
..........................................................................................................................................................................
Finished  <<< diagnostic_updater                              [ 6.3 seconds ]                                                                                             
Finished  <<< diagnostic_aggregator                           [ 21.1 seconds ]                                                                                            
[build] Summary: 109 of 194 packages succeeded.                                                                                                                           
[build]   Ignored:   31 packages were skipped or are blacklisted.                                                                                                         
[build]   Warnings:  16 packages succeeded with warnings.                                                                                                                 
[build]   Abandoned: 84 packages were abandoned.                                                                                                                          
[build]   Failed:    1 packages failed.                                                                                                                                   
[build] Runtime: 4 minutes and 44.9 seconds total.                                                                                                                        
[build] Note: Workspace packages have changed, please re-source setup files to use them.

Thank for your help.

spmaniato commented 8 years ago

I'm getting the CATKIN_ENABLE_TESTING related error as well (filters package):

CMake Error at /opt/ros/indigo/share/catkin/cmake/test/tests.cmake:17 (message):
  add_rostest() is not available when tests are not enabled.  The CMake code
  should only use it inside a conditional block which checks that testing is
  enabled:

  if(CATKIN_ENABLE_TESTING)

    add_rostest(...)

  endif()

Call Stack (most recent call first):
  CMakeLists.txt:46 (add_rostest)

I'll try without the recently added flags and report back.

spmaniato commented 8 years ago

@lilouch For me, the CATKIN_ENABLE_TESTING issue above was resolved after catkin clean and then catkin config / build without the -DCATKIN_ENABLE_TESTING=0 flag.

mikepurvis commented 8 years ago

Yes, that was preemptive. Dropped here: 2f8008be0b30f0c65c8937088147137208214043

lironesamoun commented 8 years ago

Okey I'm now able to compile 179 over 194 packages. I have this error now :

Starting  >>> stage_ros                                                                                                                                   
__________________________________________________________________________________________________________________________________________________________
Errors     << pcl_ros:make /Users/libraries/ros-install-osx/indigo_desktop_full_ws/logs/pcl_ros/build.make.004.log                           
ld: library not found for -lvtkFiltersPython
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/libraries/ros-install-osx/indigo_desktop_full_ws/devel/.private/pcl_ros/lib/pcl_ros/convert_pointcloud_to_image] Error 1
make[1]: *** [CMakeFiles/convert_pointcloud_to_image.dir/all] Error 2
make: *** [all] Error 2
cd /Users/libraries/ros-install-osx/indigo_desktop_full_ws/build/pcl_ros; catkin build --get-env pcl_ros | catkin env -si  /usr/bin/make --jobserver-fds=6,7 -j; cd -
..........................................................................................................................................................
Failed     << pcl_ros:make                                    [ Exited with code 2 ]                                                                      
Failed    <<< pcl_ros                                         [ 0.4 seconds ]                                                                             
Abandoned <<< tf_conversions                                  [ Unrelated job failed ]                                                                    
Abandoned <<< turtle_tf                                       [ Unrelated job failed ]                                                                    
Abandoned <<< collada_urdf                                    [ Unrelated job failed ]                                                                    
Abandoned <<< pointcloud_to_laserscan                         [ Unrelated job failed ]                                                                    
Abandoned <<< rqt_robot_dashboard                             [ Unrelated job failed ]                                                                    
Abandoned <<< interactive_marker_tutorials                    [ Unrelated job failed ]                                                                    
Abandoned <<< laser_assembler                                 [ Unrelated job failed ]                                                                    
Abandoned <<< laser_filters                                   [ Unrelated job failed ]                                                                    
Abandoned <<< gazebo_plugins                                  [ Unrelated job failed ]                                                                    
Abandoned <<< robot_state_publisher                           [ Unrelated job failed ]                                                                    
Abandoned <<< rviz                                            [ Unrelated job failed ]                                                                    
Abandoned <<< librviz_tutorial                                [ Unrelated job failed ]                                                                    
Abandoned <<< rqt_rviz                                        [ Unrelated job failed ]                                                                    
Abandoned <<< rviz_plugin_tutorials                           [ Unrelated job failed ]                                                                    
Abandoned <<< rviz_python_tutorial                            [ Unrelated job failed ]                                                                    
Abandoned <<< urdf_tutorial                                   [ Unrelated job failed ]                                                                    
Finished  <<< gazebo_ros                                      [ 2.3 seconds ]                                                                             
Finished  <<< laser_geometry                                  [ 0.7 seconds ]                                                                             
Finished  <<< stage_ros                                       [ 1.3 seconds ]                                                                             
[build] Summary: 177 of 194 packages succeeded.                                                                                                           
[build]   Ignored:   31 packages were skipped or are blacklisted.                                                                                         
[build]   Warnings:  10 packages succeeded with warnings.                                                                                                 
[build]   Abandoned: 16 packages were abandoned.                                                                                                          
[build]   Failed:    1 packages failed.                                                                                                                   
[build] Runtime: 1 minute and 47.9 seconds total.      

It says that vtkfilters is not found but I checked and I have well installed VTK-7.0 from the website. If I write "locate vtkfiltersPython" on the command line, I get :

/usr/local/Cellar/vtk/7.0.0/include/vtk-7.0/vtkFiltersPythonModule.h
/usr/local/Cellar/vtk/7.0.0/lib/cmake/vtk-7.0/Modules/vtkFiltersPython.cmake
/usr/local/Cellar/vtk/7.0.0/lib/cmake/vtk-7.0/Modules/vtkFiltersPythonHierarchy.txt
/usr/local/Cellar/vtk/7.0.0/lib/libvtkFiltersPython-7.0.1.dylib
/usr/local/Cellar/vtk/7.0.0/lib/libvtkFiltersPython-7.0.dylib
/usr/local/Cellar/vtk/7.0.0/lib/libvtkFiltersPythonPython27D-7.0.1.dylib
/usr/local/Cellar/vtk/7.0.0/lib/libvtkFiltersPythonPython27D-7.0.dylib
/usr/local/Cellar/vtk/7.0.0/lib/python2.7/site-packages/vtk/vtkFiltersPython.py
/usr/local/Cellar/vtk/7.0.0/lib/python2.7/site-packages/vtk/vtkFiltersPythonPython.so
/usr/local/Cellar/vtk/7.0.0_1/include/vtk-7.0/vtkFiltersPythonModule.h
/usr/local/Cellar/vtk/7.0.0_1/lib/cmake/vtk-7.0/Modules/vtkFiltersPython.cmake
/usr/local/Cellar/vtk/7.0.0_1/lib/cmake/vtk-7.0/Modules/vtkFiltersPythonHierarchy.txt
/usr/local/Cellar/vtk/7.0.0_1/lib/libvtkFiltersPython-7.0.1.dylib
/usr/local/Cellar/vtk/7.0.0_1/lib/libvtkFiltersPython-7.0.dylib
/usr/local/Cellar/vtk/7.0.0_1/lib/libvtkFiltersPythonPython27D-7.0.1.dylib
/usr/local/Cellar/vtk/7.0.0_1/lib/libvtkFiltersPythonPython27D-7.0.dylib
/usr/local/Cellar/vtk/7.0.0_1/lib/python2.7/site-packages/vtk/vtkFiltersPython.py
/usr/local/Cellar/vtk/7.0.0_1/lib/python2.7/site-packages/vtk/vtkFiltersPython.pyc
/usr/local/Cellar/vtk/7.0.0_1/lib/python2.7/site-packages/vtk/vtkFiltersPythonPython.so
/usr/local/include/vtk-7.0/vtkFiltersPythonModule.h
/usr/local/lib/cmake/vtk-7.0/Modules/vtkFiltersPython.cmake
/usr/local/lib/cmake/vtk-7.0/Modules/vtkFiltersPythonHierarchy.txt
/usr/local/lib/libvtkFiltersPython-7.0.1.dylib
/usr/local/lib/libvtkFiltersPython-7.0.dylib
/usr/local/lib/libvtkFiltersPythonPython27D-7.0.1.dylib
/usr/local/lib/libvtkFiltersPythonPython27D-7.0.dylib
/usr/local/lib/python2.7/site-packages/vtk/vtkFiltersPython.py
/usr/local/lib/python2.7/site-packages/vtk/vtkFiltersPythonPython.so

I suspect that actually It's not vtkFiltersPython but vtkFiltersPythonPython. What do you think ?

I checked also my path variable echo $PATH /usr/local/bin:/usr/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/TeX/texbin:/usr/local/lib

and my LIBRARY_PATH variable : /usr/local/lib

We are almost there ! Thank in advance.

toyoxx commented 7 years ago

Sorry to hijack this thread, but I think it might be important.

I was trying to install ROS using the script, failing miserably several times. In this thread I found the answer to my problems, which was to run the build with lower parallelism (-j2). I think that it could be good, in order to reduce the risk of the script failing, to lower the parallelism directly in the install script.

I'm not sure whether there would be any negative effects from doing this, other than slowing the build speed. I'd prefer a slower, more reliable script than one faster but that fails most of the time.