Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 864725 - dev-qt/qtwebengine-5.15.5_p20220618 compile error with media-video/ffmpeg-9999
Summary: dev-qt/qtwebengine-5.15.5_p20220618 compile error with media-video/ffmpeg-9999
Status: RESOLVED DUPLICATE of bug 831487
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-09 23:32 UTC by Rafael Kitover
Modified: 2022-08-09 23:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt.xz,7.28 KB, application/x-xz)
2022-08-09 23:34 UTC, Rafael Kitover
Details
build.log (build.log.xz,309.65 KB, application/x-xz)
2022-08-09 23:35 UTC, Rafael Kitover
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Kitover 2022-08-09 23:32:35 UTC
Compile step fails with:

/usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/media/filters/filters/filters_jumbo_5.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOU
RCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DIS_MEDIA_IMPL -DUSE_PULSEAUDIO -DDLOPEN_PULSEAUDIO -DGL_GLEXT_PRO
TOTYPES -DUSE_GLX -DUSE_EGL -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_
JPEG -DSK_USE_LIBGIFCODEC -DSK_VULKAN_HEADER=\"../../skia/config/SkVulkanConfig.h\" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DUSING_SYSTEM_IC
U=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -DCONFIG_LOG=0 -DSTACK_ALIGNMENT=32 -DDAV1D_API= -I. -Igen -I../../../../qtwebengine-5.15.5_p20220618/src/3rdparty/chromium -I../../../../qtweben
gine-5.15.5_p20220618/src/3rdparty/chromium/third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen -Igen -Igen -Igen -Igen -Igen -Igen -I../../../../qtwebengine-5.15.
5_p20220618/src/3rdparty/chromium/third_party/vulkan_headers/include -Igen -I../../../../qtwebengine-5.15.5_p20220618/src/3rdparty/chromium/third_party/libyuv/include -Igen -Igen -Igen -Igen -I../../../../qtwebeng
ine-5.15.5_p20220618/src/3rdparty/chromium/third_party/khronos -I../../../../qtwebengine-5.15.5_p20220618/src/3rdparty/chromium/gpu -Igen -I../../../../qtwebengine-5.15.5_p20220618/src/3rdparty/chromium/third_part
y/abseil-cpp -I../../../../qtwebengine-5.15.5_p20220618/src/3rdparty/chromium/third_party/boringssl/src/include -I../../../../qtwebengine-5.15.5_p20220618/src/3rdparty/chromium/third_party/protobuf/src -Igen/proto
c_out -I../../../../qtwebengine-5.15.5_p20220618/src/3rdparty/chromium/third_party/skia -I../../../../qtwebengine-5.15.5_p20220618/src/3rdparty/chromium/third_party/libgifcodec -I../../../../qtwebengine-5.15.5_p20
220618/src/3rdparty/chromium/third_party/vulkan/include -I../../../../qtwebengine-5.15.5_p20220618/src/3rdparty/chromium/third_party/vulkan_headers/include -I../../../../qtwebengine-5.15.5_p20220618/src/3rdparty/c
hromium/third_party/mesa_headers -I../../../../qtwebengine-5.15.5_p20220618/src/3rdparty/chromium/third_party/dav1d/version -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-
asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wn
o-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -I/usr
/include/opus -std=gnu++14 -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -fno-exceptions -fno-rtti -fvi
sibility-inlines-hidden -c gen/media/filters/filters_jumbo_5.cc -o obj/media/filters/filters/filters_jumbo_5.o
In file included from gen/media/filters/filters_jumbo_5.cc:11:
./../../../../qtwebengine-5.15.5_p20220618/src/3rdparty/chromium/media/filters/ffmpeg_demuxer.cc: In function ‘base::TimeDelta media::ExtractStartTime(AVStream*)’:
./../../../../qtwebengine-5.15.5_p20220618/src/3rdparty/chromium/media/filters/ffmpeg_demuxer.cc:101:7: error: ‘av_stream_get_first_dts’ was not declared in this scope; did you mean ‘av_stream_get_side_data’?
  101 |   if (av_stream_get_first_dts(stream) != kNoFFmpegTimestamp &&
      |       ^~~~~~~~~~~~~~~~~~~~~~~                                                                     
      |       av_stream_get_side_data                                               

Adding -system-ffmpeg to USE flags is a workaround for this problem.

Reproducible: Always




> emerge -pqv dev-qt/qtwebengine
[ebuild   R   ] dev-qt/qtwebengine-5.15.5_p20220618  USE="alsa -bindist -debug -designer -geolocation jumbo-build -kerberos pulseaudio -screencast system-ffmpeg* system-icu -test widgets"
Comment 1 Rafael Kitover 2022-08-09 23:34:42 UTC
Created attachment 799047 [details]
emerge --info
Comment 2 Rafael Kitover 2022-08-09 23:35:02 UTC
Created attachment 799049 [details]
build.log
Comment 3 Ionen Wolkens gentoo-dev 2022-08-09 23:41:58 UTC
Same error as bug 831487 comment #5. Given still failing with ffmpeg-5 last I know of, -9999 also failing is expected.

*** This bug has been marked as a duplicate of bug 831487 ***