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

error: drm_fourcc.h: No such file or directory

XMLWordPrintable

    • Linux/Yocto
    • d75cb6b85 (dev), 03dbc0cbe (6.10), 02db278a0 (tqtc/lts-6.8)

      After change https://codereview.qt-project.org/c/qt/qtmultimedia/+/662143, there's a build break with STM target (stm32mp15-disco):

      agent:2025/10/24 07:59:20 build.go:413: | /home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++ --sysroot=/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/recipe-sysroot -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_GSTREAMERMEDIAPLUGINIMPL_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_GUI_LIB -DQT_LEAN_HEADERS=1 -DQT_MOC_COMPAT -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_AS_CONST=1 -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CONTEXTLESS_CONNECT=1 -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_FOREACH=1 -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QASCONST -DQT_NO_QEXCHANGE -DQT_NO_QPAIR=1 -DQT_NO_QSNPRINTF -DQT_NO_STD_FORMAT_SUPPORT -DQT_USE_NODISCARD_FILE_OPEN=1 -DQT_USE_QSTRINGBUILDER -DQ_TRACEPOINT -D_GLIBCXX_ASSERTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/build/src/plugins/multimedia/gstreamer/GstreamerMediaPluginImplPrivate_autogen/include -I/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/build/include -I/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/build/include/QtGstreamerMediaPluginImpl -I/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/qtmultimedia-6.10.1/src/plugins/multimedia/gstreamer -I/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/build/src/plugins/multimedia/gstreamer -I/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/build/include/QtGstreamerMediaPluginImpl/6.10.1 -I/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/build/include/QtGstreamerMediaPluginImpl/6.10.1/QtGstreamerMediaPluginImpl -I/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/build/src/multimedia -I/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/build/include/QtMultimedia/6.10.1 -I/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/build/include/QtMultimedia/6.10.1/QtMultimedia -I/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/recipe-sysroot/usr/include/QtCore/6.10.1 -I/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/recipe-sysroot/usr/include/QtCore/6.10.1/QtCore -I/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/recipe-sysroot/usr/include/QtCore -I/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/recipe-sysroot/usr/lib/mkspecs/linux-g++ -I/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/recipe-sysroot/usr/include/QtGui/6.10.1 -I/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/recipe-sysroot/usr/include/QtGui/6.10.1/QtGui -I/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/recipe-sysroot/usr/include/QtGui -I/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/build/include/QtMultimedia -I/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/recipe-sysroot/usr/include/QtNetwork -I/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/recipe-sysroot/usr/include/QtConcurrent -I/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/recipe-sysroot/usr/include/gstreamer-1.0 -I/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/recipe-sysroot/usr/include/glib-2.0 -I/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/recipe-sysroot/usr/lib/glib-2.0/include -I/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/recipe-sysroot/usr/include/orc-0.4 -I/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/recipe-sysroot/usr/lib/gstreamer-1.0/include -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64  --sysroot=/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map  -fmacro-prefix-map=/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/qtmultimedia-6.10.1=/usr/src/debug/qtmultimedia/6.10.1  -fdebug-prefix-map=/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/qtmultimedia-6.10.1=/usr/src/debug/qtmultimedia/6.10.1  -fmacro-prefix-map=/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/build=/usr/src/debug/qtmultimedia/6.10.1  -fdebug-prefix-map=/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/build=/usr/src/debug/qtmultimedia/6.10.1  -fdebug-prefix-map=/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/recipe-sysroot=  -fmacro-prefix-map=/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/recipe-sysroot=  -fdebug-prefix-map=/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/recipe-sysroot-native=   -fmacro-prefix-map=/home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/image=  -fvisibility-inlines-hidden -DNDEBUG -O2 -std=gnu++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wno-expansion-to-defined -pthread -U_FORTIFY_SOURCE -Wsuggest-override -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fstack-clash-protection -fno-exceptions -Winvalid-pch -include /home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/build/src/plugins/multimedia/gstreamer/CMakeFiles/GstreamerMediaPluginImplPrivate.dir/cmake_pch.hxx -MD -MT src/plugins/multimedia/gstreamer/CMakeFiles/GstreamerMediaPluginImplPrivate.dir/common/qgstvideobuffer.cpp.o -MF src/plugins/multimedia/gstreamer/CMakeFiles/GstreamerMediaPluginImplPrivate.dir/common/qgstvideobuffer.cpp.o.d -o src/plugins/multimedia/gstreamer/CMakeFiles/GstreamerMediaPluginImplPrivate.dir/common/qgstvideobuffer.cpp.o -c /home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/qtmultimedia-6.10.1/src/plugins/multimedia/gstreamer/common/qgstvideobuffer.cpp
      agent:2025/10/24 07:59:20 build.go:413: | /home/qt/work/build/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/qtmultimedia/6.10.1/qtmultimedia-6.10.1/src/plugins/multimedia/gstreamer/common/qgstvideobuffer.cpp:35:14: fatal error: drm_fourcc.h: No such file or directory
      agent:2025/10/24 07:59:20 build.go:413: |    35 | #    include <drm_fourcc.h>
      agent:2025/10/24 07:59:20 build.go:413: |       |              ^~~~~~~~~~~~~~
      agent:2025/10/24 07:59:20 build.go:413: | compilation terminated. 

      drm_fourcc.h header exists in the sysroot, but there is no include path specified for it (.../usr/include/libdrm)

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

            lars.sutterud Lars Sutterud
            sapiippo Samuli Piippo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes