Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-132813

qch creation fails with sqlite 3.48.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.8.1
    • sqlite
    • None
    • Linux/X11

    Description

      The openSUSE staging projects detected doc generation fails for all Qt modules (and also KDE frameworks docs) if sqlite 3.48.0 is used.

      The error happens when qhp files are converted to qch.

      e.g. when trying to build qttools docs:

      CMake command:

       

      [   15s] + cmake -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DCMAKE_INSTALL_PREFIX:STRING=/usr -DCMAKE_MESSAGE_LOG_LEVEL:STRING=STATUS -S . -B build -GNinja -DQT_DISABLE_RPATH:BOOL=ON '-DCMAKE_C_FLAGS:STRING=-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g' '-DCMAKE_CXX_FLAGS:STRING=-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g' '-DCMAKE_EXE_LINKER_FLAGS:STRING=-Wl,--as-needed -Wl,--no-undefined' '-DCMAKE_MODULE_LINKER_FLAGS:STRING=-Wl,--as-needed -Wl,--no-undefined' '-DCMAKE_SHARED_LINKER_FLAGS:STRING=-Wl,--as-needed -Wl,--no-undefined' -DQT_GENERATE_SBOM:BOOL=FALSE -DBUILD_TESTING:BOOL=FALSE
      

       

       

      CMake log:

       

      [   15s] -- The CXX compiler identification is GNU 14.2.1
      [   15s] -- The C compiler identification is GNU 14.2.1
      [   15s] -- Detecting CXX compiler ABI info
      [   15s] -- Detecting CXX compiler ABI info - done
      [   15s] -- Check for working CXX compiler: /usr/bin/c++ - skipped
      [   15s] -- Detecting CXX compile features
      [   15s] -- Detecting CXX compile features - done
      [   15s] -- Detecting C compiler ABI info
      [   16s] -- Detecting C compiler ABI info - done
      [   16s] -- Check for working C compiler: /usr/bin/cc - skipped
      [   16s] -- Detecting C compile features
      [   16s] -- Detecting C compile features - done
      [   16s] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
      [   16s] -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
      [   16s] -- Found Threads: TRUE
      [   16s] -- Performing Test HAVE_STDATOMIC
      [   16s] -- Performing Test HAVE_STDATOMIC - Success
      [   16s] -- Found WrapAtomic: TRUE
      [   16s] -- Found OpenGL: /usr/lib64/libOpenGL.so
      [   16s] -- Checking for feature set changes
      [   16s] -- CMAKE_STRIP (original): /usr/bin/strip
      [   17s] -- Performing Test strip --keep-section
      [   17s] -- Performing Test strip --keep-section - TRUE
      [   17s] -- CMAKE_STRIP (used by Qt): /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/libexec/qt6/qt-internal-strip
      [   17s] -- Could NOT find LibEdit (missing: LibEdit_INCLUDE_DIRS LibEdit_LIBRARIES) 
      [   17s] -- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1")
      [   17s] -- Found zstd: /usr/lib64/libzstd.so
      [   17s] -- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR) 
      [   17s] -- Found WrapLibClang: TRUE (found suitable version "19.1.6", minimum required is "8")
      [   17s] -- Performing Test HAVE_DASH_UNDEFINED_SYMBOLS
      [   17s] -- Performing Test HAVE_DASH_UNDEFINED_SYMBOLS - Success
      [   17s] -- Performing Test HAVE_DASH_DASH_NO_UNDEFINED
      [   17s] -- Performing Test HAVE_DASH_DASH_NO_UNDEFINED - Success
      [   17s] -- Tool 'Qt6::lconvert' will be built from source.
      [   17s] -- Tool 'Qt6::lprodump' will be built from source.
      [   17s] -- Tool 'Qt6::lrelease' will be built from source.
      [   17s] -- Tool 'Qt6::lrelease-pro' will be built from source.
      [   17s] -- Tool 'Qt6::lupdate' will be built from source.
      [   17s] -- Tool 'Qt6::lupdate-pro' will be built from source.
      [   17s] -- Could NOT find WrapZSTD (missing: zstd_VERSION) (Required is at least version "1.3")
      [   17s] -- Tool 'Qt6::qhelpgenerator' will be built from source.
      [   17s] CMake Deprecation Warning at src/assistant/qlitehtml/src/3rdparty/litehtml/src/gumbo/CMakeLists.txt:1 (cmake_minimum_required):
      [   17s]   Compatibility with CMake < 3.10 will be removed from a future version of
      [   17s]   CMake.
      [   17s] 
      [   17s]   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
      [   17s]   to tell CMake that the project requires at least <min> but has been updated
      [   17s]   to work with policies introduced by <max> or earlier.
      [   17s] 
      [   17s] 
      [   17s] -- Tool 'Qt6::qtattributionsscanner' will be built from source.
      [   17s] -- Tool 'Qt6::qdoc' will be built from source.
      [   17s] -- Generated QtModulePlugins.cmake files for the following modules: Designer;Help
      [   17s] -- The following packages have been found:
      [   17s] 
      [   17s]  * Qt6BuildInternals (required version >= 6.8.1)
      [   17s]  * Qt6CoreTools (required version >= 6.8.1)
      [   17s]  * Qt6Core (required version >= 6.8.1)
      [   17s]  * Qt6DBusTools (required version >= 6.8.1)
      [   17s]  * Qt6DBus (required version >= 6.8.1)
      [   17s]  * Qt6Network (required version >= 6.8.1)
      [   17s]  * Qt6Xml (required version >= 6.8.1)
      [   17s]  * Qt6WidgetsTools (required version >= 6.8.1)
      [   17s]  * OpenGL
      [   17s]  * XKB (required version >= 0.5.0), XKB API common to servers and clients., <http://xkbcommon.org>
      [   17s]  * Vulkan
      [   17s]  * Qt6GuiTools (required version >= 6.8.1)
      [   17s]  * Qt6Widgets (required version >= 6.8.1)
      [   17s]  * Qt6QuickTools (required version >= 6.8.1)
      [   17s]  * Qt6QmlTools (required version >= 6.8.1)
      [   17s]  * WrapVulkanHeaders
      [   17s]  * Qt6Quick (required version >= 6.8.1)
      [   17s]  * Qt6QuickWidgets (required version >= 6.8.1)
      [   17s]  * Qt6QmlLSPrivate (required version >= 6.8.1)
      [   17s]  * Qt6Sql (required version >= 6.8.1)
      [   17s]  * Cups
      [   17s]  * Qt6PrintSupport (required version >= 6.8.1)
      [   17s]  * Qt6OpenGLWidgets (required version >= 6.8.1)
      [   17s]  * Qt6 (required version >= 6.8.1)
      [   17s]  * ZLIB
      [   17s]  * zstd
      [   17s]  * PkgConfig
      [   17s]  * LLVM (required version == 19.1.6)
      [   17s]  * Clang
      [   17s]  * WrapLibClang (required version >= 8)
      [   17s] 
      [   17s] -- The following OPTIONAL packages have not been found:
      [   17s] 
      [   17s]  * Qt6QmlCompilerPlusPrivateTools (required version >= 6.8.1)
      [   17s]  * LibEdit
      [   17s]  * LibXml2
      [   17s]  * WrapZSTD (required version >= 1.3), ZSTD compression library, <https://github.com/facebook/zstd>
      [   17s]  * litehtml
      [   17s] 
      [   17s] 
      [   17s] -- Configuration summary shown below. It has also been written to /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/config.summary
      [   17s] -- Configure with --log-level=STATUS or higher to increase CMake's message verbosity. The log level does not persist across reconfigurations.
      [   17s]  
      [   17s] -- Configure summary:
      [   17s] 
      [   17s] Qt Tools:
      [   17s]   Qt Assistant ........................... yes
      [   17s]   libclang found ......................... yes
      [   17s]   Clang-based lupdate parser ............. yes
      [   17s]   Qt Widgets Designer .................... yes
      [   17s]   Qt Distance Field Generator ............ yes
      [   17s]   Qt Linguist ............................ yes
      [   17s]   pixeltool .............................. yes
      [   17s]   qdbus .................................. yes
      [   17s]   QDoc ................................... yes
      [   17s]   Qt Attributions Scanner ................ yes
      [   17s]   qtdiag ................................. yes
      [   17s]   qtplugininfo ........................... yes
      [   17s]  
      [   17s] 
      [   17s] -- Configuring examples.
      [   18s] -- Configuring done (2.4s)
      [   18s] -- Generating done (0.3s)
      

       

       

      Error:

      [  189s] [112/118] cd /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/src/uitools && /usr/libexec/qt6/qhelpgenerator /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/share/doc/qt6/qtuitools/qtuitools.qhp -o /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/share/doc/qt6/qtuitools.qch
      [  189s] FAILED: src/uitools/CMakeFiles/qch_top_level_docs_UiTools /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/src/uitools/CMakeFiles/qch_top_level_docs_UiTools 
      [  189s] cd /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/src/uitools && /usr/libexec/qt6/qhelpgenerator /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/share/doc/qt6/qtuitools/qtuitools.qhp -o /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/share/doc/qt6/qtuitools.qch
      [  189s] Cannot open data base file /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/share/doc/qt6/qtuitools.qch.
      [  189s] Building up file structure...
      [  189s] [113/118] cd /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/src/linguist/linguist && /usr/libexec/qt6/qhelpgenerator /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/share/doc/qt6/qtlinguist/qtlinguist.qhp -o /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/share/doc/qt6/qtlinguist.qch
      [  189s] FAILED: src/linguist/linguist/CMakeFiles/qch_top_level_docs_linguist /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/src/linguist/linguist/CMakeFiles/qch_top_level_docs_linguist 
      [  189s] cd /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/src/linguist/linguist && /usr/libexec/qt6/qhelpgenerator /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/share/doc/qt6/qtlinguist/qtlinguist.qhp -o /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/share/doc/qt6/qtlinguist.qch
      [  189s] Cannot open data base file /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/share/doc/qt6/qtlinguist.qch.
      [  189s] Building up file structure...
      [  189s] [114/118] cd /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/src/assistant/help && /usr/libexec/qt6/qhelpgenerator /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/share/doc/qt6/qthelp/qthelp.qhp -o /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/share/doc/qt6/qthelp.qch
      [  189s] FAILED: src/assistant/help/CMakeFiles/qch_top_level_docs_Help /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/src/assistant/help/CMakeFiles/qch_top_level_docs_Help 
      [  189s] cd /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/src/assistant/help && /usr/libexec/qt6/qhelpgenerator /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/share/doc/qt6/qthelp/qthelp.qhp -o /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/share/doc/qt6/qthelp.qch
      [  189s] Cannot open data base file /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/share/doc/qt6/qthelp.qch.
      [  189s] Building up file structure...
      [  189s] [115/118] cd /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/src/designer/src/designer && /usr/libexec/qt6/qhelpgenerator /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/share/doc/qt6/qtdesigner/qtdesigner.qhp -o /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/share/doc/qt6/qtdesigner.qch
      [  189s] FAILED: src/designer/src/designer/CMakeFiles/qch_top_level_docs_designer /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/src/designer/src/designer/CMakeFiles/qch_top_level_docs_designer 
      [  189s] cd /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/src/designer/src/designer && /usr/libexec/qt6/qhelpgenerator /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/share/doc/qt6/qtdesigner/qtdesigner.qhp -o /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/share/doc/qt6/qtdesigner.qch
      [  189s] Cannot open data base file /home/abuild/rpmbuild/BUILD/qttools-everywhere-src-6.8.1/build/share/doc/qt6/qtdesigner.qch.
      [  189s] Building up file structure...
      [  189s] ninja: build stopped: subcommand failed.
      [  189s] error: Bad exit status from /var/tmp/rpm-tmp.QuZBRw (%build)
      

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jkobus Jarek Kobus
            cgiboudeaux Christophe Marin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes