Qt6.10 SBOM generation failed after installing the libraries.
-
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. -
Hi,
How did you install Qt 6.10 ?
When did this error happen ?
What were you doing ?
On which OS ? -
Hi,
- I compiled downloading the source from https://download.qt.io/official_releases/qt/6.10/6.10.0/single/
- The error happened after compilation when installing the libraries and binaries. After ninja -j16 while running ninja install
- I am trying to build Qt 6.10 from the source on Rocky Linux 8.10 for x86_64.
-
Try without multi threading.
-
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
.gitfolder and thus the error message. -
I think it's
-sbom=nowhen calling configure.