I have ros-meta/desktop_full installed (~amd64 system). When I try to compile a local catkin workspace, catkin_make is unable to find Catkin's CMake packages or any ROS CMake packages. Reproducible: Always Steps to Reproduce: 1. mkdir -p ~/test_catkin_ws/src 2. cd ~/test_catkin_ws/src 3. catkin_init_workspace 4. cd .. 5. catkin_make Actual Results: CMake fails to find_package(catkin). Expected Results: No error. This can be fixed with: export CMAKE_PREFIX_PATH=/usr before catkin_make or by running catkin_make --cmake-args -DCMAKE_PREFIX_PATH=/usr This seems to work because catkin abuses CMAKE_PREFIX_PATH by using it internally to search for packages instead of relying on CMake's standard find_package method. If this is the correct way to run catkin on Gentoo though, there should be some documentation to that effect. It looks like /etc/env.d/40roslaunch (from dev-ros/roslaunch) tries to fix this by setting CATKIN_PREFIX_PATH=/usr. But catkin ignores this because it only ever reads CATKIN_PREFIX_PATH from the CMake cache, never from the environment.
Created attachment 417256 [details] Error from catkin_make
should be fixed in dev-util/catkin-0.6.16-r1, thanks!