Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt6.10 SBOM generation failed after installing the libraries.
Forum Updated to NodeBB v4.3 + New Features

Qt6.10 SBOM generation failed after installing the libraries.

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
9 Posts 3 Posters 228 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vinay21
    wrote last edited by
    #1

    Qt6.10 sbom generation failed after installing the libraries. Below is the error while generating sbom.

    CMake Error at qtwebengine/cmake/QtGnSbom.cmake:59 (message):

    -- SBOM generation FAILED

    fatal: not a git repository (or any parent up to mount point /)

    Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

    ERROR:main:Failed parsing 'base/third_party/cityhash': Command '['git',
    'rev-list', '-n1', '--first-parent', '--grep=BASELINE: Update Chromium',
    'HEAD', '--', 'base/third_party/cityhash']' returned non-zero exit status
    128.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote last edited by
      #2

      Hi,

      How did you install Qt 6.10 ?
      When did this error happen ?
      What were you doing ?
      On which OS ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vinay21
        wrote last edited by
        #3

        Hi,

        1. I compiled downloading the source from https://download.qt.io/official_releases/qt/6.10/6.10.0/single/
        2. The error happened after compilation when installing the libraries and binaries. After ninja -j16 while running ninja install
        3. I am trying to build Qt 6.10 from the source on Rocky Linux 8.10 for x86_64.
        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote last edited by
          #4

          Try without multi threading.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • V Offline
            V Offline
            vinay21
            wrote last edited by
            #5

            Do you want me compile the entire Qt6.10 without multi threading?
            How will that help SBOM generation. The error says some issue with .git initialisation which is unrelated. Can you please elaborate bit more.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote last edited by
              #6

              Oh wait, I misread something.

              You are building from the archive and not from a git clone. That's likely the reason of the error and maybe a bug in the build system for Qt 6.10 since indeed there's no reason to have a .git folder and thus the error message.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • V Offline
                V Offline
                vinay21
                wrote last edited by
                #7

                Is there a way to skip sbom generation from cmake options with -D<options>?

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote last edited by
                  #8

                  I think it's -sbom=no when calling configure.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • E Offline
                    E Offline
                    Elgerton
                    wrote last edited by
                    #9

                    I face the same issue. Did you create an Qt Bug?
                    I skipped the SBOM generation with -DQT_GENERATE_SBOM=OFF

                    1 Reply Last reply
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved