Bug#812295: vtk: FTBFS with GCC 6: cmake error

Martin Michlmayr tbm at hpe.com
Fri Jan 22 04:14:03 UTC 2016


Package: vtk
Version: 5.10.1+dfsg-2
Severity: normal
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-unknown

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.

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
...
> -- Performing Test HAVE_GCC_VISIBILITY
> -- Performing Test HAVE_GCC_VISIBILITY - Success
> CMake Error at CMake/vtkCompilerExtras.cmake:40 (if):
>   if given arguments:
> 
>     "cc (Debian 6-20160117-1) 6.0.0 20160117 (experimental) [trunk revision 232481]
> 
>   Copyright (C) 2016 Free Software Foundation, Inc.
> 
>   This is free software" " see the source for copying conditions.  There is
>   NO
> 
>   warranty" " not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>   PURPOSE." "VERSION_GREATER" "4.2.0" "AND" "BUILD_SHARED_LIBS" "AND"
>   "HAVE_GCC_VISIBILITY" "AND" "VTK_USE_GCC_VISIBILITY" "AND" "NOT" "MINGW"
>   "AND" "NOT" "CYGWIN"
> 
>   Unknown arguments specified
> Call Stack (most recent call first):
>   CMakeLists.txt:73 (INCLUDE)
> 
> 
> -- Configuring incomplete, errors occurred!

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



More information about the debian-science-maintainers mailing list