Building nightly fails with gcc 6.3.1
The gcc 6.3.1 used by the builder fails to compile ParaView 5.9.1 RC1.
The same problem was also seen in a non-container build with gcc 6.1.0. So the question is if the builder needs to be updated, or if this is an issue in VTK that breaks compatibility with certain compiler versions.
Note that !10 (merged) needs to be applied first or the build will already fail earlier.
$ ./run_build_paraview.sh 7cfe71a
...
/home/buildslave/misc/code/paraview/paraview/VTK/Filters/Sources/vtkPlaneSource.cxx: In member function 'void vtkPlaneSource::Rotate(double, double*)':
/home/buildslave/misc/code/paraview/paraview/VTK/Filters/Sources/vtkPlaneSource.cxx:405:16: error: call of overloaded 'abs(double&)' is ambiguous
if (abs(angle) < EPSILON)
^
In file included from /opt/rh/devtoolset-6/root/usr/include/c++/6.3.1/cstdlib:75:0,
from /opt/rh/devtoolset-6/root/usr/include/c++/6.3.1/ext/string_conversions.h:41,
from /opt/rh/devtoolset-6/root/usr/include/c++/6.3.1/bits/basic_string.h:5417,
from /opt/rh/devtoolset-6/root/usr/include/c++/6.3.1/string:52,
from /opt/rh/devtoolset-6/root/usr/include/c++/6.3.1/bits/locale_classes.h:40,
from /opt/rh/devtoolset-6/root/usr/include/c++/6.3.1/bits/ios_base.h:41,
from /opt/rh/devtoolset-6/root/usr/include/c++/6.3.1/ios:42,
from /opt/rh/devtoolset-6/root/usr/include/c++/6.3.1/istream:38,
from /opt/rh/devtoolset-6/root/usr/include/c++/6.3.1/fstream:38,
from /home/buildslave/misc/code/paraview/paraview/VTK/Common/Core/vtkIOStream.h:29,
from /home/buildslave/misc/code/paraview/paraview/VTK/Common/Core/vtkSystemIncludes.h:39,
from /home/buildslave/misc/code/paraview/paraview/VTK/Common/Core/vtkIndent.h:28,
from /home/buildslave/misc/code/paraview/paraview/VTK/Common/Core/vtkObjectBase.h:53,
from /home/buildslave/misc/code/paraview/paraview/VTK/Common/Core/vtkObject.h:45,
from /home/buildslave/misc/code/paraview/paraview/VTK/Common/Core/vtkVersion.h:31,
from /home/buildslave/misc/code/paraview/paraview/VTK/Common/Core/vtkDeprecation.h:25,
from /home/buildslave/misc/code/paraview/paraview/VTK/Common/ExecutionModel/vtkAlgorithm.h:36,
from /home/buildslave/misc/code/paraview/paraview/VTK/Common/ExecutionModel/vtkPolyDataAlgorithm.h:34,
from /home/buildslave/misc/code/paraview/paraview/VTK/Filters/Sources/vtkPlaneSource.h:52,
from /home/buildslave/misc/code/paraview/paraview/VTK/Filters/Sources/vtkPlaneSource.cxx:15:
/usr/include/stdlib.h:770:12: note: candidate: int abs(int)
extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
^~~
In file included from /opt/rh/devtoolset-6/root/usr/include/c++/6.3.1/ext/string_conversions.h:41:0,
from /opt/rh/devtoolset-6/root/usr/include/c++/6.3.1/bits/basic_string.h:5417,
from /opt/rh/devtoolset-6/root/usr/include/c++/6.3.1/string:52,
from /opt/rh/devtoolset-6/root/usr/include/c++/6.3.1/bits/locale_classes.h:40,
from /opt/rh/devtoolset-6/root/usr/include/c++/6.3.1/bits/ios_base.h:41,
from /opt/rh/devtoolset-6/root/usr/include/c++/6.3.1/ios:42,
from /opt/rh/devtoolset-6/root/usr/include/c++/6.3.1/istream:38,
from /opt/rh/devtoolset-6/root/usr/include/c++/6.3.1/fstream:38,
from /home/buildslave/misc/code/paraview/paraview/VTK/Common/Core/vtkIOStream.h:29,
from /home/buildslave/misc/code/paraview/paraview/VTK/Common/Core/vtkSystemIncludes.h:39,
from /home/buildslave/misc/code/paraview/paraview/VTK/Common/Core/vtkIndent.h:28,
from /home/buildslave/misc/code/paraview/paraview/VTK/Common/Core/vtkObjectBase.h:53,
from /home/buildslave/misc/code/paraview/paraview/VTK/Common/Core/vtkObject.h:45,
from /home/buildslave/misc/code/paraview/paraview/VTK/Common/Core/vtkVersion.h:31,
from /home/buildslave/misc/code/paraview/paraview/VTK/Common/Core/vtkDeprecation.h:25,
from /home/buildslave/misc/code/paraview/paraview/VTK/Common/ExecutionModel/vtkAlgorithm.h:36,
from /home/buildslave/misc/code/paraview/paraview/VTK/Common/ExecutionModel/vtkPolyDataAlgorithm.h:34,
from /home/buildslave/misc/code/paraview/paraview/VTK/Filters/Sources/vtkPlaneSource.h:52,
from /home/buildslave/misc/code/paraview/paraview/VTK/Filters/Sources/vtkPlaneSource.cxx:15:
/opt/rh/devtoolset-6/root/usr/include/c++/6.3.1/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
abs(long long __x) { return __builtin_llabs (__x); }
^~~
/opt/rh/devtoolset-6/root/usr/include/c++/6.3.1/cstdlib:172:3: note: candidate: long int std::abs(long int)
abs(long __i) { return __builtin_labs(__i); }
^~~