Closed m-naumann closed 3 years ago
Package roslib was not found
looks like fun to debugβ¦
Do you have a good workflow to debug travis CI builds locally, besides manually setting up a similar docker and running all those commands there?
It seems that you can ask Travis to enable debugging for public repos (with SSH access to the container): https://gist.github.com/francois-blanchard/1564cd9b4220e29b7fb55595cff54f68#gistcomment-2857884
After figuring out that you use a minimal ros installation and let rosdep also install common ROS packages like rosbash, roslib etc. I found the "problem" β rather call it solution :grimacing:
It turns out that ROS Kinetic has reached end of life and thus rosdep simply skips kinetic in the rosdep update step. Somewhat doesn't make sense if we're on a kinetic system, but anyhow, the result is that we're having an empty ROS install within the container:
> tree -d 2 /opt/ros/kinetic/
2 [error opening dir]
/opt/ros/kinetic/
βββ bin
βββ etc
βΒ Β βββ catkin
βΒ Β βββ profile.d
βββ lib
βΒ Β βββ pkgconfig
βΒ Β βββ python2.7
βΒ Β βββ dist-packages
βΒ Β βββ catkin
βΒ Β βββ catkin-0.7.29.egg-info
βββ share
βββ catkin
βΒ Β βββ catkin_env_hook
βΒ Β βββ cmake
βΒ Β βββ em
βΒ Β βββ env-hooks
βΒ Β βββ platform
βΒ Β βββ symlink_install
βΒ Β βββ templates
βΒ Β βββ test
βΒ Β βββ tools
βββ ros_environment
βββ catkin_env_hook
βββ cmake
You can't build any meaningful ROS code with that :wink:
I'd suggest to drop kinetic support with its EOL now.
See also http://wiki.ros.org/Distributions
Btw. even though you specify some bionic stuff in .travis.yml both builds were done in xenial (that's why both fail). See #16 for Travis using bionic now.
Btw. even though you specify some bionic stuff in .travis.yml both builds were done in xenial (that's why both fail). See #16 for Travis using bionic now.
Can you double check that? The way it should work is that either a xenial or a bionic docker is used inside the xenial travis machine.
Ah, I was already wondering why this env flag had no effect. But you're right, a docker container is run within the TravisCI container, one with xenial 16.04 and one with bionic 18.04.
Hi @orzechow
I got notified that the build failed, maybe you want to watch this repo from now on π
https://github.com/coincar-sim/lanelet_rviz_plugin_ros/runs/2679110720