On Wed, 16 May 2018 16:25:07 +0200 Johannes Schauer <[email protected]> wrote:
> You can easily reproduce this with a simple CMakeLists.txt:
> 
> cmake_minimum_required(VERSION 3.9)
> find_package(catkin REQUIRED COMPONENTS rosbag)
> 
> It would probably help to add a very simple autopkgtest to the package
> which just tries to configure such a trivial CMake project. You could
> get yourself inspired with what I did for orocos-bfl:
> 
> https://sources.debian.org/src/orocos-bfl/0.8.0-4/debian/tests/run-tests/
> 
> It will be much simpler though in this case. :)

I took the liberty to add this autopkgtest to the packaging repository.

Of course it currently fails with:

CMake Error at /usr/share/rosbag/cmake/rosbagConfig.cmake:165 (find_package):
  Could not find a package configuration file provided by "std_srvs" with any
  of the following names:

    std_srvsConfig.cmake
    std_srvs-config.cmake

  Add the installation prefix of "std_srvs" to CMAKE_PREFIX_PATH or set
  "std_srvs_DIR" to a directory containing one of the above files.  If
  "std_srvs" provides a separate development package or SDK, be sure it has
  been installed.

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to