Compile stage fails with /usr/include/unicode/umachine.h: char16_t does not name a type. In file included from /usr/include/unicode/utypes.h:38:0, from /usr/include/unicode/ucnv_err.h:88, from /usr/include/unicode/ucnv.h:52, from /usr/include/unicode/ucnv.h:52, from /usr/include/libxml2/libxml/encoding.h:31, from /usr/include/libxml2/libxml/parser.h:810, from /var/tmp/portage/sci-libs/vtk-7.1.0/work/VTK-7.1.0/IO/Infovis/vtkXMLTreeReader.cxx:34 AFAIR char16_t is only valid in C++11. gcc is 5.4.0-r3
Also, /usr/include/unicode/localpointer.h:221:34: error: expected <<,>> or <<...>> before <<&&>> token LocalPointer(LocalPointer<T> &&src) U_NOEXCEPT : LocalPointerBase<T>(src.ptr) { Definitely C++11, that's rvalue ref there.
please retry with gcc6 or gcc7 gcc5 is hardmasked.
My bad, didn't notice that gcc-5 is masked already. Yes, it compiles with gcc-6 as it has C++11 as default. INVALID, I guess.