Compilation of rostime fails for me with this error: -- catkin 0.7.14 CMake Error at //usr/share/cpp_common/cmake/cpp_commonConfig.cmake:148 (message): Project 'rostime' tried to find library '-lpthread'. The library is neither a target nor built/installed properly. Did you compile project 'cpp_common'? Did you find_package() it before the subdirectory containing its code is included? I don't know why this happens, when I manually remove -lphthread from /usr/share/cpp_common/cmake/cpp_commonConfig.cmake it compiles, but I doubt that's then intended / right solution.
happened at other ros-packages too
rebuilding cpp_common with cmake 3.12.3 fixes the issue too seems like a bug or incompatibility with cmake 3.13+
If this is an incompatibility with latest cmake we should probably report it upstream. Unfortunately my knowledge about cmake is very limited, can someone who knows this stuff better investigate further?
Does it still happen with cmake-3.14.3?
For me the problem exists in >=cmake-3.13. This is where the geneneral issue is discussed: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915148
Catkin fix: https://github.com/ros/catkin/commit/4812667954e4cb7f99a753ffd4d725047e73a73b So I guess we should bump dev-util/catkin
great, nothing left to do for kde then.
(In reply to Victor Mataré from comment #6) > Catkin fix: > https://github.com/ros/catkin/commit/4812667954e4cb7f99a753ffd4d725047e73a73b > > So I guess we should bump dev-util/catkin then it is fixed now