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

QtWebEngine 6.8.0 fails to build with -DFEATURE_webengine_system_libvpx=ON

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 6.8.0
    • WebEngine
    • None
    • Linux/X11
    • 30e6fccd6 (130-based), c4aa5cc8c (126-based)

    Description

      I'm aware of https://codereview.qt-project.org/c/qt/qtwebengine/+/509303 but if I disable vaapi and try to enable system_libvpx qtwebengine fails to build. Besides the build failure, I do wonder if this is a supported configuration?
      libvpx's version is 1.14.0 here.

      ...
      -- Checking for module 'opus>=1.3.1' 
      --   Found opus, version 1.5.2 
      -- Checking for module 'vpx>=1.10.0' 
      --   Found vpx, version 1.14.1 
      -- Checking for module 'libpci' 
      --   Found libpci, version 3.13.0
      
      ...
      FAILED: obj/media/base/base/base_jumbo_19.o /usr/bin/x86_64-pc-linux-gnu-c++ -MMD -MF obj/media/base/base/base_jumbo_19.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DIS_MEDIA_IMPL -DUSE_PULSEAUDIO -DDLOPEN_PULSEAUDIO -DSK_ENABLE_SKSL -DSK_UNTIL_CRBUG_1187654_IS_FIXED -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_WIN_FONTMGR_NO_SIMULATIONS -DSK_DISABLE_LEGACY_SKSURFACE_METHODS -DSK_DISABLE_LEGACY_GRAPHITE_IMAGE_FACTORIES -DSK_DISABLE_LEGACY_GRAPHITE_IMAGE_METHODS -DSK_DISABLE_LEGACY_SKSURFACE_FACTORIES -DSK_DISABLE_LEGACY_SKSURFACE_FLUSH -DSK_DISABLE_LEGACY_SKSURFACE_AS_IMAGE -DSK_DISABLE_LEGACY_SKSURFACE_DISPLAYLIST -DSK_DISABLE_LEGACY_IMAGE_SUBSET_METHODS -DSK_DISABLE_LEGACY_IMAGE_COLORSPACE_METHODS -DSK_DISABLE_LEGACY_IMAGE_RELEASE_PROCS -DSK_DISABLE_LEGACY_GL_BACKEND_SURFACE -DSK_DISABLE_LEGACY_INIT_DECODERS -DSK_DISABLE_LEGACY_GRDIRECTCONTEXT_FLUSH -DSK_DISABLE_LEGACY_GRDIRECTCONTEXT_BOOLS -DSK_DISABLE_LEGACY_GL_GRDIRECTCONTEXT_FACTORIES -DSK_DISABLE_LEGACY_PNG_WRITEBUFFER -DSK_SLUG_DISABLE_LEGACY_DESERIALIZE -DSK_DISABLE_LEGACY_VK_GRDIRECTCONTEXT_FACTORIES -DSK_DEFAULT_TYPEFACE_IS_EMPTY -DSK_DISABLE_LEGACY_DEFAULT_TYPEFACE -DSK_DISABLE_LEGACY_VULKAN_BACKENDSEMAPHORE -DSK_DISABLE_LEGACY_CREATE_CHARACTERIZATION -DSK_DISABLE_LEGACY_FONTMGR_REFDEFAULT -DSK_DISABLE_LEGACY_FONTMGR_FACTORY -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_GANESH -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DSK_GL -DSK_VULKAN=1 -DSK_GRAPHITE -DVK_USE_PLATFORM_XCB_KHR -DUSE_GLX -DUSE_EGL -DLIBYUV_DISABLE_NEON -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DUSE_SYSTEM_ZLIB=1 -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DGOOGLE_PROTOBUF_INTERNAL_DONATE_STEAL_INLINE=0 -DHAVE_PTHREAD -DVK_NO_PROTOTYPES -DUSE_VULKAN_XCB -I. -Igen -I../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium -I../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium/third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium/third_party/skia -Igen/third_party/skia -I../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium/third_party/wuffs/src/release/c -I../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium/third_party/vulkan/include -I../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium/third_party/vulkan-deps/vulkan-headers/src/include -I../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium/net/third_party/quiche/overrides -I../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium/net/third_party/quiche/src/quiche/common/platform/default -I../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium/net/third_party/quiche/src -Igen/third_party/dawn/include -I../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium/third_party/dawn/include -I../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium/third_party/khronos -I../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium/gpu -I../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium/third_party/libyuv/include -I../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium/base/allocator/partition_allocator/src -Igen/base/allocator/partition_allocator/src -I../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium/third_party/abseil-cpp -I../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium/third_party/boringssl/src/include -I../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium/third_party/protobuf/src -Igen/protoc_out -I../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium/third_party/mesa_headers -I../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium/third_party/ipcz/include -I../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium/third_party/ced/src -I../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium/third_party/crashpad/crashpad -I../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium/third_party/crashpad/crashpad/compat/linux -I../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium/third_party/crashpad/crashpad/compat/non_win -Igen/net/third_party/quiche/src -I../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium/third_party/libaom/source/libaom -I../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium/third_party/libaom/source/config/linux/x64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -fno-ident -fno-strict-aliasing -fstack-protector -Wno-unknown-pragmas -Wno-address -Wno-parentheses -Wno-sign-compare -Wno-stringop-overflow -Wno-stringop-overread -Wno-psabi -Wno-multichar -Wno-format-zero-length -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -msse3 -O2 -fdata-sections -ffunction-sections -fno-math-errno -fno-omit-frame-pointer -gdwarf-4 -g2 -fvisibility=hidden -I/usr/x86_64-pc-linux-gnu/include/nss -I/usr/x86_64-pc-linux-gnu/include/nspr -I/usr/x86_64-pc-linux-gnu/include/ffmpeg-7 -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -Wno-deprecated-copy -Wno-expansion-to-defined -std=gnu++20 -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c gen/media/base/base_jumbo_19.cc -o obj/media/base/base/base_jumbo_19.o
      In file included from ./../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium/media/base/libvpx_thread_wrapper.cc:8,
                       from gen/media/base/base_jumbo_19.cc:8:
      ../../../../../qtwebengine-everywhere-src-6.8.0/src/3rdparty/chromium/third_party/libvpx/source/libvpx/vpx_util/vpx_thread.h:18:10: fatal error: ./vpx_config.h: No such file or directory
         18 | #include "./vpx_config.h"
            |          ^~~~~~~~~~~~~~~~
      compilation terminated.

      Attachments

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

        Activity

          People

            moheim Moss Heim
            heirecka Heiko Becker
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes