Source: telegram-desktop
Version: 4.14.9+ds-1
Severity: important
Tags: trixie sid ftbfs
Usertags: ffmpeg-7.0
Hi,
during a rebuild of the reverse dependencies for the transition to
ffmpeg 7.0, your package failed to build
Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/Telegram && /usr/bin/c++
> -DBWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0 -DHAVE_WEBRTC_VIDEO
> -DNO_MAIN_THREAD_WRAPPING -DQT_DEPRECATED_WARNINGS_SINCE=0x051500
> -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_DUMMY_AUDIO_BUILD -DWEBRTC_ENABLE_PROTOBUF=0 -DWEBRTC_HAVE_DCSCTP
> -DWEBRTC_HAVE_SCTP -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
> -I/<<PKGBUILDDIR>>/Telegram/ThirdParty/tgcalls
> -I/<<PKGBUILDDIR>>/Telegram/ThirdParty/tgcalls/tgcalls -isystem
> /usr/include/tg_owt -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -fstack-clash-protection -Wformat
> -Werror=format-security -mbranch-protection=standard
> -ftemplate-backtrace-limit=0 -Wdate-time -D_FORTIFY_SOURCE=2
> -Werror=invalid-pch -std=gnu++20 -Wno-deprecated-volatile
> -Wno-ambiguous-reversed-operator -Wno-deprecated-declarations
> -Wno-unqualified-std-cast-call -fPIC -fno-strict-aliasing -pipe -Wall -Wextra
> -Wno-unused-parameter -Wno-switch -Wno-maybe-uninitialized
> -Wno-missing-field-initializers -Wno-sign-compare -Wno-deprecated -MD -MT
> Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPartInternal.cpp.o
> -MF
> CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPartInternal.cpp.o.d
> -o
> CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPartInternal.cpp.o
> -c
> /<<PKGBUILDDIR>>/Telegram/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPartInternal.cpp
> /<<PKGBUILDDIR>>/Telegram/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPartInternal.cpp:
> In member function ‘void
> tgcalls::AudioStreamingPartInternal::fillPcmBuffer(tgcalls::AudioStreamingPartPersistentDecoder&)’:
> /<<PKGBUILDDIR>>/Telegram/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPartInternal.cpp:314:33:
> error: ‘AVFrame’ {aka ‘struct AVFrame’} has no member named ‘channels’
> 314 | _channelCount = _frame->channels;
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/Telegram/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPartInternal.cpp:322:17:
> error: ‘AVFrame’ {aka ‘struct AVFrame’} has no member named ‘channels’
> 322 | if (_frame->channels != _channelCount || _frame->channels > 8) {
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/Telegram/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPartInternal.cpp:322:54:
> error: ‘AVFrame’ {aka ‘struct AVFrame’} has no member named ‘channels’
> 322 | if (_frame->channels != _channelCount || _frame->channels > 8) {
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/Telegram/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPartInternal.cpp:327:58:
> error: ‘AVFrame’ {aka ‘struct AVFrame’} has no member named ‘channels’
> 327 | if (_pcmBuffer.size() < _frame->nb_samples * _frame->channels) {
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/Telegram/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPartInternal.cpp:328:56:
> error: ‘AVFrame’ {aka ‘struct AVFrame’} has no member named ‘channels’
> 328 | _pcmBuffer.resize(_frame->nb_samples * _frame->channels);
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/Telegram/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPartInternal.cpp:333:85:
> error: ‘AVFrame’ {aka ‘struct AVFrame’} has no member named ‘channels’
> 333 | memcpy(_pcmBuffer.data(), _frame->data[0], _frame->nb_samples
> * 2 * _frame->channels);
> |
> ^~~~~~~~
> /<<PKGBUILDDIR>>/Telegram/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPartInternal.cpp:339:53:
> error: ‘AVFrame’ {aka ‘struct AVFrame’} has no member named ‘channels’
> 339 | for (int channel = 0; channel < _frame->channels;
> ++channel) {
> | ^~~~~~~~
> /<<PKGBUILDDIR>>/Telegram/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPartInternal.cpp:348:66:
> error: ‘AVFrame’ {aka ‘struct AVFrame’} has no member named ‘channels’
> 348 | for (int i = 0; i < _frame->nb_samples *
> _frame->channels; i++) {
> |
> ^~~~~~~~
> /<<PKGBUILDDIR>>/Telegram/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPartInternal.cpp:356:65:
> error: ‘AVFrame’ {aka ‘struct AVFrame’} has no member named ‘channels’
> 356 | for (int channel = 0; channel <
> _frame->channels; ++channel) {
> |
> ^~~~~~~~
> At global scope:
> cc1plus: note: unrecognized command-line option
> ‘-Wno-unqualified-std-cast-call’ may have been intended to silence earlier
> diagnostics
> cc1plus: note: unrecognized command-line option
> ‘-Wno-ambiguous-reversed-operator’ may have been intended to silence earlier
> diagnostics
> cc1plus: note: unrecognized command-line option ‘-Wno-deprecated-volatile’
> may have been intended to silence earlier diagnostics
> make[3]: *** [Telegram/CMakeFiles/lib_tgcalls.dir/build.make:625:
> Telegram/CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/group/AudioStreamingPartInternal.cpp.o]
> Error 1
The full build log is available from:
https://people.debian.org/~sramacher/ffmpeg-7.0/telegram-desktop_arm64.build
ffmpeg 7.0 is available in experimental.
Cheers
--
Sebastian Ramacher