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. Target 'FFmpeg::avutil' is missing an SBOM_ENTITY_TYPE value.
Qt 6.11 is out! See what's new in the release blog

Target 'FFmpeg::avutil' is missing an SBOM_ENTITY_TYPE value.

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
8 Posts 3 Posters 510 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.
  • P Offline
    P Offline
    ph_android
    wrote last edited by
    #1

    Error while configuring Qt 6.11.2 on Ubuntu 24.04 (~/qt-source/configure):

    CMake Error at qtbase/cmake/QtPublicSbomHelpers.cmake:1906 (message):
      Target 'FFmpeg::avutil' is missing an SBOM_ENTITY_TYPE value.  Make sure to
      pass it when creating new SBOM target or extending an existing target with
      SBOM infromation for the first time.
    Call Stack (most recent call first):
      qtbase/cmake/QtPublicSbomHelpers.cmake:2012 (_qt_internal_extend_sbom)
      qtbase/cmake/QtSbomHelpers.cmake:30 (_qt_find_package_extend_sbom)
      qtmultimedia/src/multimedia/configure.cmake:74 (qt_find_package_extend_sbom)
      qtbase/cmake/QtModuleHelpers.cmake:751 (include)
      qtmultimedia/src/multimedia/CMakeLists.txt:10 (qt_internal_add_module)
    
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote last edited by
      #2

      Hi and welcome to devnet,

      What exact parameters did you pass to configure ?
      Are you building from git sources or from the official archive ?

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

      P 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        What exact parameters did you pass to configure ?
        Are you building from git sources or from the official archive ?

        P Offline
        P Offline
        ph_android
        wrote last edited by
        #3

        @SGaist Hello, I just followed https://doc.qt.io/qt-6/configure-options.html

        ~/qt-source/configure
        

        I get the same error from both git sources and the official archive.

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

          I tried on both Linux and macOS using the 6.11.2 tar archive calling configure without any parameters and it worked properly on both case.

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

          P 1 Reply Last reply
          0
          • SGaistS SGaist

            I tried on both Linux and macOS using the 6.11.2 tar archive calling configure without any parameters and it worked properly on both case.

            P Offline
            P Offline
            ph_android
            wrote last edited by
            #5

            @SGaist I tried the tar archive and got the same error? Could this be a CMake issue? My CMake version is the latest from Kitware.

            cmake version 4.4.2
            
            CMake suite maintained and supported by Kitware (kitware.com/cmake).
            
            1 Reply Last reply
            0
            • P Offline
              P Offline
              ph_android
              wrote last edited by
              #6

              Versions of dependencies (https://doc.qt.io/qt-6/linux-requirements.html)

              libfontconfig1-dev is already the newest version (2.15.0-1.1ubuntu2).
              libfreetype-dev is already the newest version (2.13.2+dfsg-1ubuntu0.1).
              libgtk-3-dev is already the newest version (3.24.41-4ubuntu1.3).
              libx11-dev is already the newest version (2:1.8.7-1build1).
              libx11-xcb-dev is already the newest version (2:1.8.7-1build1).
              libxcb-cursor-dev is already the newest version (0.1.4-1build1).
              libxcb-glx0-dev is already the newest version (1.15-1ubuntu2).
              libxcb-icccm4-dev is already the newest version (0.4.1-1.1build3).
              libxcb-image0-dev is already the newest version (0.4.0-2build1).
              libxcb-keysyms1-dev is already the newest version (0.4.0-1build4).
              libxcb-randr0-dev is already the newest version (1.15-1ubuntu2).
              libxcb-render-util0-dev is already the newest version (0.3.9-1build4).
              libxcb-shape0-dev is already the newest version (1.15-1ubuntu2).
              libxcb-shm0-dev is already the newest version (1.15-1ubuntu2).
              libxcb-sync-dev is already the newest version (1.15-1ubuntu2).
              libxcb-util-dev is already the newest version (0.4.0-1build3).
              libxcb-xfixes0-dev is already the newest version (1.15-1ubuntu2).
              libxcb-xkb-dev is already the newest version (1.15-1ubuntu2).
              libxcb1-dev is already the newest version (1.15-1ubuntu2).
              libxext-dev is already the newest version (2:1.3.4-1build2).
              libxfixes-dev is already the newest version (1:6.0.0-2build1).
              libxi-dev is already the newest version (2:1.8.1-1build1).
              libxkbcommon-dev is already the newest version (1.6.0-1build1).
              libxkbcommon-x11-dev is already the newest version (1.6.0-1build1).
              libxrender-dev is already the newest version (1:0.9.10-1.1build1).
              
              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote last edited by
                #7

                On Linux I have 3.30.5 and on macOS 4.4.3

                Which archive did you download ?

                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
                • D Offline
                  D Offline
                  devel
                  wrote last edited by
                  #8

                  You can reproduce it inside docker.

                  I've checked out v6.12.0-beta1 tag into $PWD/qt.

                  docker run -it --rm -v $PWD/qt:/src/qt ubuntu:22.04 bash
                  export CMAKE_VERSION="4.3.2"
                  export DEBIAN_FRONTEND=noninteractive
                  apt-get update && apt-get install -y \
                      build-essential \
                      perl \
                      python3 \
                      git \
                      ninja-build \
                      cmake \
                      ccache \
                      libssl-dev \
                      checkinstall \
                      libwayland-dev \
                      libxrandr-dev \
                      patchelf \
                      wget \
                      fuse3 \
                      pkg-config \
                      rsync \
                      libharfbuzz-dev \
                      libfribidi-dev \
                      libfontconfig-dev \
                      libgl1-mesa-dev \
                      libx11-dev \
                      libxext-dev \
                      libxfixes-dev \
                      libxi-dev \
                      libxrender-dev \
                      libxcb1-dev \
                      libx11-xcb-dev \
                      libxcb-glx0-dev \
                      libxcb-keysyms1-dev \
                      libxcb-image0-dev \
                      libxcb-shm0-dev \
                      libxcb-icccm4-dev \
                      libxcb-sync-dev \
                      libxcb-xfixes0-dev \
                      libxcb-shape0-dev \
                      libxcb-randr0-dev \
                      libxcb-render-util0-dev \
                      libxcb-util-dev \
                      libxcb-xinerama0-dev \
                      libxkbcommon-dev \
                      libxkbcommon-x11-dev \
                      libxcb-xinput-dev \
                      libegl1-mesa-dev \
                      libxkbfile-dev \
                      libxtst-dev \
                      libxshmfence-dev \
                      libxcursor-dev \
                      libxcomposite-dev \
                      libdrm-dev \
                      libxcb-dri3-dev \
                      libxcb-cursor-dev \
                      libxcb-res0-dev \
                      libdbus-1-dev \
                      libdbus-c++-dev \
                      libzstd-dev \
                      liblzma-dev \
                      libbz2-dev \
                      gettext \
                      python3-pip \
                      flex \
                      bison \
                      libudev-dev \
                      libcanberra-dev \
                      qpdf \
                      xxd \
                      libavcodec-extra \
                      libavcodec-dev
                  
                  mkdir /cmake-build && \
                      cd /cmake-build && \
                      git clone --depth 1 --branch v${CMAKE_VERSION} https://github.com/Kitware/CMake.git && \
                      cd CMake && \
                      mkdir build && \
                      cd build && \
                      cmake .. -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release && \
                      cmake --build . --parallel && \
                      checkinstall --install=no --nodoc --pkgname=cmake --pkgversion=${CMAKE_VERSION} -y && \
                      apt -y remove cmake cmake-data && \
                      dpkg -i cmake_${CMAKE_VERSION}*.deb && \
                      rm -rf /cmake-build
                  
                  mkdir /build && \
                      cd /build && \
                      /src/qt/configure \
                          -prefix /usr \
                          -opensource \
                          -confirm-license \
                          -release \
                          -ccache \
                          -xcb \
                          -opengl \
                          -skip qt3d \
                          -skip qtcharts \
                          -skip qtdatavis3d \
                          -skip qtgamepad \
                          -skip qtgraphs \
                          -skip qtmqtt \
                          -skip qtopenapi \
                          -skip qtquick3d \
                          -skip qtquick3dphysics \
                          -skip qtquickeffectmaker \
                          -skip qtremoteobjects \
                          -skip qtsensors \
                          -skip qtserialbus \
                          -skip qtserialport \
                          -skip qtspeech \
                          -skip qtwebchannel \
                          -skip qtwebengine \
                          -skip qtwebsockets \
                          -nomake examples \
                          -nomake tests
                  
                  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