[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#951674: [Debichem-devel] Building Kalzium with OpenBabel: bad CMake module



Hi,

On Fri, Jul 24, 2020 at 08:31:12AM +0300, merkys@debian.org wrote:
> 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.

Without having looked at the problem in detail, it sounds like it's
worth filing an issue in OpenBabel upstream as well, or is there one
already?


Michael


Reply to: