Bug 1217263

Summary: telegram-desktop fails to build: target_compile_features The compiler feature "cxx_std_20" is not known to
Product: [openSUSE] openSUSE Distribution Reporter: Lubos Kocman <lubos.kocman>
Component: OtherAssignee: Xu Zhao <i>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None    
Version: Leap 15.6   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Lubos Kocman 2023-11-16 17:06:36 UTC
Hello

telegram-desktop does not build on Leap 15.6. This should be fixed before Beta (Feb 2023).
https://en.opensuse.org/openSUSE:Roadmap#Schedule_for_openSUSE_Leap_15.6

Build log from Leap 15.6

https://build.opensuse.org/package/live_build_log/openSUSE:Backports:SLE-15-SP6/telegram-desktop/standard/x86_64

[   69s] CMake Error at cmake/init_target.cmake:14 (target_compile_features):
[   69s]   target_compile_features The compiler feature "cxx_std_20" is not known to
[   69s]   CXX compiler
[   69s] 
[   69s]   "GNU"
[   69s] 
[   69s]   version 7.5.0.
[   69s] Call Stack (most recent call first):
[   69s]   cmake/init_target.cmake:102 (init_target)
[   69s]   CMakeLists.txt:196 (init_feature_target)
[   69s]   CMakeLists.txt:2390 (add_sublibrary)
[   69s] 
[   69s] 
[   69s] -- Configuring incomplete, errors occurred!
Comment 1 Xu Zhao 2023-12-10 22:31:17 UTC
Late versions of telegram-desktop does not support building on Leap 15.6, and there is no support from upstream (they keep updating the code that uses new compiler options that only available on Tumbleweed).

Therefore, we can not fix this issue since it is not supported by upstream.