Bug#883619: libceres-dev: dependency on libeigen3-dev isn't strong enough

Emilio Pozuelo Monfort pochu at debian.org
Thu Jan 31 13:09:20 GMT 2019


Control: severity -1 serious

On Tue, 05 Dec 2017 11:11:39 -0800 Dima Kogan <dkogan at debian.org> wrote:
> Package: libceres-dev
> Version: 1.13.0+dfsg0-1
> Severity: normal
> 
> Hi. Currently in libceres-dev we have
> 
>   Depends: libeigen3-dev (>= 3.2.1)
> 
> However in /usr/lib/cmake/Ceres/CeresConfig.cmake it does
> 
>   set(CERES_EIGEN_VERSION 3.3.4)
> 
> And then proceeds to barf if this wasn't found. The Depends should be
> tightened accordingly, or the requirement in the .cmake file should be
> loosened, if it CAN work with < 3.3.4.

Indeed. If that requirement can't be loosened, then the dependency needs to be
tighten. See e.g.:

https://buildd.debian.org/status/fetch.php?pkg=colmap&arch=i386&ver=3.5-1%2Bb1&stamp=1546084821&raw=0

-- Found installed version of Eigen: /usr/lib/cmake/eigen3
CMake Error at /usr/lib/cmake/Ceres/CeresConfig.cmake:88 (message):
  Failed to find Ceres - Found Eigen dependency, but the version of Eigen
  found (3.3.7) does not exactly match the version of Eigen Ceres was
  compiled with (3.3.5).  This can cause subtle bugs by triggering violations
  of the One Definition Rule.  See the Wikipedia article
  http://en.wikipedia.org/wiki/One_Definition_Rule for more details

Since this causes build failures on rdeps, I'm bumping this to RC.

Cheers,
Emilio



More information about the debian-science-maintainers mailing list