I've released the marti_common repository into ROS 2 Dashing on the build farm, and most of the packages build fine, but swri_transform_util fails to build: http://build.ros2.org/job/Dbin_uB64__swri_transform_util__ubuntu_bionic_amd64__binary/
It seems to be failing when cmake is running because it is trying to compile a test program that links in "pthreads", which of course makes sense because that doesn't exist. swri_transform_util does use Boost::thread, and as far as I can tell, that is declared properly in its package.xml and CMakeLists.txt.
I can also build the deb myself from the ros2-testing source repository in a clean ros:dashing Docker container; in fact, here's a simple Dockerfile that does so:
FROM ros:dashing
RUN echo 'deb http://packages.ros.org/ros2-testing/ubuntu bionic main' >> /etc/apt/sources.list.d/ros2-latest.list
RUN echo 'deb-src http://packages.ros.org/ros2-testing/ubuntu bionic main' >> /etc/apt/sources.list.d/ros2-latest.list
RUN apt-get update && \
apt-get install -y apt-src && \
apt-src install ros-dashing-swri-transform-util && \
apt-src build ros-dashing-swri-transform-util && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
This builds without error, and I can't figure out what the build farm is doing differently that is causing it to fail. In fact, the output seems the same; inside the Docker image, /ros-dashing-swri-transform-util-3.0.1/obj-x86_64-linux-gnu/CMakeFiles/CMakeError.log contains the same pthreads-related error messages that I see on the build farm, but for some reason that did not cause apt-src to exit and flag the build as a failure.
Does anybody have any idea what's going wrong here? Thanks in advance!
Originally posted by preed on ROS Answers with karma: 88 on 2019-11-11
Post score: 0