@vitaliikuzhdin how to disable LTO, and others way? im a newbie on Arch!
Search Criteria
Package Details: ayugram-desktop 5.8.3-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/ayugram-desktop.git (read-only, click to copy) |
---|---|
Package Base: | ayugram-desktop |
Description: | Desktop Telegram client with good customization and Ghost mode. |
Upstream URL: | https://github.com/AyuGram/AyuGramDesktop |
Keywords: | anti-recall ayugram telegram |
Licenses: | GPL-3.0-only |
Submitter: | ZhangHua |
Maintainer: | ZhangHua |
Last Packager: | ZhangHua |
Votes: | 10 |
Popularity: | 1.78 |
First Submitted: | 2023-11-06 01:05 (UTC) |
Last Updated: | 2024-11-24 13:12 (UTC) |
Dependencies (45)
- abseil-cpp (abseil-cpp-gitAUR)
- ada
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-cudaAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-libfdk_aacAUR, ffmpeg-ffplayoutAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-obsAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- hunspell (hunspell-gitAUR)
- jemalloc (jemalloc-gitAUR)
- kcoreaddons (kcoreaddons-gitAUR)
- libdispatch (libdispatch-gitAUR)
- libsigc++-3.0
- libxcomposite
- libxdamage
- libxrandr (libxrandr-gitAUR)
- libxtst
- lz4 (lz4-gitAUR)
- minizip (minizip-gitAUR)
- openal (openal-gitAUR)
- openh264 (openh264-gitAUR)
- openssl (openssl-gitAUR, openssl-staticAUR)
- pipewire (pipewire-gitAUR, pipewire-full-gitAUR)
- protobuf (protobuf-gitAUR)
- qt6-imageformats
- qt6-svg
- qt6-wayland
- rnnoise (rnnoise-gitAUR)
- xxhash (xxhash-gitAUR)
- boost (boost-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- extra-cmake-modules (extra-cmake-modules-gitAUR) (make)
- fmt (fmt-gitAUR) (make)
- glib2-devel (make)
- gobject-introspection (make)
- libtg_owt (libtg_owt-gitAUR) (make)
- meson (meson-gitAUR) (make)
- microsoft-gsl (microsoft-gsl-gitAUR) (make)
- mm-common (mm-common-gitAUR) (make)
- perl-xml-parser (make)
- plasma-wayland-protocols (plasma-wayland-protocols-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- python-packaging (make)
- range-v3 (make)
- tl-expected (make)
- wayland-protocols (wayland-protocols-gitAUR) (make)
- webkit2gtk (webkit2gtk-imgpasteAUR) (optional) – embedded browser features
- xdg-desktop-portal (xdg-desktop-portal-gitAUR) (optional) – desktop integration
Required by (0)
Sources (39)
- AyuGram-v5.8.3.tar.gz
- cld3-b48dc46512566f5a2d41118c8c1116c4f96dc661.tar.gz
- cmake_helpers-39aa77999e4b3cdec080f8e7eec9a4a45ccf6fc3.tar.gz
- cmake_helpers-c181046efdecf52c372324c74d75118a1b239e8e.tar.gz
- codegen-46545f547e75afa8500fc21b6e18d60ba3405cfa.tar.gz
- cppgir-c8bb1c6017a6f7f2e47bd10543aea6b3ec69a966.tar.gz
- expected-292eff8bd8ee230a7df1d6a1c00c4ea0eb2f0362.tar.gz
- expected-lite-95b9cb015fa17baa749c2b396b335906e1596a9e.tar.gz
- fcitx5-qt-c743b12e6780edf1dcfe9071531c80f050cacb95.tar.gz
- GSL-87f9d768866548b5b86e72be66c60c5abd4d9b37.tar.gz
- hime-9b3e6f9ab59d1fe4d9de73d3bf0fed7789f921c5.tar.gz
- hunspell-22c3381e2066bed616250d373fc5c935598b564a.tar.gz
- Implib.so-0ddaa715d2572b100f8248c0fa4450fbf895be14.tar.gz
- jemalloc-54eaed1d8b56b1aa528be3bdd1877e59c56fa90c.tar.gz
- kcoreaddons-fd84da51b554eac25e35b1e3f373edaab3029b15.tar.gz
- kimageformats-106279d32ec4b93ccf5e29a92616e0f0cc8d2382.tar.gz
- libprisma-23b0d70f9709da9b38561d5706891a134d18df76.tar.gz
- libtgvoip-2d2592860478e60d972b96e67ee034b8a71bb57a.tar.gz
- lib_base-2b622fd0b223ed6266a32dc07382975769cc031c.tar.gz
- lib_crl-c1d6b0273653095b10b4d0f4f7c30b614b690fd5.tar.gz
- lib_lottie-1a700e5a0d7c3e2f617530354ff2a47c5c72bb4a.tar.gz
- lib_qr-6fdf60461444ba150e13ac36009c0ffce72c4c83.tar.gz
- lib_rpl-9a3ce435f4054e6cbd45e1c6e3e27cfff515c829.tar.gz
- lib_spellcheck-f6594068d4282aa84c51c7242d40213f3e0bf6f6.tar.gz
- lib_storage-ccdc72548a5065b5991b4e06e610d76bc4f6023e.tar.gz
- lib_tl-669b16f8c4bcfd357d96bf5044789bdea39b1e1c.tar.gz
- lib_ui-84e9e512d8d04f5a52e0de599e12146cd36c4a25.tar.gz
- lib_webrtc-169ba6b1d5e58e9d1cfa7b7d5c85c119e6c6e2db.tar.gz
- lib_webview-3dc2f15cd449305536bd3ed0d0f3152701ce36c5.tar.gz
- lz4-5ff839680134437dbf4678f3d0c7b371d84f4964.tar.gz
- nimf-498ec7ffab3ac140c2469638a14451788f03e798.tar.gz
- QR-Code-generator-720f62bddb7226106071d4728c292cb1df519ceb.tar.gz
- range-v3-2dae74bb693e42d850fb0adcc9045c5b71fbdeae.tar.gz
- range-v3-a81477931a8aa2ad025c6bda0609f38e09e4d7ec.tar.gz
- rlottie-8c69fc20cf2e150db304311f1233a4b55a8892d7.tar.gz
- swift-corelibs-libdispatch-542b7f32311680b11b6fc8fcb2576955460ba7da.tar.gz
- tgcalls-9bf4065ea00cbed5e63cec348457ed13143459d0.tar.gz
- xdg-desktop-portal-11c8a96b147aeae70e3f770313f93b367d53fedd.tar.gz
- xxHash-bbb27a5efb85b92a0486cf361a8635715a53f6ba.tar.gz
oldman33 commented on 2024-10-05 01:20 (UTC)
ZhangHua commented on 2024-10-05 00:18 (UTC) (edited on 2024-10-05 00:31 (UTC) by ZhangHua)
@oldman33 No, at least I can't give any advice without knowing the actual command called by cmake. You can set VERBOSE=1
in environment to let cmake print what it calls. See here for more info.
I have changed build tool from ninja to make, so it should use 1 core without -j
arguments set. As for LTO, I am not sure if it is needed to disable it because I am not familiar with ArcoLinux.
According to gcc's code, it seems that something happens when write arguments to a temp file, you may check if your /tmp
has enough space, maybe you can set TMPDIR=/path/to/another/place
to use a larger temp directory.
vitaliikuzhdin commented on 2024-10-04 23:26 (UTC) (edited on 2024-10-04 23:39 (UTC) by vitaliikuzhdin)
@oldman33, you could try disabling LTO, manually setting the job number, or switching the compiler from gcc
to clang
to reduce memory usage.
oldman33 commented on 2024-10-04 22:13 (UTC) (edited on 2024-10-04 22:13 (UTC) by oldman33)
@ZhangHua, i tried change swap to 32G and same 8G Ram seem previous issue gone. Cant believe it requires many storage space like that: i much moved some data to other to have 40G space for build. But new issue now : https://ibb.co/3Nx4PRY
Any advice please?
ZhangHua commented on 2024-10-04 05:27 (UTC)
@oldman33 I think no need to change code. This package is tested with makechrootpkg
command in devtools
, so I think there should be no missing dependencies in PKGBUILD.
oldman33 commented on 2024-10-04 05:19 (UTC)
@ZhangHua Besides trying to change the computer configuration, do I need to change any code?
oldman33 commented on 2024-10-04 05:16 (UTC)
@ZhangHua OMG, i ran some package builds without any problem, it seems to build Ayugram requires more hardware power than i imagined. i only have 8Gb ram and 8Gb swap, if compared to your configuration i would probably need to try 32Gb Swap and turn off all background apps will try tonight. thanks for the recommendation
ZhangHua commented on 2024-10-04 04:15 (UTC)
@oldman33 It seems that your memory is not enough so there was an OOM happening and linker was killed. I think the solution is adding more memory or swap. Or maybe you can try building with other strong enough machine and get pkg.tar.zst installed. I build this on i7-8750H CPU and 16GB RAM, and my memory almost cannot hold the amount of memory used when building. So I added another 16GB swap and it seems fine now.
oldman33 commented on 2024-10-04 04:05 (UTC)
i tried many time to install ayugram from this AUR but alway fail, i recheck github but not help much, any suggest? Thank so much
Pinned Comments
ZhangHua commented on 2024-01-29 10:28 (UTC) (edited on 2024-08-03 04:05 (UTC) by ZhangHua)
Please do not flag this package outdated just because there are some library files missing after your archlinux upgraded. You need to simply rebuild this PKGBUILD with latest archlinux. For those people who meet that Qt/xxHash symbols missing, the solution is same.