[Debichem-devel] Bug#812259: openbabel: FTBFS with GCC 6: cmake errors

Martin Michlmayr tbm at hpe.com
Fri Jan 22 02:45:15 UTC 2016


Package: openbabel
Version: 2.3.2+dfsg-2.2
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> -- Check size of clock_t
> -- Check size of clock_t - done
> CMake Error at cmake/modules/MacroEnsureVersion.cmake:76 (MATH):
>   math cannot parse the expression: "cc (Debian 6-20160117-16*10000 + cc
>   (Debian 6-20160117-10*100 + cc (Debian 6-20160117-10": syntax error,
>   unexpected $end, expecting exp_CLOSEPARENT or exp_OR (88)
> Call Stack (most recent call first):
>   cmake/modules/MacroEnsureVersion.cmake:95 (NORMALIZE_VERSION)
>   CMakeLists.txt:231 (macro_ensure_version)
> 
> 
> CMake Error at cmake/modules/MacroEnsureVersion.cmake:76 (MATH):
>   math cannot parse the expression: "cc (Debian 6-20160117-16*10000 + cc
>   (Debian 6-20160117-10*100 + cc (Debian 6-20160117-10": syntax error,
>   unexpected $end, expecting exp_CLOSEPARENT or exp_OR (88)
> Call Stack (most recent call first):
>   cmake/modules/MacroEnsureVersion.cmake:95 (NORMALIZE_VERSION)
>   CMakeLists.txt:232 (macro_ensure_version)
> 
> 
> CMake Error at cmake/modules/MacroEnsureVersion.cmake:76 (MATH):
>   math cannot parse the expression: "cc (Debian 6-20160117-16*10000 + cc
>   (Debian 6-20160117-10*100 + cc (Debian 6-20160117-10": syntax error,
>   unexpected $end, expecting exp_CLOSEPARENT or exp_OR (88)
> Call Stack (most recent call first):
>   cmake/modules/MacroEnsureVersion.cmake:95 (NORMALIZE_VERSION)
>   CMakeLists.txt:233 (macro_ensure_version)
> 
> 
> -- Performing Test SCANDIR_NEEDS_CONST
> -- Performing Test SCANDIR_NEEDS_CONST - Failed
> -- Performing Test HAVE_GCC_VISIBILITY
> -- Performing Test HAVE_GCC_VISIBILITY - Success
> -- Could NOT find Boost
> CMake Error at CMakeLists.txt:303 (message):
>   Boost is required to compile OpenBabel with GCC 3.x
> 
> 
> -- Configuring incomplete, errors occurred!

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



More information about the Debichem-devel mailing list