As mentioned in GH-6652.
Dolphin uses nested namespaces from the C++17 standard, which are only supported in GCC 6.0 and later. See comments in GH-6866 for details.