Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for ROS2 Crystal #60

Closed
ruffsl opened this issue Dec 30, 2018 · 6 comments
Closed

Support for ROS2 Crystal #60

ruffsl opened this issue Dec 30, 2018 · 6 comments

Comments

@ruffsl
Copy link

ruffsl commented Dec 30, 2018

While following along with the readme, I encountered some build issues when building from ROS2 Crystal. @esteve , perhaps you might see the IDL issue generated from the following example Dockerfiles? I'd like to eventually get to making a dockerfile to build android apk for ROS2 with.

Dockerfile

FROM ros:crystal-ros-base-bionic

# install ros build tools
RUN apt-get update && apt-get install -y \
      default-jdk \
      gradle \
      python3-colcon-common-extensions && \
    rm -rf /var/lib/apt/lists/*

# clone ros package repo
ENV ROS_WS /opt/ros_ws
RUN mkdir -p $ROS_WS/src
WORKDIR $ROS_WS
RUN git -C src clone \
      https://github.com/esteve/ament_java.git
RUN git -C src clone \
      https://github.com/esteve/ros2_java.git
RUN git -C src clone \
      https://github.com/esteve/ros2_java_examples.git

# install ros package dependencies
RUN apt-get update && \
    rosdep update && \
    rosdep install -y \
      --from-paths \
        src/ \
      --ignore-src && \
    rm -rf /var/lib/apt/lists/*

# build ros package source
RUN . /opt/ros/$ROS_DISTRO/setup.sh && \
    colcon build \
      --cmake-args \
        -DCMAKE_BUILD_TYPE=Release

# source ros package from entrypoint
RUN sed --in-place --expression \
      '$isource "$ROS_WS/install/setup.bash"' \
      /ros_entrypoint.sh

# run ros package launch file
CMD ["ros2", "run", "rcljava_examples", "publisher_lambda"]

Build output:

$ docker build .
Sending build context to Docker daemon  3.072kB
Step 1/9 : FROM ros:crystal-ros-base-bionic
 ---> f7af64b98e6e
Step 2/9 : RUN apt-get update && apt-get install -y       default-jdk       gradle       python3-colcon-common-extensions &&     rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> e32cdb65afc8
Step 3/9 : ENV ROS_WS /opt/ros_ws
 ---> Using cache
 ---> 2aac0bf2ddcd
Step 4/9 : RUN mkdir -p $ROS_WS/src
 ---> Using cache
 ---> 61287981f7f6
Step 5/9 : WORKDIR $ROS_WS
 ---> Using cache
 ---> 490312830e21
Step 6/9 : RUN git -C src clone       https://github.com/esteve/ament_java.git
 ---> Using cache
 ---> 1c36ba2d99b5
Step 7/9 : RUN git -C src clone       https://github.com/esteve/ros2_java.git
 ---> Using cache
 ---> 2cd7c01c5bca
Step 8/9 : RUN . /opt/ros/$ROS_DISTRO/setup.sh &&     colcon build       --cmake-args         -DCMAKE_BUILD_TYPE=Release
 ---> Running in 2a007e373d4b
Starting >>> ament_java_resources
Finished <<< ament_java_resources [0.52s]
Starting >>> ament_build_type_gradle
Finished <<< ament_build_type_gradle [0.59s]
Starting >>> ament_cmake_export_jars
Starting >>> ament_cmake_export_jni_libraries
Finished <<< ament_cmake_export_jars [0.49s]
Starting >>> rcljava_common
Finished <<< ament_cmake_export_jni_libraries [0.51s]
Finished <<< rcljava_common [3.43s]
--- stderr: rcljava_common
warning: [options] bootstrap class path not set in conjunction with -source 6
warning: [options] source value 6 is obsolete and will be removed in a future release
warning: [options] target value 1.6 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
4 warnings
---
Starting >>> rosidl_generator_java
--- stderr: rosidl_generator_java
CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgConstantsfastrtps_c" does not exist.
Call Stack (most recent call first):
  /opt/ros/crystal/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /opt/ros/crystal/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgBoolfastrtps_c" does not exist.
Call Stack (most recent call first):
  /opt/ros/crystal/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /opt/ros/crystal/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgBytefastrtps_c" does not exist.
Call Stack (most recent call first):
  /opt/ros/crystal/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /opt/ros/crystal/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgUint8fastrtps_c" does not exist.
Call Stack (most recent call first):
  /opt/ros/crystal/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /opt/ros/crystal/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgPrimitivesfastrtps_c" does not exist.
Call Stack (most recent call first):
  /opt/ros/crystal/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /opt/ros/crystal/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgFloat64fastrtps_c" does not exist.
Call Stack (most recent call first):
  /opt/ros/crystal/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /opt/ros/crystal/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgInt16fastrtps_c" does not exist.
Call Stack (most recent call first):
  /opt/ros/crystal/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /opt/ros/crystal/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgCharfastrtps_c" does not exist.
Call Stack (most recent call first):
  /opt/ros/crystal/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /opt/ros/crystal/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgFloat32fastrtps_c" does not exist.
Call Stack (most recent call first):
  /opt/ros/crystal/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /opt/ros/crystal/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgInt32fastrtps_c" does not exist.
Call Stack (most recent call first):
  /opt/ros/crystal/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /opt/ros/crystal/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgInt8fastrtps_c" does not exist.
Call Stack (most recent call first):
  /opt/ros/crystal/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /opt/ros/crystal/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgInt64fastrtps_c" does not exist.
Call Stack (most recent call first):
  /opt/ros/crystal/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /opt/ros/crystal/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgVariousfastrtps_c" does not exist.
Call Stack (most recent call first):
  /opt/ros/crystal/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /opt/ros/crystal/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgUint16fastrtps_c" does not exist.
Call Stack (most recent call first):
  /opt/ros/crystal/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /opt/ros/crystal/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgNestedfastrtps_c" does not exist.
Call Stack (most recent call first):
  /opt/ros/crystal/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /opt/ros/crystal/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgEmptyfastrtps_c" does not exist.
Call Stack (most recent call first):
  /opt/ros/crystal/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /opt/ros/crystal/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgUint32fastrtps_c" does not exist.
Call Stack (most recent call first):
  /opt/ros/crystal/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /opt/ros/crystal/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgStringsfastrtps_c" does not exist.
Call Stack (most recent call first):
  /opt/ros/crystal/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /opt/ros/crystal/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgUint64fastrtps_c" does not exist.
Call Stack (most recent call first):
  /opt/ros/crystal/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /opt/ros/crystal/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


---
Failed   <<< rosidl_generator_java	[ Exited with code 1 ]

Summary: 5 packages finished [8.00s]
  1 package failed: rosidl_generator_java
  2 packages had stderr output: rcljava_common rosidl_generator_java
  1 package not processed
The command '/bin/sh -c . /opt/ros/$ROS_DISTRO/setup.sh &&     colcon build       --cmake-args         -DCMAKE_BUILD_TYPE=Release' returned a non-zero code: 1
@esteve
Copy link
Member

esteve commented Dec 30, 2018

I haven't tried ros2_java with Crystal yet, but the problem seems to come from using the binary distribution of ROS2 instead of building the workspace from scratch (see https://github.com/esteve/ros2_java/issues/47).

The Java code generator is integrated into the rosidl_generator_packages virtual package, but at the moment it can't be mixed with an existing ROS2 installation. Could you try building Crystal and ros2_java in the same workspace? Thanks.

@ruffsl
Copy link
Author

ruffsl commented Dec 31, 2018

Could you try building Crystal and ros2_java in the same workspace?

About the same issue, please see the following build:

Dockerfile

FROM ubuntu:bionic

# setup timezone
RUN echo 'Etc/UTC' > /etc/timezone && \
    ln -s /usr/share/zoneinfo/Etc/UTC /etc/localtime && \
    apt-get update && apt-get install -q -y tzdata && rm -rf /var/lib/apt/lists/*

# install packages
RUN apt-get update && apt-get install -q -y \
      bash-completion \
      dirmngr \
      git \
      gnupg2 \
      libasio-dev \
      libtinyxml2-dev \
      lsb-release \
      python3-pip \
      wget \
    && rm -rf /var/lib/apt/lists/*

# setup ros2 keys
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 421C365BD9FF1F717815A3895523BAEEB01FA116

# setup sources.list
RUN echo "deb http://packages.ros.org/ros2/ubuntu `lsb_release -sc` main" > /etc/apt/sources.list.d/ros2-latest.list

# setup environment
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8

# install packages from the ROS repositories
RUN apt-get update && apt-get install -y --no-install-recommends \
      python3-catkin-pkg-modules \
      python3-colcon-common-extensions \
      python3-rosdep \
      python3-vcstool \
    && rm -rf /var/lib/apt/lists/*

# install python packages
RUN pip3 install -U \
      argcomplete \
      flake8 \
      flake8-blind-except \
      flake8-builtins \
      flake8-class-newline \
      flake8-comprehensions \
      flake8-deprecated \
      flake8-docstrings \
      flake8-import-order \
      flake8-quotes \
      pytest-repeat \
      pytest-rerunfailures

# bootstrap rosdep
ENV ROSDISTRO_INDEX_URL https://raw.githubusercontent.com/ros2/rosdistro/ros2/index.yaml
RUN rosdep init \
    && rosdep update

# install ros build tools
RUN apt-get update && apt-get install -y \
      default-jdk \
      gradle && \
    rm -rf /var/lib/apt/lists/*

# clone source
ENV ROS2_WS /root/ros2_ws
RUN mkdir -p $ROS2_WS/src
WORKDIR $ROS2_WS
RUN wget https://raw.githubusercontent.com/ros2/ros2/release-latest/ros2.repos \
    && vcs import src < ros2.repos
RUN git -C src clone \
      https://github.com/esteve/ament_java.git
RUN git -C src clone \
      https://github.com/esteve/ros2_java.git
RUN git -C src clone \
      https://github.com/esteve/ros2_java_examples.git

# install dependencies
RUN apt-get update && rosdep install -y \
    --from-paths src \
    --ignore-src \
    --rosdistro bouncy \
    --skip-keys "console_bridge fastcdr fastrtps libopensplice67 rti-connext-dds-5.3.1 urdfdom_headers rosidl_typesupport_java" \
    && rm -rf /var/lib/apt/lists/*

# build source
WORKDIR $ROS2_WS
RUN colcon \
    build \
    --cmake-args \
      -DSECURITY=ON \
    --no-warn-unused-cli \
    --symlink-install \
    --packages-up-to \
      rcljava_examples

# setup bashrc
RUN cp /etc/skel/.bashrc ~/

# setup entrypoint
COPY ./ros2_source_entrypoint.sh /

ENTRYPOINT ["/ros2_source_entrypoint.sh"]
# CMD ["bash"]
CMD ["ros2", "run", "rcljava_examples", "publisher_lambda"]

Build output:

$ docker build .
Sending build context to Docker daemon   5.12kB

Step 1/26 : FROM ubuntu:bionic
 ---> 1d9c17228a9e
Step 2/26 : RUN echo 'Etc/UTC' > /etc/timezone &&     ln -s /usr/share/zoneinfo/Etc/UTC /etc/localtime &&     apt-get update && apt-get install -q -y tzdata && rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 5f4442778b13
Step 3/26 : RUN apt-get update && apt-get install -q -y       bash-completion       dirmngr       git       gnupg2       libasio-dev       libtinyxml2-dev       lsb-release       python3-pip       wget     && rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 0b7ab734bdd1
Step 4/26 : RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 421C365BD9FF1F717815A3895523BAEEB01FA116
 ---> Using cache
 ---> ec3cd7c53413
Step 5/26 : RUN echo "deb http://packages.ros.org/ros2/ubuntu `lsb_release -sc` main" > /etc/apt/sources.list.d/ros2-latest.list
 ---> Using cache
 ---> c63c9b181d62
Step 6/26 : ENV LANG C.UTF-8
 ---> Using cache
 ---> d0d6d8677f4b
Step 7/26 : ENV LC_ALL C.UTF-8
 ---> Using cache
 ---> f261ec04a0e4
Step 8/26 : RUN apt-get update && apt-get install -y --no-install-recommends       python3-catkin-pkg-modules       python3-colcon-common-extensions       python3-rosdep       python3-vcstool     && rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 6d972c350d5e
Step 9/26 : RUN pip3 install -U       argcomplete       flake8       flake8-blind-except       flake8-builtins       flake8-class-newline       flake8-comprehensions       flake8-deprecated       flake8-docstrings       flake8-import-order       flake8-quotes       pytest-repeat       pytest-rerunfailures
 ---> Using cache
 ---> 0ff207c3409b
Step 10/26 : ENV ROSDISTRO_INDEX_URL https://raw.githubusercontent.com/ros2/rosdistro/ros2/index.yaml
 ---> Using cache
 ---> ab95d7ae831c
Step 11/26 : RUN rosdep init     && rosdep update
 ---> Using cache
 ---> d5e8a73e7140
Step 12/26 : RUN apt-get update && apt-get install -y       default-jdk       gradle &&     rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 0694475b2ca0
Step 13/26 : ENV ROS2_WS /root/ros2_ws
 ---> Using cache
 ---> 2b4183eab480
Step 14/26 : RUN mkdir -p $ROS2_WS/src
 ---> Using cache
 ---> 6df2cd5ecbf6
Step 15/26 : WORKDIR $ROS2_WS
 ---> Using cache
 ---> 62f662a3bf92
Step 16/26 : RUN wget https://raw.githubusercontent.com/ros2/ros2/release-latest/ros2.repos     && vcs import src < ros2.repos
 ---> Using cache
 ---> a20a714d2ec8
Step 17/26 : RUN git -C src clone       https://github.com/esteve/ament_java.git
 ---> Using cache
 ---> 0656a2544cf6
Step 18/26 : RUN git -C src clone       https://github.com/esteve/ros2_java.git
 ---> Using cache
 ---> 16a827beff69
Step 19/26 : RUN git -C src clone       https://github.com/esteve/ros2_java_examples.git
 ---> Using cache
 ---> 6236552e9a43
Step 20/26 : RUN apt-get update && rosdep install -y     --from-paths src     --ignore-src     --rosdistro bouncy     --skip-keys "console_bridge fastcdr fastrtps libopensplice67 rti-connext-dds-5.3.1 urdfdom_headers rosidl_typesupport_java"     && rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 7c144784a64e
Step 21/26 : WORKDIR $ROS2_WS
 ---> Using cache
 ---> 88ba365e944d
Step 22/26 : RUN colcon     build     --cmake-args       -DSECURITY=ON     --no-warn-unused-cli     --symlink-install     --packages-up-to       rcljava_examples
 ---> Running in 37f85ee57da6
�[91m[1.675s] WARNING:colcon.colcon_core.verb:No task extension to 'build' a 'ros.ament_gradle' package
�[0mStarting >>> ament_package
�]0;colcon build [0/102 done] [1 ongoing]�Starting >>> ament_flake8
�]0;colcon build [0/102 done] [2 ongoing]�Starting >>> ament_cppcheck
�]0;colcon build [0/102 done] [3 ongoing]�Starting >>> fastcdr
�]0;colcon build [0/102 done] [4 ongoing]�Starting >>> poco_vendor
�]0;colcon build [0/102 done] [5 ongoing]�Starting >>> gtest_vendor
�]0;colcon build [0/102 done] [6 ongoing]�Starting >>> osrf_pycommon
�]0;colcon build [0/102 done] [7 ongoing]�Starting >>> ament_pep8
�]0;colcon build [0/102 done] [8 ongoing]�Starting >>> osrf_testing_tools_cpp
�]0;colcon build [0/102 done] [9 ongoing]�Finished <<< ament_package [1.46s]
�]0;colcon build [1/102 done] [8 ongoing]�Finished <<< ament_flake8 [1.46s]
�]0;colcon build [2/102 done] [7 ongoing]�Finished <<< ament_cppcheck [1.46s]
�]0;colcon build [3/102 done] [6 ongoing]�Starting >>> ament_cmake_core
�]0;colcon build [3/102 done] [7 ongoing]�Starting >>> ament_pep257
�]0;colcon build [3/102 done] [8 ongoing]�Finished <<< osrf_pycommon [1.47s]
�]0;colcon build [4/102 done] [7 ongoing]�Finished <<< ament_pep8 [1.78s]
�]0;colcon build [5/102 done] [6 ongoing]�Starting >>> ament_pyflakes
�]0;colcon build [5/102 done] [7 ongoing]�Finished <<< gtest_vendor [2.09s]
�]0;colcon build [6/102 done] [6 ongoing]�Starting >>> gmock_vendor
�]0;colcon build [6/102 done] [7 ongoing]�Finished <<< ament_pep257 [0.74s]
�]0;colcon build [7/102 done] [6 ongoing]�Starting >>> ament_copyright
�]0;colcon build [7/102 done] [7 ongoing]�Starting >>> ament_index_python
�]0;colcon build [7/102 done] [8 ongoing]�Finished <<< gmock_vendor [0.49s]
�]0;colcon build [8/102 done] [7 ongoing]�Finished <<< poco_vendor [2.58s]
�]0;colcon build [9/102 done] [6 ongoing]�Finished <<< ament_pyflakes [0.79s]
�]0;colcon build [10/102 done] [5 ongoing]�Finished <<< ament_cmake_core [1.45s]
�]0;colcon build [11/102 done] [4 ongoing]�Starting >>> ament_cmake_test
�]0;colcon build [11/102 done] [5 ongoing]�Starting >>> ament_cmake_libraries
�]0;colcon build [11/102 done] [6 ongoing]�Starting >>> ament_cmake_export_libraries
�]0;colcon build [11/102 done] [7 ongoing]�Starting >>> ament_cmake_include_directories
�]0;colcon build [11/102 done] [8 ongoing]�Starting >>> ament_cmake_export_definitions
�]0;colcon build [11/102 done] [9 ongoing]�Starting >>> ament_cmake_export_include_directories
�]0;colcon build [11/102 done] [10 ongoing]�Starting >>> ament_cmake_export_link_flags
�]0;colcon build [11/102 done] [11 ongoing]�Starting >>> ament_cmake_python
�]0;colcon build [11/102 done] [12 ongoing]�Finished <<< ament_copyright [0.76s]
�]0;colcon build [12/102 done] [11 ongoing]�Starting >>> ament_lint_cmake
�]0;colcon build [12/102 done] [12 ongoing]�Starting >>> ament_cpplint
�]0;colcon build [12/102 done] [13 ongoing]�Starting >>> ament_xmllint
�]0;colcon build [12/102 done] [14 ongoing]�Starting >>> launch
�]0;colcon build [12/102 done] [15 ongoing]�Finished <<< ament_index_python [2.21s]
�]0;colcon build [13/102 done] [14 ongoing]�Finished <<< ament_lint_cmake [1.46s]
�]0;colcon build [14/102 done] [13 ongoing]�Finished <<< ament_cpplint [1.46s]
�]0;colcon build [15/102 done] [12 ongoing]�Finished <<< ament_xmllint [1.50s]
�]0;colcon build [16/102 done] [11 ongoing]�Finished <<< fastcdr [4.60s]
�]0;colcon build [17/102 done] [10 ongoing]�Starting >>> fastrtps
�]0;colcon build [17/102 done] [11 ongoing]�Finished <<< ament_cmake_export_include_directories [1.86s]
�]0;colcon build [18/102 done] [10 ongoing]�Finished <<< ament_cmake_export_link_flags [1.87s]
�]0;colcon build [19/102 done] [9 ongoing]�Finished <<< ament_cmake_libraries [1.91s]
�]0;colcon build [20/102 done] [8 ongoing]�Finished <<< ament_cmake_export_libraries [1.91s]
�]0;colcon build [21/102 done] [7 ongoing]�Starting >>> ament_cmake_export_dependencies
�]0;colcon build [21/102 done] [8 ongoing]�Starting >>> ament_cmake_export_interfaces
�]0;colcon build [21/102 done] [9 ongoing]�Finished <<< ament_cmake_include_directories [1.94s]
�]0;colcon build [22/102 done] [8 ongoing]�Starting >>> ament_cmake_target_dependencies
�]0;colcon build [22/102 done] [9 ongoing]�Finished <<< ament_cmake_python [1.93s]
�]0;colcon build [23/102 done] [8 ongoing]�Finished <<< ament_cmake_test [1.98s]
�]0;colcon build [24/102 done] [7 ongoing]�Finished <<< ament_cmake_export_definitions [1.97s]
�]0;colcon build [25/102 done] [6 ongoing]�Starting >>> ament_cmake_lint_cmake
�]0;colcon build [25/102 done] [7 ongoing]�Starting >>> ament_lint_auto
�]0;colcon build [25/102 done] [8 ongoing]�Starting >>> ament_cmake_gtest
�]0;colcon build [25/102 done] [9 ongoing]�Starting >>> ament_cmake_pytest
�]0;colcon build [25/102 done] [10 ongoing]�Finished <<< launch [1.96s]
�]0;colcon build [26/102 done] [9 ongoing]�Starting >>> launch_testing
�]0;colcon build [26/102 done] [10 ongoing]�Finished <<< ament_cmake_export_dependencies [0.84s]
�]0;colcon build [27/102 done] [9 ongoing]�Finished <<< ament_cmake_target_dependencies [0.83s]
�]0;colcon build [28/102 done] [8 ongoing]�Finished <<< ament_cmake_export_interfaces [0.86s]
�]0;colcon build [29/102 done] [7 ongoing]�Starting >>> ament_cmake
�]0;colcon build [29/102 done] [8 ongoing]�Finished <<< ament_cmake_pytest [0.79s]
�]0;colcon build [30/102 done] [7 ongoing]�Finished <<< ament_lint_auto [0.82s]
�]0;colcon build [31/102 done] [6 ongoing]�Finished <<< ament_cmake_gtest [0.83s]
�]0;colcon build [32/102 done] [5 ongoing]�Starting >>> ament_cmake_gmock
�]0;colcon build [32/102 done] [6 ongoing]�Finished <<< ament_cmake_lint_cmake [0.88s]
�]0;colcon build [33/102 done] [5 ongoing]�Starting >>> ament_cmake_copyright
�]0;colcon build [33/102 done] [6 ongoing]�Finished <<< launch_testing [0.88s]
�]0;colcon build [34/102 done] [5 ongoing]�Finished <<< ament_cmake [0.65s]
�]0;colcon build [35/102 done] [4 ongoing]�Starting >>> uncrustify_vendor
�]0;colcon build [35/102 done] [5 ongoing]�Finished <<< ament_cmake_gmock [0.64s]
�]0;colcon build [36/102 done] [4 ongoing]�Finished <<< ament_cmake_copyright [0.70s]
�]0;colcon build [37/102 done] [3 ongoing]�Starting >>> ament_cmake_cppcheck
�]0;colcon build [37/102 done] [4 ongoing]�Starting >>> ament_cmake_cpplint
�]0;colcon build [37/102 done] [5 ongoing]�Starting >>> ament_cmake_flake8
�]0;colcon build [37/102 done] [6 ongoing]�Starting >>> ament_cmake_pep257
�]0;colcon build [37/102 done] [7 ongoing]�Starting >>> ament_cmake_xmllint
�]0;colcon build [37/102 done] [8 ongoing]�Finished <<< ament_cmake_xmllint [0.69s]
�]0;colcon build [38/102 done] [7 ongoing]�Finished <<< ament_cmake_cpplint [0.72s]
�]0;colcon build [39/102 done] [6 ongoing]�Finished <<< ament_cmake_cppcheck [0.74s]
�]0;colcon build [40/102 done] [5 ongoing]�Finished <<< ament_cmake_flake8 [0.74s]
�]0;colcon build [41/102 done] [4 ongoing]�Finished <<< ament_cmake_pep257 [0.75s]
�]0;colcon build [42/102 done] [3 ongoing]�Finished <<< osrf_testing_tools_cpp [13.0s]
�]0;colcon build [43/102 done] [2 ongoing]�Finished <<< uncrustify_vendor [24.0s]
�]0;colcon build [44/102 done] [1 ongoing]�Starting >>> ament_uncrustify
�]0;colcon build [44/102 done] [2 ongoing]�Finished <<< ament_uncrustify [0.66s]
�]0;colcon build [45/102 done] [1 ongoing]�Starting >>> ament_cmake_uncrustify
�]0;colcon build [45/102 done] [2 ongoing]�Finished <<< ament_cmake_uncrustify [0.81s]
�]0;colcon build [46/102 done] [1 ongoing]�Starting >>> ament_lint_common
�]0;colcon build [46/102 done] [2 ongoing]�Finished <<< ament_lint_common [0.72s]
�]0;colcon build [47/102 done] [1 ongoing]�Starting >>> rosidl_adapter
�]0;colcon build [47/102 done] [2 ongoing]�Starting >>> rosidl_typesupport_interface
�]0;colcon build [47/102 done] [3 ongoing]�Starting >>> fastrtps_cmake_module
�]0;colcon build [47/102 done] [4 ongoing]�Starting >>> connext_cmake_module
�]0;colcon build [47/102 done] [5 ongoing]�Starting >>> opensplice_cmake_module
�]0;colcon build [47/102 done] [6 ongoing]�Starting >>> rmw_implementation_cmake
�]0;colcon build [47/102 done] [7 ongoing]�Starting >>> ament_java_resources
�]0;colcon build [47/102 done] [8 ongoing]�Starting >>> python_cmake_module
�]0;colcon build [47/102 done] [9 ongoing]�Starting >>> ament_cmake_ros
�]0;colcon build [47/102 done] [10 ongoing]�Finished <<< rosidl_typesupport_interface [0.94s]
�]0;colcon build [48/102 done] [9 ongoing]�Finished <<< ament_java_resources [0.90s]
�]0;colcon build [49/102 done] [8 ongoing]�Finished <<< python_cmake_module [0.91s]
�]0;colcon build [50/102 done] [7 ongoing]�Starting >>> ament_build_type_gradle
�]0;colcon build [50/102 done] [8 ongoing]�Finished <<< rmw_implementation_cmake [0.95s]
�]0;colcon build [51/102 done] [7 ongoing]�Finished <<< opensplice_cmake_module [1.28s]
�]0;colcon build [52/102 done] [6 ongoing]�Finished <<< ament_cmake_ros [1.26s]
�]0;colcon build [53/102 done] [5 ongoing]�Starting >>> rcutils
�]0;colcon build [53/102 done] [6 ongoing]�Starting >>> rcl_logging_noop
�]0;colcon build [53/102 done] [7 ongoing]�Finished <<< ament_build_type_gradle [0.78s]
�]0;colcon build [54/102 done] [6 ongoing]�Starting >>> ament_cmake_export_jars
�]0;colcon build [54/102 done] [7 ongoing]�Starting >>> ament_cmake_export_jni_libraries
�]0;colcon build [54/102 done] [8 ongoing]�Finished <<< rosidl_adapter [2.00s]
�]0;colcon build [55/102 done] [7 ongoing]�Starting >>> rosidl_parser
�]0;colcon build [55/102 done] [8 ongoing]�Finished <<< fastrtps_cmake_module [2.19s]
�]0;colcon build [56/102 done] [7 ongoing]�Finished <<< connext_cmake_module [2.26s]
�]0;colcon build [57/102 done] [6 ongoing]�Finished <<< ament_cmake_export_jars [0.79s]
�]0;colcon build [58/102 done] [5 ongoing]�Finished <<< ament_cmake_export_jni_libraries [0.83s]
�]0;colcon build [59/102 done] [4 ongoing]�Finished <<< rosidl_parser [1.55s]
�]0;colcon build [60/102 done] [3 ongoing]�Starting >>> rosidl_actions
�]0;colcon build [60/102 done] [4 ongoing]�Finished <<< rcl_logging_noop [2.34s]
�]0;colcon build [61/102 done] [3 ongoing]�Finished <<< rosidl_actions [2.61s]
�]0;colcon build [62/102 done] [2 ongoing]�Starting >>> rosidl_cmake
�]0;colcon build [62/102 done] [3 ongoing]�Finished <<< rosidl_cmake [1.21s]
�]0;colcon build [63/102 done] [2 ongoing]�Starting >>> rosidl_generator_c
�]0;colcon build [63/102 done] [3 ongoing]�Starting >>> rosidl_generator_dds_idl
�]0;colcon build [63/102 done] [4 ongoing]�Starting >>> rcljava_common
�]0;colcon build [63/102 done] [5 ongoing]�Finished <<< rosidl_generator_dds_idl [1.83s]
�]0;colcon build [64/102 done] [4 ongoing]�Finished <<< rcutils [10.8s]
�[91m--- stderr: rcljava_common
warning: [options] bootstrap class path not set in conjunction with -source 6
warning: [options] source value 6 is obsolete and will be removed in a future release
warning: [options] target value 1.6 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
4 warnings
---
�[0m�]0;colcon build [65/102 done] [3 ongoing]�Finished <<< rcljava_common [5.67s]
�]0;colcon build [66/102 done] [2 ongoing]�Finished <<< fastrtps [43.9s]
�]0;colcon build [67/102 done] [1 ongoing]�Finished <<< rosidl_generator_c [18.4s]
�]0;colcon build [68/102 done] [0 ongoing]�Starting >>> rmw
�]0;colcon build [68/102 done] [1 ongoing]�Starting >>> rosidl_generator_cpp
�]0;colcon build [68/102 done] [2 ongoing]�Starting >>> rosidl_typesupport_introspection_c
�]0;colcon build [68/102 done] [3 ongoing]�Finished <<< rosidl_typesupport_introspection_c [2.88s]
�]0;colcon build [69/102 done] [2 ongoing]�Finished <<< rmw [7.65s]
�]0;colcon build [70/102 done] [1 ongoing]�Starting >>> rmw_fastrtps_shared_cpp
�]0;colcon build [70/102 done] [2 ongoing]�Starting >>> rmw_connext_shared_cpp
�[91m--- stderr: rmw_connext_shared_cpp
CMake Warning at CMakeLists.txt:22 (message):
  Could not find RTI Connext - skipping 'rmw_connext_shared_cpp'


---
�[0m�]0;colcon build [70/102 done] [3 ongoing]�Finished <<< rmw_connext_shared_cpp [2.40s]
�]0;colcon build [71/102 done] [2 ongoing]�Finished <<< rmw_fastrtps_shared_cpp [6.38s]
�]0;colcon build [72/102 done] [1 ongoing]�Finished <<< rosidl_generator_cpp [18.9s]
�]0;colcon build [73/102 done] [0 ongoing]�Starting >>> rosidl_typesupport_connext_cpp
�]0;colcon build [73/102 done] [1 ongoing]�Starting >>> rosidl_typesupport_fastrtps_cpp
�]0;colcon build [73/102 done] [2 ongoing]�Starting >>> rosidl_typesupport_opensplice_cpp
�]0;colcon build [73/102 done] [3 ongoing]�Starting >>> rosidl_typesupport_introspection_cpp
�[91m--- stderr: rosidl_typesupport_connext_cpp
CMake Warning at CMakeLists.txt:32 (message):
  Could not find RTI Connext - skipping 'rosidl_typesupport_connext_cpp'


---
�[0m�]0;colcon build [73/102 done] [4 ongoing]�Finished <<< rosidl_typesupport_connext_cpp [2.31s]
�]0;colcon build [74/102 done] [3 ongoing]�Starting >>> rosidl_typesupport_connext_c
�]0;colcon build [74/102 done] [4 ongoing]�Finished <<< rosidl_typesupport_introspection_cpp [2.91s]
�]0;colcon build [75/102 done] [3 ongoing]�Starting >>> rmw_fastrtps_dynamic_cpp
�]0;colcon build [75/102 done] [4 ongoing]�Finished <<< rosidl_typesupport_fastrtps_cpp [3.10s]
�]0;colcon build [76/102 done] [3 ongoing]�Starting >>> rosidl_typesupport_fastrtps_c
�]0;colcon build [76/102 done] [4 ongoing]�Finished <<< rosidl_typesupport_opensplice_cpp [3.39s]
�]0;colcon build [77/102 done] [3 ongoing]�Starting >>> rosidl_typesupport_opensplice_c
�[91m--- stderr: rosidl_typesupport_connext_c
CMake Warning at CMakeLists.txt:37 (message):
  Could not find RTI Connext - skipping 'rosidl_typesupport_connext_c'


---
�[0m�]0;colcon build [77/102 done] [4 ongoing]�Finished <<< rosidl_typesupport_connext_c [2.32s]
�]0;colcon build [78/102 done] [3 ongoing]�Starting >>> rmw_connext_cpp
�]0;colcon build [78/102 done] [4 ongoing]�Finished <<< rosidl_typesupport_fastrtps_c [3.72s]
�]0;colcon build [79/102 done] [3 ongoing]�Starting >>> rmw_fastrtps_cpp
�]0;colcon build [79/102 done] [4 ongoing]�Finished <<< rosidl_typesupport_opensplice_c [3.50s]
�]0;colcon build [80/102 done] [3 ongoing]�Starting >>> rmw_opensplice_cpp
�[91m--- stderr: rmw_connext_cpp
CMake Warning at CMakeLists.txt:27 (message):
  Could not find RTI Connext - skipping 'rmw_connext_cpp'


---
�[0m�]0;colcon build [80/102 done] [4 ongoing]�Finished <<< rmw_connext_cpp [2.82s]
�]0;colcon build [81/102 done] [3 ongoing]�Finished <<< rmw_fastrtps_dynamic_cpp [6.14s]
�]0;colcon build [82/102 done] [2 ongoing]�Finished <<< rmw_opensplice_cpp [6.79s]
�]0;colcon build [83/102 done] [1 ongoing]�Finished <<< rmw_fastrtps_cpp [7.10s]
�]0;colcon build [84/102 done] [0 ongoing]�Starting >>> rmw_implementation
�]0;colcon build [84/102 done] [1 ongoing]�Finished <<< rmw_implementation [3.98s]
�]0;colcon build [85/102 done] [0 ongoing]�Starting >>> rosidl_typesupport_c
�]0;colcon build [85/102 done] [1 ongoing]�Finished <<< rosidl_typesupport_c [4.16s]
�]0;colcon build [86/102 done] [0 ongoing]�Starting >>> rosidl_generator_py
�]0;colcon build [86/102 done] [1 ongoing]�Starting >>> rosidl_typesupport_cpp
�]0;colcon build [86/102 done] [2 ongoing]�Starting >>> rosidl_generator_java
�]0;colcon build [86/102 done] [3 ongoing]�Finished <<< rosidl_typesupport_cpp [3.93s]
�[91m--- stderr: rosidl_generator_java
CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgVariousfastrtps_c" does not exist.
Call Stack (most recent call first):
  /root/ros2_ws/install/ament_cmake_core/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /root/ros2_ws/install/rosidl_cmake/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgUint16fastrtps_c" does not exist.
Call Stack (most recent call first):
  /root/ros2_ws/install/ament_cmake_core/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /root/ros2_ws/install/rosidl_cmake/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgPrimitivesfastrtps_c" does not exist.
Call Stack (most recent call first):
  /root/ros2_ws/install/ament_cmake_core/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /root/ros2_ws/install/rosidl_cmake/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgNestedfastrtps_c" does not exist.
Call Stack (most recent call first):
  /root/ros2_ws/install/ament_cmake_core/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /root/ros2_ws/install/rosidl_cmake/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgUint8fastrtps_c" does not exist.
Call Stack (most recent call first):
  /root/ros2_ws/install/ament_cmake_core/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /root/ros2_ws/install/rosidl_cmake/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgConstantsfastrtps_c" does not exist.
Call Stack (most recent call first):
  /root/ros2_ws/install/ament_cmake_core/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /root/ros2_ws/install/rosidl_cmake/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgBytefastrtps_c" does not exist.
Call Stack (most recent call first):
  /root/ros2_ws/install/ament_cmake_core/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /root/ros2_ws/install/rosidl_cmake/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgBoolfastrtps_c" does not exist.
Call Stack (most recent call first):
  /root/ros2_ws/install/ament_cmake_core/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /root/ros2_ws/install/rosidl_cmake/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgUint32fastrtps_c" does not exist.
Call Stack (most recent call first):
  /root/ros2_ws/install/ament_cmake_core/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /root/ros2_ws/install/rosidl_cmake/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgEmptyfastrtps_c" does not exist.
Call Stack (most recent call first):
  /root/ros2_ws/install/ament_cmake_core/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /root/ros2_ws/install/rosidl_cmake/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgFloat64fastrtps_c" does not exist.
Call Stack (most recent call first):
  /root/ros2_ws/install/ament_cmake_core/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /root/ros2_ws/install/rosidl_cmake/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgInt16fastrtps_c" does not exist.
Call Stack (most recent call first):
  /root/ros2_ws/install/ament_cmake_core/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /root/ros2_ws/install/rosidl_cmake/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgCharfastrtps_c" does not exist.
Call Stack (most recent call first):
  /root/ros2_ws/install/ament_cmake_core/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /root/ros2_ws/install/rosidl_cmake/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgFloat32fastrtps_c" does not exist.
Call Stack (most recent call first):
  /root/ros2_ws/install/ament_cmake_core/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /root/ros2_ws/install/rosidl_cmake/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgInt32fastrtps_c" does not exist.
Call Stack (most recent call first):
  /root/ros2_ws/install/ament_cmake_core/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /root/ros2_ws/install/rosidl_cmake/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgInt8fastrtps_c" does not exist.
Call Stack (most recent call first):
  /root/ros2_ws/install/ament_cmake_core/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /root/ros2_ws/install/rosidl_cmake/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgInt64fastrtps_c" does not exist.
Call Stack (most recent call first):
  /root/ros2_ws/install/ament_cmake_core/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /root/ros2_ws/install/rosidl_cmake/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgStringsfastrtps_c" does not exist.
Call Stack (most recent call first):
  /root/ros2_ws/install/ament_cmake_core/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /root/ros2_ws/install/rosidl_cmake/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


CMake Error at cmake/rosidl_generator_java_generate_interfaces.cmake:251 (add_dependencies):
  The dependency target
  "rosidl_generator_java__rosidl_typesupport_fastrtps_c" of target
  "msgUint64fastrtps_c" does not exist.
Call Stack (most recent call first):
  /root/ros2_ws/install/ament_cmake_core/share/ament_cmake_core/cmake/core/ament_execute_extensions.cmake:38 (include)
  /root/ros2_ws/install/rosidl_cmake/share/rosidl_cmake/cmake/rosidl_generate_interfaces.cmake:280 (ament_execute_extensions)
  CMakeLists.txt:73 (rosidl_generate_interfaces)


---
Failed   <<< rosidl_generator_java	[ Exited with code 1 ]
�[0m�]0;colcon build [87/102 done] [2 ongoing]��]0;colcon build [88/102 done] [1 ongoing]�Aborted  <<< rosidl_generator_py
�]0;colcon build [89/102 done] [0 ongoing]�
Summary: 87 packages finished [2min 3s]
  1 package failed: rosidl_generator_java
  1 package aborted: rosidl_generator_py
  6 packages had stderr output: rcljava_common rmw_connext_cpp rmw_connext_shared_cpp rosidl_generator_java rosidl_typesupport_connext_c rosidl_typesupport_connext_cpp
  13 packages not processed
The command '/bin/sh -c colcon     build     --cmake-args       -DSECURITY=ON     --no-warn-unused-cli     --symlink-install     --packages-up-to       rcljava_examples' returned a non-zero code: 1

@jacobperron
Copy link
Contributor

There were major changes made to the rosidl pipeline in Crystal (which probably explains the errors).

I've started updating rosidl_generator_java to work with the new pipeline. Specifically, I plan to target Dashing (skipping Crystal); making changes to the rest of ros2_java as necessary.

Ultimately, I'll be working towards feature parity with rclcpp and rclpy.

@kerliang0801
Copy link

I've started updating rosidl_generator_java to work with the new pipeline. Specifically, I plan to target Dashing (skipping Crystal); making changes to the rest of ros2_java as necessary.

Ultimately, I'll be working towards feature parity with rclcpp and rclpy.

@jacobperron Really appreciate your effort and contributions!! You're awesome:D Just wondering if there's a general timeline on the update?

@jacobperron
Copy link
Contributor

Just wondering if there's a general timeline on the update?

Timelines are hard 😅

I've opened up #66, which should let you compile rosidl_generator_java for Dashing. I'm working on rcljava now, hopefully you'll see a PR for that one soon.

@jacobperron
Copy link
Contributor

Considering Crystal is EOL, I'm going to close this.

I'll be putting in some effort to get ROS 2 Java support for Foxy (and Dashing/Eloquent along the way). Here's a metaticket tracking progress: #82

ivanpauno added a commit that referenced this issue May 12, 2021
… to the feedback topic (#60)

Signed-off-by: Ivan Santiago Paunovic <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants