Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
Qt Creator 8.0.2
-
None
Description
Hi,
I've tried very hard to get the doc to build when packaging qtcreator for GNU Guix, but in vain.
Here's what it looks like when invoking cmake --build . --target=docs as done in scripts/build.py:
/gnu/store/j65q3aw414010gdfvmsynwpzfb2jyyd3-cmake-minimal-3.21.4/bin/cmake -S/tmp/guix-build-qtcreator-8.0.2.drv-0/qt-creator-opensource-src-8.0.2 -B/tmp/guix-build-qtcreator-8.0.2.drv-0/build --check-build-system CMakeFiles/Makefile.cmake 0 /gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3/bin/make -f CMakeFiles/Makefile2 docs make[1]: Entering directory '/tmp/guix-build-qtcreator-8.0.2.drv-0/build' /gnu/store/j65q3aw414010gdfvmsynwpzfb2jyyd3-cmake-minimal-3.21.4/bin/cmake -S/tmp/guix-build-qtcreator-8.0.2.drv-0/qt-creator-opensource-src-8.0.2 -B/tmp/guix-build-qtcreator-8.0.2.drv-0/build --check-build-system CMakeFiles/Makefile.cmake 0 /gnu/store/j65q3aw414010gdfvmsynwpzfb2jyyd3-cmake-minimal-3.21.4/bin/cmake -E cmake_progress_start /tmp/guix-build-qtcreator-8.0.2.drv-0/build/CMakeFiles 0 /gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3/bin/make -f CMakeFiles/Makefile2 doc/CMakeFiles/docs.dir/all make[2]: Entering directory '/tmp/guix-build-qtcreator-8.0.2.drv-0/build' /gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3/bin/make -f doc/CMakeFiles/html_docs.dir/build.make doc/CMakeFiles/html_docs.dir/depend make[3]: Entering directory '/tmp/guix-build-qtcreator-8.0.2.drv-0/build' cd /tmp/guix-build-qtcreator-8.0.2.drv-0/build && /gnu/store/j65q3aw414010gdfvmsynwpzfb2jyyd3-cmake-minimal-3.21.4/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/guix-build-qtcreator-8.0.2.drv-0/qt-creator-opensource-src-8.0.2 /tmp/guix-build-qtcreator-8.0.2.drv-0/qt-creator-opensource-src-8.0.2/doc /tmp/guix-build-qtcreator-8.0.2.drv-0/build /tmp/guix-build-qtcreator-8.0.2.drv-0/build/doc /tmp/guix-build-qtcreator-8.0.2.drv-0/build/doc/CMakeFiles/html_docs.dir/DependInfo.cmake --color= make[3]: Leaving directory '/tmp/guix-build-qtcreator-8.0.2.drv-0/build' /gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3/bin/make -f doc/CMakeFiles/html_docs.dir/build.make doc/CMakeFiles/html_docs.dir/build make[3]: Entering directory '/tmp/guix-build-qtcreator-8.0.2.drv-0/build' make[3]: Nothing to be done for 'doc/CMakeFiles/html_docs.dir/build'. make[3]: Leaving directory '/tmp/guix-build-qtcreator-8.0.2.drv-0/build' Built target html_docs /gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3/bin/make -f doc/CMakeFiles/qch_docs.dir/build.make doc/CMakeFiles/qch_docs.dir/depend make[3]: Entering directory '/tmp/guix-build-qtcreator-8.0.2.drv-0/build' cd /tmp/guix-build-qtcreator-8.0.2.drv-0/build && /gnu/store/j65q3aw414010gdfvmsynwpzfb2jyyd3-cmake-minimal-3.21.4/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/guix-build-qtcreator-8.0.2.drv-0/qt-creator-opensource-src-8.0.2 /tmp/guix-build-qtcreator-8.0.2.drv-0/qt-creator-opensource-src-8.0.2/doc /tmp/guix-build-qtcreator-8.0.2.drv-0/build /tmp/guix-build-qtcreator-8.0.2.drv-0/build/doc /tmp/guix-build-qtcreator-8.0.2.drv-0/build/doc/CMakeFiles/qch_docs.dir/DependInfo.cmake --color= make[3]: Leaving directory '/tmp/guix-build-qtcreator-8.0.2.drv-0/build' /gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3/bin/make -f doc/CMakeFiles/qch_docs.dir/build.make doc/CMakeFiles/qch_docs.dir/build make[3]: Entering directory '/tmp/guix-build-qtcreator-8.0.2.drv-0/build' make[3]: Nothing to be done for 'doc/CMakeFiles/qch_docs.dir/build'. make[3]: Leaving directory '/tmp/guix-build-qtcreator-8.0.2.drv-0/build' Built target qch_docs /gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3/bin/make -f doc/CMakeFiles/docs.dir/build.make doc/CMakeFiles/docs.dir/depend make[3]: Entering directory '/tmp/guix-build-qtcreator-8.0.2.drv-0/build' cd /tmp/guix-build-qtcreator-8.0.2.drv-0/build && /gnu/store/j65q3aw414010gdfvmsynwpzfb2jyyd3-cmake-minimal-3.21.4/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/guix-build-qtcreator-8.0.2.drv-0/qt-creator-opensource-src-8.0.2 /tmp/guix-build-qtcreator-8.0.2.drv-0/qt-creator-opensource-src-8.0.2/doc /tmp/guix-build-qtcreator-8.0.2.drv-0/build /tmp/guix-build-qtcreator-8.0.2.drv-0/build/doc /tmp/guix-build-qtcreator-8.0.2.drv-0/build/doc/CMakeFiles/docs.dir/DependInfo.cmake --color= make[3]: Leaving directory '/tmp/guix-build-qtcreator-8.0.2.drv-0/build' /gnu/store/55cbpsi18mahg131nmiya6km5b4mscfa-make-4.3/bin/make -f doc/CMakeFiles/docs.dir/build.make doc/CMakeFiles/docs.dir/build make[3]: Entering directory '/tmp/guix-build-qtcreator-8.0.2.drv-0/build' make[3]: Nothing to be done for 'doc/CMakeFiles/docs.dir/build'. make[3]: Leaving directory '/tmp/guix-build-qtcreator-8.0.2.drv-0/build' Built target docs make[2]: Leaving directory '/tmp/guix-build-qtcreator-8.0.2.drv-0/build' /gnu/store/j65q3aw414010gdfvmsynwpzfb2jyyd3-cmake-minimal-3.21.4/bin/cmake -E cmake_progress_start /tmp/guix-build-qtcreator-8.0.2.drv-0/build/CMakeFiles 0 make[1]: Leaving directory '/tmp/guix-build-qtcreator-8.0.2.drv-0/build'
In other words, we see a few "Nothing to be done" messages, and indeed, no generated doc get produced.
Here's the output of the configure phase:
starting phase `configure' source directory: "/tmp/guix-build-qtcreator-8.0.2.drv-0/qt-creator-opensource-src-8.0.2" (relative from build: "../qt-creator-opensource-src-8.0.2") build directory: "/tmp/guix-build-qtcreator-8.0.2.drv-0/build" running 'cmake' with arguments ("../qt-creator-opensource-src-8.0.2" "-DCMAKE_BUILD_TYPE=RelWithDebInfo" "-DCMAKE_INSTALL_PREFIX=/gnu/store/zkbn9gcfra609pp53bgcil32yphhapcq-qtcreator-8.0.2" "-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE" "-DCMAKE_INSTALL_RPATH=/gnu/store/zkbn9gcfra609pp53bgcil32yphhapcq-qtcreator-8.0.2/lib" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DCMAKE_SHARED_LINKER_FLAGS=-Wl,-rpath=/gnu/store/zkbn9gcfra609pp53bgcil32yphhapcq-qtcreator-8.0.2/lib/qtcreator" "-DWITH_DOCS=ON" "-DBUILD_DEVELOPER_DOCS=ON") -- The C compiler identification is GNU 10.3.0 -- The CXX compiler identification is GNU 10.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Performing Test HAVE_STDATOMIC -- Performing Test HAVE_STDATOMIC - Success -- Found Threads: TRUE -- Found OpenGL: /gnu/store/sdzfljm6san79pqiy42yp0nzmkr2bafc-mesa-21.3.8/lib/libGL.so -- Found WrapOpenGL: TRUE -- Found XKB: /gnu/store/5sdcrp4591sb2m3h6903vhpdb6zy1cnm-libxkbcommon-1.3.0/lib/libxkbcommon.so (found suitable version "1.3.0", minimum required is "0.5.0") -- Found WrapVulkanHeaders: /gnu/store/risaqyi3fxhc11wsy03bdyzcimpm0pi0-vulkan-headers-1.2.164/include -- Found ZLIB: /gnu/store/8qv5kb2fgm4c3bf70zcg9l6hkf3qzpw9-zlib-1.2.11/lib/libz.so (found version "1.2.11") -- Performing Test QTC_LINKER_SUPPORTS_NO_UNDEFINED -- Performing Test QTC_LINKER_SUPPORTS_NO_UNDEFINED - Success qml/notes_qt6.vert -> notes_qt6.vert.qsb exposed as :/QtCreator/Tracing/notes_qt6.vert.qsb qml/notes_qt6.frag -> notes_qt6.frag.qsb exposed as :/QtCreator/Tracing/notes_qt6.frag.qsb qml/timelineitems_qt6.vert -> timelineitems_qt6.vert.qsb exposed as :/QtCreator/Tracing/timelineitems_qt6.vert.qsb qml/timelineitems_qt6.frag -> timelineitems_qt6.frag.qsb exposed as :/QtCreator/Tracing/timelineitems_qt6.frag.qsb qml/bindingloops_qt6.frag -> bindingloops_qt6.frag.qsb exposed as :/QtCreator/QmlProfiler/bindingloops_qt6.frag.qsb qml/bindingloops_qt6.vert -> bindingloops_qt6.vert.qsb exposed as :/QtCreator/QmlProfiler/bindingloops_qt6.vert.qsb -- Could NOT find Googletest (missing: GOOGLE_TEST_INCLUDE_DIR GOOGLE_MOCK_INCLUDE_DIR GOOGLE_TEST_SRC_ALL GOOGLE_MOCK_SRC_ALL) Googletest target is missing -- Found elfutils: /gnu/store/jp6027624wl2f4xx5yz1vjzd2b9yvwl9-elfutils-0.183/include -- Found Zstd: /gnu/store/3x3dl71d4xm6y4hjwq110hmfyfx0xc6j-zstd-1.5.0-lib/lib/libzstd.so -- Could NOT find LibRustcDemangle (missing: LIBRUSTC_DEMANGLE_LIBRARIES) -- Found Python3: /gnu/store/65i3nhcwmz0p8rqbg48gaavyky4g4hwk-python-3.9.9/bin/python3.9 (found version "3.9.9") found components: Interpreter CMake Warning at cmake/QtCreatorDocumentation.cmake:186 (message): No qdoc binary found: No documentation targets were generated Call Stack (most recent call first): cmake/QtCreatorDocumentation.cmake:284 (qdoc_build_qdocconf_file) doc/CMakeLists.txt:35 (add_qtc_documentation) CMake Warning at cmake/QtCreatorDocumentation.cmake:186 (message): No qdoc binary found: No documentation targets were generated Call Stack (most recent call first): cmake/QtCreatorDocumentation.cmake:284 (qdoc_build_qdocconf_file) doc/CMakeLists.txt:38 (add_qtc_documentation) -- The following packages have been found: * Qt6Concurrent * OpenGL * Vulkan * Qt6DBusTools (required version >= 6.3.1) * Qt6Gui * Qt6Network * Qt6PrintSupport * Qt6QmlTools (required version >= 6.3.1) * Qt6Qml * Qt6Sql * Qt6Widgets * Qt6Xml * Qt6Core5Compat * Qt6LinguistTools * PkgConfig * XKB (required version >= 0.5.0), XKB API common to servers and clients., <http://xkbcommon.org> * Qt6GuiTools (required version >= 6.3.1) * Qt6WidgetsTools (required version >= 6.3.1) * Qt6DesignerComponentsPrivate * Qt6Quick * WrapVulkanHeaders * Qt6QuickWidgets * Qt6Designer * Qt6Help * Qt6Svg * Qt6ToolsTools (required version >= 6.3.1) * Qt6Tools * ZLIB * LLVM * Clang * Qt6Test * Qt6SvgWidgets * yaml-cpp * Qt6ShaderToolsTools (required version >= 6.3.1) * Qt6ShaderTools * Threads * Qt6CoreTools (required version >= 6.3.1) * Qt6Core * Qt6 * Qt5 * elfutils, a collection of utilities and libraries to read, create and modify ELF binary files, <https://sourceware.org/elfutils/> * Zstd * Python3 -- The following packages have not been found: * Qt6QmlCompilerPlusPrivate * Qt6SerialPort * litehtml * Qt6WebEngineWidgets * Googletest, Google Testing and Mocking Framework, <https://github.com/google/googletest> * Qt6Quick3D * Qt6Quick3DAssetImport * Qt6Quick3DParticles * Qt6Quick3DAssetUtils * Qt6QuickTimeline * LibRustcDemangle, Demangling for Rust symbols, written in Rust., <https://github.com/alexcrichton/rustc-demangle> Demangling of Rust symbols -- The following features have been enabled: * Build documentation * Library 3rd_cplusplus * Library KSyntaxHighlighting * Library AdvancedDockingSystem * Library Aggregation * Library ExtensionSystem * Library Utils * Library LanguageUtils * Library CPlusPlus * Library Modeling * Library QmlJS * Library QmlDebug * Library QmlEditorWidgets * Library GLSL * Library LanguageServerProtocol * Library Sqlite * Library Tracing, with CONDITION TARGET Qt6::ShaderTools AND TARGET Qt5::Quick * Library designerintegrationv2 * Library ProParser * Library shared_help * Plugin Core * Plugin TextEditor * Plugin HelloWorld * Plugin ImageViewer * Plugin UpdateInfo * Plugin Welcome * Plugin BinEditor * Plugin CodePaster * Plugin DiffEditor * Plugin EmacsKeys * Plugin Macros * Plugin ProjectExplorer * Plugin SilverSearcher * Plugin Bookmarks * Plugin CppEditor * Plugin Help, with CONDITION TARGET Qt5::Help * litehtml help viewer, with CONDITION TARGET qlitehtml * Plugin ResourceEditor * Plugin TaskList * Plugin Nim * Plugin Conan * Plugin ClassView * Plugin GLSLEditor * Plugin ModelEditor * Plugin QtSupport * Plugin Todo * Plugin VcsBase * Plugin Bazaar * Plugin Beautifier * Plugin ClangFormat, with CONDITION TARGET clangFormat AND LLVM_PACKAGE_VERSION VERSION_GREATER_EQUAL 10.0.0 AND ( QTC_CLANG_BUILDMODE_MATCH OR CLANGTOOLING_LINK_CLANG_DYLIB ) * Plugin ClearCase * Plugin CVS * Plugin Designer, with CONDITION TARGET Qt5::DesignerComponents AND TARGET Qt5::Designer * Plugin Docker * Plugin FakeVim * Plugin GenericProjectManager * Plugin Git * Plugin Mercurial * Plugin MesonProjectManager * Plugin Perforce * Plugin QmakeProjectManager * Plugin QmlJSTools * Plugin QmlProjectManager, with CONDITION TARGET Qt5::QuickWidgets * Plugin ScxmlEditor * Plugin Subversion * Plugin CompilationDatabaseProjectManager * Plugin LanguageClient * Plugin CMakeProjectManager * Plugin Debugger * Plugin Coco * Plugin GitLab * Plugin Android * Plugin AutoTest * Plugin AutotoolsProjectManager * Plugin BareMetal * Plugin ClangCodeModel * Plugin ClangTools, with CONDITION TARGET yaml-cpp * Plugin Cppcheck * Plugin IncrediBuild * Plugin Ios * Plugin Python * Plugin QmlJSEditor * Plugin QmlPreview, with CONDITION TARGET QmlProjectManager * Plugin QmlProfiler, with CONDITION TARGET Tracing AND TARGET Qt6::ShaderTools * Plugin RemoteLinux * Plugin Valgrind * Plugin PerfProfiler, with CONDITION TARGET Tracing * Plugin QbsProjectManager * Plugin CtfVisualizer, with CONDITION TARGET Tracing * Plugin Boot2Qt * Plugin QmlDesigner, with CONDITION Qt5_VERSION VERSION_GREATER_EQUAL 6.2.0 AND TARGET Qt5::QuickWidgets AND TARGET Qt5::Svg * Plugin assetexporterplugin, with CONDITION TARGET QmlDesigner * Plugin componentsplugin, with CONDITION TARGET QmlDesigner * Plugin qmlpreviewplugin, with CONDITION TARGET QmlDesigner * Plugin qtquickplugin, with CONDITION TARGET QmlDesigner * Plugin StudioPlugin, with CONDITION TARGET QmlDesigner * Plugin StudioWelcome, with CONDITION TARGET Qt5::QuickWidgets AND TARGET QmlDesigner * Plugin Qnx * Plugin WebAssembly * Plugin McuSupport * Library qml2puppet_static * Library sdktoolLib * Library perfparser_lib * Include developer documentation -- The following features have been disabled: * Build online documentation * Build tests * Build with sanitize, SANITIZE_FLAGS='' * Build with Crashpad * Library Nanotrace * Build Qbs * Plugin SerialTerminal, with CONDITION TARGET Qt5::SerialPort * Native WebKit help viewer, with CONDITION FWWebKit AND FWAppKit AND Qt5_VERSION VERSION_LESS 6.0.0 * QtWebEngine help viewer, with CONDITION BUILD_HELPVIEWERBACKEND_QTWEBENGINE AND TARGET Qt5::WebEngineWidgets * Qt Quick 3D support, with CONDITION TARGET Qt5::Quick3D * Qt Quick 3D asset import, with CONDITION TARGET Qt5::Quick3DAssetImport * Qt Quick 3D particles, with CONDITION TARGET Qt5::Quick3DParticles * Qt Quick 3D asset utils, with CONDITION TARGET Qt5::Quick3DAssetUtils * multilanguage-support in qml2puppet, with CONDITION TARGET QtCreator::multilanguage-support -- Configuring done -- Generating done -- Build files have been written to: /tmp/guix-build-qtcreator-8.0.2.drv-0/build phase `configure' succeeded after 5.5 seconds
This is with Qt 6.3.1.
Thank you!