jsk-ros-pkg / jsk_3rdparty

42 stars 60 forks source link

[build_farm] Fix focal error #486

Closed mqcmd196 closed 1 year ago

mqcmd196 commented 1 year ago

Google Chat ROS

23:02:48 CMake Error at /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
23:02:48   Could not find a package configuration file provided by "actionlib_msgs"
23:02:48   with any of the following names:
23:02:48 
23:02:48     actionlib_msgsConfig.cmake
23:02:48     actionlib_msgs-config.cmake
23:02:48 
23:02:48   Add the installation prefix of "actionlib_msgs" to CMAKE_PREFIX_PATH or set
23:02:48   "actionlib_msgs_DIR" to a directory containing one of the above files.  If
23:02:48   "actionlib_msgs" provides a separate development package or SDK, be sure it
23:02:48   has been installed.
23:02:48 Call Stack (most recent call first):
23:02:48   CMakeLists.txt:4 (find_package)
mqcmd196 commented 1 year ago

About nfc_ros, is it not enough to add rostest in test_depend ?? About ros_google_cloud_language and zdpeth_image_transport, why pthread not found ??

k-okada commented 1 year ago

Thank you for investigation. I have already worked this issue on https://github.com/jsk-ros-pkg/jsk_3rdparty/pull/479 but forget to release. See if https://github.com/ros/rosdistro/pull/38048 works.

I think @sloretz 's comment is not correct, this is not due to missing pthread but originated from missing action_msgs https://gist.github.com/k-okada/638987d488969ef4130363586a128fab#file-log-txt-L78

You can reproduce the error from ubuntu:20.04 docker iamge

$ apt update && apt install -y sudo lsb-release curl gnupg && sudo sh -c 'echo "deb http://packages.ros.or\
g/ros-testing/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' && curl -s https://raw.githubu
sercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add - && apt update
$ apt install git dpkg-dev
$ git clone https://github.com/tork-a/jsk_3rdparty-release
$ cd jsk_3rdparty-release/
$ git checkout debian/noetic/focal/ros_google_cloud_language
$ apt install debhelper ros-noetic-catkin ros-noetic-catkin-virtualenv ros-noetic-diagnostic-msgs ros-noetic-message-generation
$ dpkg-buildpackage -r -b
knorth55 commented 1 year ago

@k-okada Thank you so much to solve the issue.

@mqcmd196 This is the same issue as https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/356

mqcmd196 commented 1 year ago

I see, thank you for your answer.

@mqcmd196 This is the same issue as https://github.com/jsk-ros-pkg/jsk_3rdparty/issues/356

Yes, I tried reproducing the error with bloom and dpkg on docker, but I couldn't reproduce it, and it worked fine with the current master. So I wondered why.