pcl-conversions: also depend on cmake-modules

Without the dependency on cmake-modules, `bitbake pcl-conversions` can
possibly fail with:

```
| CMake Error at /home/lukas/dev/openembedded.org/openembedded-core/build/tmp-glibc/sysroots/x86_64-linux/opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
|   Could not find a package configuration file provided by "cmake_modules"
|   with any of the following names:
|
|     cmake_modulesConfig.cmake
|     cmake_modules-config.cmake
|
|   Add the installation prefix of "cmake_modules" to CMAKE_PREFIX_PATH or set
|   "cmake_modules_DIR" to a directory containing one of the above files.  If
|   "cmake_modules" provides a separate development package or SDK, be sure it
|   has been installed.
| Call Stack (most recent call first):
|   CMakeLists.txt:4 (find_package)
|
|
| -- Configuring incomplete, errors occurred!
```

The failure only occurs if cmake-modules has not been installed
before pcl-conversions is configured. Hence, the regular
regression testing with `bitbake core-image-ros-world`,
which builds many packages in parallel, did not
uncover this because cmake-modules was usually installed before
pcl-conversions was configured.

However, the issue is clearly reproducable with
`bitbake pcl-conversions cmake-modules -c cleanall && bitbake pcl-conversions`

The missing dependency was probably introduced by the automatic
recipe updates without checking for new dependencies.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
This commit is contained in:
Lukas Bulwahn 2017-01-28 13:03:43 +01:00
parent a14c2138f6
commit e98c5a5053
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=11;endline=11;md5=d566ef916e9dedc494f5f793a6690ba5"
DEPENDS = "pcl-msgs pcl roscpp"
DEPENDS = "cmake-modules pcl-msgs pcl roscpp"
SRC_URI = "https://github.com/ros-perception/${ROS_SPN}/archive/${PV}.tar.gz;downloadfilename=${ROS_SP}.tar.gz"
SRC_URI[md5sum] = "670605fa95f008ecc4c420cb9e53df44"