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

WebEngine build fails with cmake / sbom related error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.9, 6.10, 6.11
    • None
    • Linux/X11, macOS, Windows

      The addition of the mock delegates plugin in this change triggered failures when configuring a combined Qt WebEngine and Qt Pdf build with tests activated:
      CMake Error: Files to be generated by multiple different commands: "/Users/michaelbruning/dev-with-6.9/qt_sbom/qtpdf/DocumentRef-qtbase.cmake"

      (see attachments for output with and without tracing)

      It seems as if the addition of the internal module somehow causes the file to be generated twice. This seems to happen from the call to qt_internal_sbom_end_qt_repo_project, which then ends up calling _qt_internal_sbom_end_project_generate, where the GENERATE call happens.

      This can be reproduced with dev/6.11, 6.10 and 6.9.

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

            qtbuildsystem Qt Build System Team
            mibrunin Michael Bruning
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes