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

FTBFS qttools

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 6.2.0
    • Tools: Assistant
    • None
    • Linux/X11, macOS, Windows

    Description

      When trying to build Qt 6.2.0 with qttools enabled, all major platforms fail with a similar error during assistant compilation:

      [1855/1934] Building CXX object qttools/src/assistant/qlitehtml/src/3rdparty/litehtml/CMakeFiles/litehtml.dir/src/num_cvt.cpp.o
      FAILED: qttools/src/assistant/qlitehtml/src/3rdparty/litehtml/CMakeFiles/litehtml.dir/src/num_cvt.cpp.o 
      /usr/bin/g++ -DQT_NO_EXCEPTIONS -D_GLIBCXX_USE_CXX11_ABI=0 -I/root/.conan/data/pkgconf/1.7.4/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include -I/root/.conan/data/pkgconf/1.7.4/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include/pkgconf -I/root/.conan/data/double-conversion/3.1.5/_/_/package/50a5030bbbb13ae56bc4be41915ecd48549cb895/include -I/root/.conan/data/fontconfig/2.13.93/_/_/package/e135b8afaaf9274276e3ae293315395467cd735b/include -I/root/.conan/data/icu/69.1/_/_/package/2339cf7e44ab129a845262fe62027b1d537a2924/include -I/root/.conan/data/harfbuzz/2.8.0/_/_/package/5189d7d9527e2076c9b27acd98aa7f4a377fd25a/include -I/root/.conan/data/harfbuzz/2.8.0/_/_/package/5189d7d9527e2076c9b27acd98aa7f4a377fd25a/include/harfbuzz -I/root/.conan/data/sqlite3/3.36.0/_/_/package/c0cc1a2703aaeb2777d683089def26db57cf15e6/include -I/root/.conan/data/libpq/13.2/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include -I/root/.conan/data/odbc/2.3.9/_/_/package/b29d3eb003873b92a248c0df6debab47f53853ea/include -I/root/.conan/data/xkbcommon/1.3.0/_/_/package/5727d953696984fba5210b9f986a70e4a5cc2362/include -I/usr/include/libdrm -I/root/.conan/data/openssl/1.1.1l/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include -I/root/.conan/data/freetype/2.10.4/_/_/package/f1014dc4f9380132c471ceb778980949abf136d3/include -I/root/.conan/data/freetype/2.10.4/_/_/package/f1014dc4f9380132c471ceb778980949abf136d3/include/freetype2 -I/root/.conan/data/libuuid/1.0.3/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include -I/root/.conan/data/libuuid/1.0.3/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include/uuid -I/root/.conan/data/glib/2.70.0/_/_/package/0385e7273c0d55fb125e44f6a019048e475655f4/include -I/root/.conan/data/glib/2.70.0/_/_/package/0385e7273c0d55fb125e44f6a019048e475655f4/include/gio-unix-2.0 -I/root/.conan/data/glib/2.70.0/_/_/package/0385e7273c0d55fb125e44f6a019048e475655f4/include/glib-2.0 -I/root/.conan/data/glib/2.70.0/_/_/package/0385e7273c0d55fb125e44f6a019048e475655f4/lib/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/root/.conan/data/wayland/1.19.0/_/_/package/f154a7e0d26bf39a64459f3df3d93e77d5145cf6/include -I/root/.conan/data/libpng/1.6.37/_/_/package/7929d8ecf29c60d74fd3c1f6cb78bbb3cb49c0c7/include -I/root/.conan/data/brotli/1.0.9/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include -I/root/.conan/data/brotli/1.0.9/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include/brotli -I/root/.conan/data/expat/2.4.1/_/_/package/c215f67ac7fc6a34d9d0fb90b0450016be569d86/include -I/root/.conan/data/libffi/3.4.2/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include -I/root/.conan/data/pcre/8.45/_/_/package/87087120c448298530c012e627c1a0b8f062586d/include -I/root/.conan/data/libelf/0.8.13/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include -I/root/.conan/data/libmount/2.36.2/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include -I/root/.conan/data/libmount/2.36.2/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include/libmount -I/root/.conan/data/libselinux/3.2/_/_/package/6b0384e3aaa343ede5d2bd125e37a0198206de42/include -I/root/.conan/data/libxml2/2.9.12/_/_/package/e9a3e7dd6ab9bf161be4ac8c0925d9a6ba8f2645/include -I/root/.conan/data/libxml2/2.9.12/_/_/package/e9a3e7dd6ab9bf161be4ac8c0925d9a6ba8f2645/include/libxml2 -I/root/.conan/data/pcre2/10.37/_/_/package/3b544e62795c293d95ba624360f2fc91ca32ce44/include -I/root/.conan/data/libiconv/1.16/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include -I/root/.conan/data/zlib/1.2.11/_/_/package/6af9cc7cb931c5ad942174fd7838eb655717c709/include -I/root/.conan/data/bzip2/1.0.8/_/_/package/da606cf731e334010b0bf6e85a2a6f891b9f36b0/include -I/root/.conan/data/qt/6.2.0/_/_/source/qt6/qttools/src/assistant/qlitehtml/src/3rdparty/litehtml/src -I/root/.conan/data/qt/6.2.0/_/_/source/qt6/qttools/src/assistant/qlitehtml/src/3rdparty/litehtml/include -I/root/.conan/data/qt/6.2.0/_/_/source/qt6/qttools/src/assistant/qlitehtml/src/3rdparty/litehtml/include/litehtml -I/root/.conan/data/qt/6.2.0/_/_/source/qt6/qttools/src/assistant/qlitehtml/src/3rdparty/litehtml/src/gumbo/include -m64 -DNDEBUG -O2 -fPIC -DPCRE2_STATIC -DLIBXML_STATIC -DPCRE_STATIC=1 -DFFI_BUILDING -DXML_STATIC -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DU_STATIC_IMPLEMENTATION -DPKGCONFIG_IS_STATIC -w -fno-exceptions -std=gnu++11 -MD -MT qttools/src/assistant/qlitehtml/src/3rdparty/litehtml/CMakeFiles/litehtml.dir/src/num_cvt.cpp.o -MF qttools/src/assistant/qlitehtml/src/3rdparty/litehtml/CMakeFiles/litehtml.dir/src/num_cvt.cpp.o.d -o qttools/src/assistant/qlitehtml/src/3rdparty/litehtml/CMakeFiles/litehtml.dir/src/num_cvt.cpp.o -c /root/.conan/data/qt/6.2.0/_/_/source/qt6/qttools/src/assistant/qlitehtml/src/3rdparty/litehtml/src/num_cvt.cpp
      In file included from /root/.conan/data/qt/6.2.0/_/_/source/qt6/qttools/src/assistant/qlitehtml/src/3rdparty/litehtml/src/num_cvt.cpp:3:
      /root/.conan/data/qt/6.2.0/_/_/source/qt6/qttools/src/assistant/qlitehtml/src/3rdparty/litehtml/include/litehtml/utf8_strings.h:8:9: error: ‘byte’ does not name a type
          8 |   const byte* m_utf8;
            |         ^~~~
      /root/.conan/data/qt/6.2.0/_/_/source/qt6/qttools/src/assistant/qlitehtml/src/3rdparty/litehtml/include/litehtml/utf8_strings.h:17:3: error: ‘ucode_t’ does not name a type; did you mean ‘mode_t’?
         17 |   ucode_t getb()
            |   ^~~~~~~
            |   mode_t
      /root/.conan/data/qt/6.2.0/_/_/source/qt6/qttools/src/assistant/qlitehtml/src/3rdparty/litehtml/include/litehtml/utf8_strings.h:22:3: error: ‘ucode_t’ does not name a type; did you mean ‘mode_t’?
         22 |   ucode_t get_next_utf8(ucode_t val)
            |   ^~~~~~~
            |   mode_t
      /root/.conan/data/qt/6.2.0/_/_/source/qt6/qttools/src/assistant/qlitehtml/src/3rdparty/litehtml/include/litehtml/utf8_strings.h:26:3: error: ‘ucode_t’ does not name a type; did you mean ‘mode_t’?
         26 |   ucode_t get_char();
            |   ^~~~~~~
            |   mode_t
      

      More details on github actions:

      the missing types "byte" and "ucode_t" are declared in types.h, which is properly included in num_cvt.cpp, but the compiler probably picks up the type.h from brotli instead, because its include path appears first in the command line

      Attachments

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

        Activity

          People

            jkobus Jarek Kobus
            ericlemanissier Eric Lemanissier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes