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

Failed to build sources on tqtc/lts-6.8: XSLT_DEBUG_INIT’ conflicts with a previous declaration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • 6.8.4
    • 6.8.4
    • WebEngine
    • None
    • 1cacccf93 (122-based), e66b5a12a (6.8), 704a7b58c (tqtc/lts-6.8)

    Description

      The integrations on qt/tqtc-qt5 in tqtc/lts-6.8 branch fail as qtwebengine sources cannot be built on RHEL 8.10. There are errors such as (see the full log e.g. on https://codereview.qt-project.org/c/qt/tqtc-qt5/+/651392):

      XSLT_DEBUG_INIT’ conflicts with a previous declaration
      
      28961: /usr/include/libxslt/xsltutils.h:293:5: error: ‘XSLT_DEBUG_INIT’ conflicts with a previous declaration
        293 |     XSLT_DEBUG_INIT,
            |     ^~~~~~~~~~~~~~~
      In file included from ./../../../../../qtwebengine/src/3rdparty/chromium/third_party/blink/renderer/core/xml/xsl_style_sheet_libxslt.cc:26,
                       from gen/third_party/blink/renderer/core/core_jumbo_286.cc:6:
      /usr/include/libxslt/xsltutils.h:293:5: note: previous declaration ‘xsltDebugStatusCodes XSLT_DEBUG_INIT’
        293 |     XSLT_DEBUG_INIT,
            |     ^~~~~~~~~~~~~~~
      In file included from ./../../../../../qtwebengine/src/3rdparty/chromium/third_party/blink/renderer/core/xml/xslt_extensions.cc:32,
                       from gen/third_party/blink/renderer/core/core_jumbo_286.cc:7:
      /usr/include/libxslt/xsltutils.h:294:5: error: ‘XSLT_DEBUG_STEP’ conflicts with a previous declaration
      
      28971: /usr/include/libxslt/xsltutils.h:294:5: error: ‘XSLT_DEBUG_STEP’ conflicts with a previous declaration
        294 |     XSLT_DEBUG_STEP,
            |     ^~~~~~~~~~~~~~~
      In file included from ./../../../../../qtwebengine/src/3rdparty/chromium/third_party/blink/renderer/core/xml/xsl_style_sheet_libxslt.cc:26,
                       from gen/third_party/blink/renderer/core/core_jumbo_286.cc:6:
      /usr/include/libxslt/xsltutils.h:294:5: note: previous declaration ‘xsltDebugStatusCodes XSLT_DEBUG_STEP’
        294 |     XSLT_DEBUG_STEP,
            |     ^~~~~~~~~~~~~~~
      In file included from ./../../../../../qtwebengine/src/3rdparty/chromium/third_party/blink/renderer/core/xml/xslt_extensions.cc:32,
                       from gen/third_party/blink/renderer/core/core_jumbo_286.cc:7:
      /usr/include/libxslt/xsltutils.h:295:5: error: ‘XSLT_DEBUG_STEPOUT’ conflicts with a previous declaration
      
      28981: /usr/include/libxslt/xsltutils.h:295:5: error: ‘XSLT_DEBUG_STEPOUT’ conflicts with a previous declaration
        295 |     XSLT_DEBUG_STEPOUT,
            |     ^~~~~~~~~~~~~~~~~~
      In file included from ./../../../../../qtwebengine/src/3rdparty/chromium/third_party/blink/renderer/core/xml/xsl_style_sheet_libxslt.cc:26,
                       from gen/third_party/blink/renderer/core/core_jumbo_286.cc:6:
      /usr/include/libxslt/xsltutils.h:295:5: note: previous declaration ‘xsltDebugStatusCodes XSLT_DEBUG_STEPOUT’
        295 |     XSLT_DEBUG_STEPOUT,
            |     ^~~~~~~~~~~~~~~~~~
      In file included from ./../../../../../qtwebengine/src/3rdparty/chromium/third_party/blink/renderer/core/xml/xslt_extensions.cc:32,
                       from gen/third_party/blink/renderer/core/core_jumbo_286.cc:7:
      /usr/include/libxslt/xsltutils.h:296:5: error: ‘XSLT_DEBUG_NEXT’ conflicts with a previous declaration
      
      28991: /usr/include/libxslt/xsltutils.h:296:5: error: ‘XSLT_DEBUG_NEXT’ conflicts with a previous declaration
        296 |     XSLT_DEBUG_NEXT,
            |     ^~~~~~~~~~~~~~~
      In file included from ./../../../../../qtwebengine/src/3rdparty/chromium/third_party/blink/renderer/core/xml/xsl_style_sheet_libxslt.cc:26,
                       from gen/third_party/blink/renderer/core/core_jumbo_286.cc:6:
      /usr/include/libxslt/xsltutils.h:296:5: note: previous declaration ‘xsltDebugStatusCodes XSLT_DEBUG_NEXT’
        296 |     XSLT_DEBUG_NEXT,
            |     ^~~~~~~~~~~~~~~
      In file included from ./../../../../../qtwebengine/src/3rdparty/chromium/third_party/blink/renderer/core/xml/xslt_extensions.cc:32,
                       from gen/third_party/blink/renderer/core/core_jumbo_286.cc:7:
      /usr/include/libxslt/xsltutils.h:297:5: error: ‘XSLT_DEBUG_STOP’ conflicts with a previous declaration
      
      29001: /usr/include/libxslt/xsltutils.h:297:5: error: ‘XSLT_DEBUG_STOP’ conflicts with a previous declaration
        297 |     XSLT_DEBUG_STOP,
            |     ^~~~~~~~~~~~~~~
      In file included from ./../../../../../qtwebengine/src/3rdparty/chromium/third_party/blink/renderer/core/xml/xsl_style_sheet_libxslt.cc:26,
                       from gen/third_party/blink/renderer/core/core_jumbo_286.cc:6:
      /usr/include/libxslt/xsltutils.h:297:5: note: previous declaration ‘xsltDebugStatusCodes XSLT_DEBUG_STOP’
        297 |     XSLT_DEBUG_STOP,
            |     ^~~~~~~~~~~~~~~
      In file included from ./../../../../../qtwebengine/src/3rdparty/chromium/third_party/blink/renderer/core/xml/xslt_extensions.cc:32,
                       from gen/third_party/blink/renderer/core/core_jumbo_286.cc:7:
      /usr/include/libxslt/xsltutils.h:298:5: error: ‘XSLT_DEBUG_CONT’ conflicts with a previous declaration
      
      29011: /usr/include/libxslt/xsltutils.h:298:5: error: ‘XSLT_DEBUG_CONT’ conflicts with a previous declaration
        298 |     XSLT_DEBUG_CONT,
            |     ^~~~~~~~~~~~~~~
      In file included from ./../../../../../qtwebengine/src/3rdparty/chromium/third_party/blink/renderer/core/xml/xsl_style_sheet_libxslt.cc:26,
                       from gen/third_party/blink/renderer/core/core_jumbo_286.cc:6:
      /usr/include/libxslt/xsltutils.h:298:5: note: previous declaration ‘xsltDebugStatusCodes XSLT_DEBUG_CONT’
        298 |     XSLT_DEBUG_CONT,
            |     ^~~~~~~~~~~~~~~
      In file included from ./../../../../../qtwebengine/src/3rdparty/chromium/third_party/blink/renderer/core/xml/xslt_extensions.cc:32,
                       from gen/third_party/blink/renderer/core/core_jumbo_286.cc:7:
      /usr/include/libxslt/xsltutils.h:299:5: error: ‘XSLT_DEBUG_RUN’ conflicts with a previous declaration
      

      Build log: https://ci-files01-hki.ci.qt.io/cilogs/qt/qtwebengine/ee33d2ff20c10b3e1cfa9cdb57f759dda254e9ca/LinuxRHEL_8_10x86_64LinuxRHEL_8_10x86_64GCCqtci-linux-RHEL-8.10-x86_64-51-fb926fGenerateSBOM_InstallQt5Dependencies_Packaging_Sccache_UseConfigure_VerifySBOM/aa2b77159e3d3140f835faf0926ab2dc811b74f8/build_1749674445/log.txt.gz

      Details: https://ci-files01-hki.ci.qt.io:8081/coin/integration/qt/tqtc-qt5/tasks/1749674443

      Tested changes (refs/builds/qtci/tqtc/lts-6.8/1749666958):
      https://codereview.qt-project.org/c/qt/tqtc-qt5/+/651389/1 FFmpeg: reduce the number of frameworks we create
      https://codereview.qt-project.org/c/qt/tqtc-qt5/+/651392/1 Coin: Limit avahi-daemon interfaces

      Note: the same error appears also in https://codereview.qt-project.org/c/qt/tqtc-qt5/+/652600.

      Set priority to P0 as this is blocking integrations on tqtc-qt5.

      Attachments

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

        Activity

          People

            michal Michal Klocek
            tarjasundqvist Tarja Sundqvist
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes