





















@ZhangHua Thank you for your quick fix! I have confirmed that version 6.7.8-2 is working as expected.
It took 40-45 minutes to build from source just to get a regular version of Telegram 6.7.8. Nice.
I agree with @Misaka13514 Have the same issue after updating to the latest 6.7.8 version. It removes the AyuGram and installs the official Telegram Desktop instead.
The packaging seems incorrect, it appears to be Telegram Desktop 6.7.8?
now i have this problem:
-- Found OpenSSL: /usr/include /usr/lib/libssl.so;/usr/lib/libcrypto.so
CMake Error at CMake/TdSetUpCompiler.cmake:43 (message):
No C++17 support in the compiler. Please upgrade the compiler.
Call Stack (most recent call first):
CMakeLists.txt:113 (td_set_up_compiler)
-- Configuring incomplete, errors occurred!
also the makepkg.conf by @Xbz at https://aur.archlinux.org/packages/ayugram-desktop?O=10#comment-1046914 require to you to install lld package
If you have problems with memory during building add --parallel argument to cmake to limit parallel jobs number
like this
diff --git a/PKGBUILD b/PKGBUILD
index 20f6843..447b762 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -213,7 +213,7 @@ build() {
-DCMAKE_INSTALL_PREFIX="$PWD/td-$_tdlib_commit/install" \
-Wno-dev \
-DTD_E2E_ONLY=ON
- cmake --build td-$_tdlib_commit/build
+ cmake --build td-$_tdlib_commit/build --parallel 8
cmake --install td-$_tdlib_commit/build
# https://github.com/AyuGram/AyuGramDesktop/blob/dev/docs/building-linux.md#building-the-project
# for API_ID and API_HASH
@@ -224,7 +224,7 @@ build() {
-DTDESKTOP_API_HASH="${MAKEPKG_AYUGRAM_API_HASH:-b18441a1ff607e10a989891a5462e627}" \
-DDESKTOP_APP_DISABLE_AUTOUPDATE=True \
-Dtde2e_DIR="$PWD/td-$_tdlib_commit/install/lib/cmake/tde2e"
- cmake --build build
+ cmake --build build --parallel 8
}
package() {
DESTDIR="$pkgdir" cmake --install build
I just use this:
numactl --physcpubind=0-1 yay -S ayugram-desktop
that way its only using 2 threads for the compilation, it will take a while but it doesnt crash the pc anymore, thanks Asmo for the solution
nyunyun commented on 2025-09-28 09:01 (UTC) Fails on build, cannot tell you where. I also had to quit my DE and build from the shell, as apparently 32G with 6GB configured as zram is not enough.
Never had memory issues like these before on any package. 32G should be more than plenty, consider that there are several notebook users with 16G memory.
Still a problem. How in your right mind can you expect anyone to have that much memory available? This is surreal. How are you supposed to build this, if you've got even less memory, like 8GB? 48GB swap?
I will from now on consider this package as broken, as you also seem to ignore all the prior complains from others.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
@arkadym Most of the time it depends on the parallel build jobs. As ayugram uses Ninja as backend of cmake, it uses all of your cpu logic cores by default. Maybe you can set
CMAKE_BUILD_PARALLEL_LEVELenvironment variable to limit that: https://cmake.org/cmake/help/latest/envvar/CMAKE_BUILD_PARALLEL_LEVEL.htmlAs for me, I use 16GB ram and 16GB swap with 12 cpu cores, it does use a lot of resource, but can still success.