[Pkg-cmake-team] [Debichem-devel] Building Kalzium with OpenBabel: bad CMake module

merkys at debian.org merkys at debian.org
Fri Jul 24 06:31:12 BST 2020


Hello,

On 2020-07-19 00:31, John Scott wrote:
> See the bug hunting at [1]: it seems that even in OpenBabel 3.1.1, 
> the CMake module probably wrongfully hardcodes a path and makes it not work on 
> Debian.

Indeed, there seems to be a problem with paths in OpenBabel CMake
modules. OpenBabel3Config.cmake seems suspicious: ${OpenBabel3_DIR} does
not seem to be set anywhere, and the following paths too get incorrect
values:

* OpenBabel3_INCLUDE_DIRS: should be /usr/include/openbabel3
* OpenBabel3_EXPORTS_FILE: should be
/usr/lib/<triplet>/cmake/openbabel3/OpenBabel3_EXPORTS.cmake
* OpenBabel3_LIBRARIES (maybe?)

Not sure if this issue is relevant outside Debian, hence the upstream
confusion. I would suggest patching OpenBabel CMake modules in Debian. I
volunteer to do that if no one comes up with a better solution.

Best,
Andrius

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-cmake-team/attachments/20200724/74b05b0b/attachment.sig>


More information about the Pkg-cmake-team mailing list