eProsima / Integration-Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to build SOSS for ROS1.

Gryogor opened this issue · comments

Hello. I am not able to build the ros1 verision of the package while following the tutorial the output is the following:

gryogor@gryogor-Lenovo-Y520-15IKBN:~/workspaces/ros1_ws$ colcon build
Starting >>> soss-genmsg
Finished <<< soss-genmsg [0.12s]                  
Starting >>> soss-ros1
Finished <<< soss-ros1 [0.15s]                     
Starting >>> soss-ros1-test
--- stderr: soss-ros1-test                         
CMake Error at /home/gryogor/workspaces/soss/install/soss-core/lib/cmake/soss-core/cmake/soss_mix_generator.cmake:657 (message):
  Critical failure when trying to parse the package information of
  geometry_msgs:

  Unable to import ROS1 tools.  Please source a ROS1 installation first.
Call Stack (most recent call first):
  /home/gryogor/workspaces/soss/install/soss-core/lib/cmake/soss-core/cmake/soss_mix_generator.cmake:124 (_soss_mix_find_package_info)
  /home/gryogor/workspaces/ros1_ws/install/soss-genmsg/share/soss-genmsg/cmake/soss_genmsg_mix.cmake:70 (soss_mix_generator)
  CMakeLists.txt:15 (soss_genmsg_mix)


---
Failed   <<< soss-ros1-test [0.46s, exited with code 1]

Summary: 2 packages finished [0.86s]
  1 package failed: soss-ros1-test
  1 package had stderr output: soss-ros1-test

The ROS1 installation was sourced before with the command:
source /opt/ros/noetic/setup.bash
I am using Ubuntu 20.04 with ROS1 Noetic and ROS2 Foxy.

It looks like the underlying issue is that the ROS 1 tooling in the soss-ros1 repo is using Python 2 for ROS1, which was great pre-Noetic but is not great in the Noetic era. I just created an issue here: https://github.com/osrf/soss-ros1/issues/12 please feel free to contribute a PR to work around this one way or another; we'd be happy to review. Thanks

Hi, I am using Ubuntu 20.04 with ROS Noetic and ROS 2 Foxy. I encountered exactly the same issue as mentioned above. I have tried the eProsima/soss-ros1#13 but ended up with another compiling error. I have no idea how to solve the issue and proceed. The colcon build output is as follow,

image
image

The branch I am using is feature/xtypes-support. I have also tried master and release-2.1 branches but none could compile successfully. Could you please help?

Good morning, in eProsima we are currently working on a complete rework of the whole SOSS product and transforming it into Integration Service. Every systemhandle is being reviewed, as it has been a while since it was done; the ROS1 migration was performed a year and a half ago and I was afraid that some compilation problems would appear. Due to my planning, I will probable start migration SOSS-ROS1 today, and I will take a look at these compilation errors. I am pretty sure of where these come from so it should not be very difficult to fix. Thank you for the report!

@jamoralp: I understand that you want to transform this repo, but why did you remove the latest code from master?

Hello @ipa-mdl the project was fully transferred to eProsima and we were making some important changes to produce the new 3.0.0 release.

@JGUO006 have you tried this again using the new repositories?