Source: telegram-desktop
Version: 3.4.8+ds-1
Severity: important
X-Debbugs-Cc: [email protected]
Tags: sid bookworm ftbfs
Usertags: ffmpeg5.0

telegram-desktop FTBFS with ffmpeg 5.0 in experimental:
| [ 10%] Building CXX object 
Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/group/GroupInstanceCustomImpl.cpp.o
| cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Telegram && /usr/lib/ccache/c++ 
-DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0 -DDESKTOP_APP_DISABLE_CRASH_REPORTS 
-DDESKTOP_APP_USE_PACKAGED -DDESKTOP_APP_USE_PACKAGED_FONTS 
-DDESKTOP_APP_USE_PACKAGED_RLOTTIE -DDESKTOP_APP_USE_PACKED_RESOURCES 
-DHAVE_WEBRTC_VIDEO -DNO_MAIN_THREAD_WRAPPING -DQT_IMPLICIT_QCHAR_CONSTRUCTION 
-DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_KEYWORDS -DRTC_DISABLE_TRACE_EVENTS 
-DRTC_ENABLE_VP9 -DTGCALLS_USE_STD_OPTIONAL -DUSE_RNNOISE=0 
-DWEBRTC_APM_DEBUG_DUMP=0 -DWEBRTC_APP_TDESKTOP -DWEBRTC_ENABLE_LINUX_ALSA 
-DWEBRTC_ENABLE_LINUX_PULSE -DWEBRTC_ENABLE_PROTOBUF=0 -DWEBRTC_HAVE_USRSCTP 
-DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DWEBRTC_LIBRARY_IMPL -DWEBRTC_LINUX 
-DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=1 -DWEBRTC_OPUS_SUPPORT_120MS_PTIME=1 
-DWEBRTC_OPUS_VARIABLE_COMPLEXITY=0 -DWEBRTC_POSIX 
-DWEBRTC_USE_BUILTIN_ISAC_FLOAT -DWEBRTC_USE_H264 -DWEBRTC_USE_PIPEWIRE 
-DWEBRTC_USE_X11 -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE 
-I/<<PKGBUILDDIR>>/Telegram/ThirdParty/tgcalls 
-I/<<PKGBUILDDIR>>/Telegram/ThirdParty/tgcalls/tgcalls -isystem 
/usr/include/tg_owt -isystem /usr/include/tg_owt/third_party/libyuv/include -g 
-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -ftemplate-backtrace-limit=0 -Wdate-time 
-D_FORTIFY_SOURCE=2 -Werror=invalid-pch -fstack-protector-all 
-fstack-clash-protection -fPIC -fno-strict-aliasing -pipe -Wall -W 
-Wno-unused-parameter -Wno-switch -Wno-missing-field-initializers 
-Wno-sign-compare -Wno-deprecated -Wno-maybe-uninitialized -std=gnu++20 -MD -MT 
Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/group/GroupInstanceCustomImpl.cpp.o
 -MF 
CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/group/GroupInstanceCustomImpl.cpp.o.d
 -o 
CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/group/GroupInstanceCustomImpl.cpp.o
 -c 
/<<PKGBUILDDIR>>/Telegram/ThirdParty/tgcalls/tgcalls/group/GroupInstanceCustomImpl.cpp
| 
/<<PKGBUILDDIR>>/Telegram/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPart.cpp:
 In constructor 
‘tgcalls::AudioStreamingPartInternal::AudioStreamingPartInternal(std::vector<unsigned
 char>&&)’:
| 
/<<PKGBUILDDIR>>/Telegram/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPart.cpp:173:58:
 error: invalid conversion from ‘const AVInputFormat*’ to ‘AVInputFormat*’ 
[-fpermissive]
|   173 |         AVInputFormat *inputFormat = av_find_input_format("ogg");
|       |                                      ~~~~~~~~~~~~~~~~~~~~^~~~~~~
|       |                                                          |
|       |                                                          const 
AVInputFormat*
| 
/<<PKGBUILDDIR>>/Telegram/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPart.cpp:212:77:
 error: ‘AVStream’ {aka ‘struct AVStream’} has no member named ‘first_dts’
|   212 |             _durationInMilliseconds = (int)((inStream->duration + 
inStream->first_dts) * 1000 / 48000);
|       |                                                                       
      ^~~~~~~~~
| 
/<<PKGBUILDDIR>>/Telegram/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPart.cpp:258:50:
 error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
|   258 |             AVCodec *codec = 
avcodec_find_decoder(audioCodecParameters->codec_id);
|       |                              
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                                                  |
|       |                                                  const AVCodec*
| make[3]: *** [Telegram/CMakeFiles/lib_tgcalls.dir/build.make:415: 
Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPart.cpp.o]
 Error 1

Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature

Reply via email to