Clang 19 fails to build Telegram Desktop 5.5.5 Reproducible: Always Steps to Reproduce: 1.Install Clang 19 2.Build Telegram Desktop 3.Observe the crash Actual Results: Fails to build Expected Results: Build
Created attachment 903728 [details, diff] Fixes the build crashes by template Just created a patch based on https://github.com/telegramdesktop/tdesktop/pull/28446 for Telegram Desktop 5.4.1. It works for me. Had to add extra changes for the generated ones. Haven't tried with other LLVM versions or if this would impact something else.
Can you upload the failing build log and emerge --info? I want to know if this is related to other long-standing clang build problems we had workarounds for.
Created attachment 904690 [details] Build error of Telegram without the patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6dab9ad240fc6a8484460fa6617777335337118 commit b6dab9ad240fc6a8484460fa6617777335337118 Author: Esteve Varela Colominas <esteve.varela@gmail.com> AuthorDate: 2025-01-05 21:37:19 +0000 Commit: Yixun Lan <dlan@gentoo.org> CommitDate: 2025-01-06 02:03:31 +0000 net-im/telegram-desktop: Drop old Closes: https://bugs.gentoo.org/942770 Closes: https://bugs.gentoo.org/940230 Closes: https://bugs.gentoo.org/943388 Closes: https://bugs.gentoo.org/946911 Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com> Signed-off-by: Yixun Lan <dlan@gentoo.org> net-im/telegram-desktop/Manifest | 2 - .../files/tdesktop-5.8.3-webkit-no-wayland.patch | 16 -- net-im/telegram-desktop/metadata.xml | 1 - .../telegram-desktop/telegram-desktop-5.5.5.ebuild | 261 --------------------- .../telegram-desktop-5.8.3-r1.ebuild | 243 ------------------- 5 files changed, 523 deletions(-)