Help: Crash in older pygments lexer versions
When building the Linux snap packages for 3.25.0-rc1, I see the following in the build logs:
../../../src/Help/manual/OPTIONS_BUILD.txt:66: WARNING: Duplicate explicit target name: "cmdoption-cmake-D".
/build/snapcraft-cmake-bcf09476bd3cb5b848f0f7ad547ad71b/parts/cmake/src/Help/manual/cmake.1.rst:511: WARNING: Duplicate explicit target name: "cmdoption-cmake--preset".
/build/snapcraft-cmake-bcf09476bd3cb5b848f0f7ad547ad71b/parts/cmake/src/Help/manual/cmake.1.rst:550: WARNING: Duplicate explicit target name: "cmdoption-cmake--build--preset".
/build/snapcraft-cmake-bcf09476bd3cb5b848f0f7ad547ad71b/parts/cmake/src/Help/manual/cmake.1.rst:1278: WARNING: Duplicate explicit target name: "cmdoption-cmake--workflow--preset".
../../../src/Help/manual/OPTIONS_HELP.txt:7: WARNING: Duplicate explicit target name: "cmdoption-cpack-V".
/build/snapcraft-cmake-bcf09476bd3cb5b848f0f7ad547ad71b/parts/cmake/src/Help/manual/ctest.1.rst:53: WARNING: Duplicate explicit target name: "cmdoption-ctest--preset".
../../../src/Help/manual/OPTIONS_HELP.txt:7: WARNING: Duplicate explicit target name: "cmdoption-ctest-V".
/build/snapcraft-cmake-bcf09476bd3cb5b848f0f7ad547ad71b/parts/cmake/src/Help/manual/ctest.1.rst:709: WARNING: Duplicate explicit target name: "cmdoption-ctest-D".
I don't see these warnings when building locally on macOS with Sphinx v4.3.0, but I do if building locally on Ubuntu 20, which appears to have only Sphinx v1.8.5. The build fails because of this for me on Linux, which is currently blocking building the Linux snap packages.