Source: telegram-desktop
Version: 3.4.8+ds-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramac...@debian.org

telegram-desktop FTBFS:
| cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/Telegram && /usr/bin/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_DUMMY_AUDIO_BUILD 
-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/CodecSelectHelper.cpp.o
 -MF 
CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/CodecSelectHelper.cpp.o.d 
-o 
CMakeFiles/lib_tgcalls.dir/ThirdParty/tgcalls/tgcalls/CodecSelectHelper.cpp.o 
-c /<<PKGBUILDDIR>>/Telegram/ThirdParty/tgcalls/tgcalls/CodecSelectHelper.cpp
| /<<PKGBUILDDIR>>/Telegram/ThirdParty/libtgvoip/EchoCanceller.cpp: In 
constructor ‘tgvoip::EchoCanceller::EchoCanceller(bool, bool, bool)’:
| /<<PKGBUILDDIR>>/Telegram/ThirdParty/libtgvoip/EchoCanceller.cpp:31:17: 
error: ‘Config’ is not a member of ‘webrtc’
|    31 |         webrtc::Config extraConfig;
|       |                 ^~~~~~
| /<<PKGBUILDDIR>>/Telegram/ThirdParty/libtgvoip/EchoCanceller.cpp:36:53: 
error: ‘extraConfig’ was not declared in this scope
|    36 |         apm=webrtc::AudioProcessingBuilder().Create(extraConfig);
|       |                                                     ^~~~~~~~~~~
| make[3]: *** [Telegram/CMakeFiles/lib_tgvoip_bundled.dir/build.make:121: 
Telegram/CMakeFiles/lib_tgvoip_bundled.dir/ThirdParty/libtgvoip/EchoCanceller.cpp.o]
 Error 1

See
https://buildd.debian.org/status/fetch.php?pkg=telegram-desktop&arch=amd64&ver=3.4.8%2Bds-1%2Bb1&stamp=1644441066&raw=0

Cheers
-- 
Sebastian Ramacher

Reply via email to