[Debichem-devel] Bug#812265: avogadro: FTBFS with GCC 6: cmake failure

Martin Michlmayr tbm at hpe.com
Fri Jan 22 02:59:38 UTC 2016


Package: avogadro
Version: 1.0.3-13
Severity: normal
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

Note: openbabel has the same issue

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> -- Performing Test HAVE_GCC_VISIBILITY - Success
> 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:82 (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:83 (macro_ensure_version)
> 
> 
> -- Performing Test COMPILES_WITHOUT_FPERMISSIVE
> -- Performing Test COMPILES_WITHOUT_FPERMISSIVE - Failed
...
> -- Configuring incomplete, errors occurred!

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



More information about the Debichem-devel mailing list