Package: libopenbabel-dev
Version: 3.2.0+dfsg-1~exp+b2
Severity: normal
Tags: ftbfs
The new version of openbabel 3.2 in experimental
is causing build failure with the old version of eigen3, 3.4.0-5
in unstable.
The build failure I'm seening is in iqmol (new package), which uses
cmake to find openbabel, but with openbabel 3.2.0 gets the cmake
configuration error (with libeigen3-dev 3.4.0-5 installed):
CMake Error at
/usr/lib/x86_64-linux-gnu/cmake/openbabel3/OpenBabel3_EXPORTS.cmake:71
(set_target_properties):
The link interface of target "openbabel" contains:
Eigen3::Eigen
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/openbabel3/OpenBabel3Config.cmake:42 (include)
CMakeLists.txt:62 (find_package)
When I downgrade libopenbabel-dev back to 3.1.1+dfsg-14+b2 from
unstable, then the iqmol cmake configuration proceeds without this
error.
Openbabel 3.2 has already been updated with
Build-Depends: libeigen3-dev (>= 5)
Looks like this versioned depends needs to be added to the
libopenbabel-dev binary package.
On the other hand, there is an additional problem,
or more correctly a continuation of the same problem:
if I install libeigen3-dev 5.0.1-1~exp1 with
libopenbabel-dev 3.2.0+dfsg-1~exp+b2,
then iqmol still hits the same cmake configuration error.
It looks like there is a bug in the openbabel 3.2 cmake config files
with respect to Eigen support.