CMake build failure: error: Could not create output directory /builds/dbus/dbus/dbus-1.13.9/ci-build-production-native/doc/api/xml
https://gitlab.freedesktop.org/dbus/dbus/-/jobs/244138
make[2]: Leaving directory '/builds/dbus/dbus/dbus-1.13.9/ci-build-production-native'
make -f doc/CMakeFiles/devhelp2.dir/build.make doc/CMakeFiles/devhelp2.dir/build
make[2]: Entering directory '/builds/dbus/dbus/dbus-1.13.9/ci-build-production-native'
cd /builds/dbus/dbus/dbus-1.13.9/ci-build-production-native/doc && /usr/bin/doxygen /builds/dbus/dbus/dbus-1.13.9/ci-build-production-native/Doxyfile
[ 35%] Generating API documentation with Doxygen
cd /builds/dbus/dbus/dbus-1.13.9/ci-build-production-native/doc && /usr/bin/cmake -E make_directory /builds/dbus/dbus/dbus-1.13.9/ci-build-production-native/doc/api/html
cd /builds/dbus/dbus/dbus-1.13.9/ci-build-production-native/doc && /usr/bin/doxygen /builds/dbus/dbus/dbus-1.13.9/ci-build-production-native/Doxyfile
warning: Tag `HTML_ALIGN_MEMBERS' at line 96 of file `/builds/dbus/dbus/dbus-1.13.9/ci-build-production-native/Doxyfile' has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag `HTML_ALIGN_MEMBERS' at line 96 of file `/builds/dbus/dbus/dbus-1.13.9/ci-build-production-native/Doxyfile' has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag `MAX_DOT_GRAPH_WIDTH' at line 174 of file `/builds/dbus/dbus/dbus-1.13.9/ci-build-production-native/Doxyfile' has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag `MAX_DOT_GRAPH_WIDTH' at line 174 of file `/builds/dbus/dbus/dbus-1.13.9/ci-build-production-native/Doxyfile' has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag `MAX_DOT_GRAPH_HEIGHT' at line 175 of file `/builds/dbus/dbus/dbus-1.13.9/ci-build-production-native/Doxyfile' has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag `MAX_DOT_GRAPH_HEIGHT' at line 175 of file `/builds/dbus/dbus/dbus-1.13.9/ci-build-production-native/Doxyfile' has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
error: Could not create output directory /builds/dbus/dbus/dbus-1.13.9/ci-build-production-native/doc/api/xml
doc/CMakeFiles/devhelp2.dir/build.make:209: recipe for target 'doc/doxygen.stamp' failed
make[2]: Leaving directory '/builds/dbus/dbus/dbus-1.13.9/ci-build-production-native'
make[2]: *** [doc/doxygen.stamp] Error 1
CMakeFiles/Makefile2:3460: recipe for target 'doc/CMakeFiles/devhelp2.dir/all' failed
make[1]: *** [doc/CMakeFiles/devhelp2.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
I'm going to retry that build to see whether this is an intermittent bug.
I would guess that maybe we need to create ${CMAKE_BINARY_DIR}/doc
or ${CMAKE_BINARY_DIR}/doc/api
before writing things into it, like a CMake equivalent of the addition of $(MKDIR_P)
in 6b17dd68?