Ahoj,
↗ Here is the full output (combined stdout
and stderr
) (makepkg -sfi 2>&1 | tee /tmp/ayugram-build.log
).
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: | 9 |
Popularity: | 0.41 |
First Submitted: | 2023-11-06 01:05 (UTC) |
Last Updated: | 2025-01-18 02:12 (UTC) |
Ahoj,
↗ Here is the full output (combined stdout
and stderr
) (makepkg -sfi 2>&1 | tee /tmp/ayugram-build.log
).
@dreieck The log in your comment is too short to get any useful information. Can you send us full log? If it is too long, you can use a pastebin service and leave a link to your log here.
build()
fails for me:
[...]
[372/1526] Generating styles (td_ui)
FAILED: Telegram/gen/styles/td_ui_style.timestamp Telegram/gen/styles/style_ayu_icons.cpp Telegram/gen/styles/style_ayu_icons.h Telegram/gen/styles/style_ayu_styles.cpp Telegram/gen/styles/style_ayu_styles.h Telegram/gen/styles/style_td_common.cpp Telegram/gen/styles/style_td_common.h Telegram/gen/styles/style_filter_icons.cpp Telegram/gen/styles/style_filter_icons.h Telegram/gen/styles/style_menu_icons.cpp Telegram/gen/styles/style_menu_icons.h Telegram/gen/styles/style_chat.cpp Telegram/gen/styles/style_chat.h Telegram/gen/styles/style_credits.cpp Telegram/gen/styles/style_credits.h Telegram/gen/styles/style_premium.cpp Telegram/gen/styles/style_premium.h Telegram/gen/styles/style_boxes.cpp Telegram/gen/styles/style_boxes.h Telegram/gen/styles/style_dialogs.cpp Telegram/gen/styles/style_dialogs.h Telegram/gen/styles/style_chat_helpers.cpp Telegram/gen/styles/style_chat_helpers.h Telegram/gen/styles/style_calls.cpp Telegram/gen/styles/style_calls.h Telegram/gen/styles/style_export.cpp Telegram/gen/styles/style_export.h Telegram/gen/styles/style_info.cpp Telegram/gen/styles/style_info.h Telegram/gen/styles/style_giveaway.cpp Telegram/gen/styles/style_giveaway.h Telegram/gen/styles/style_channel_earn.cpp Telegram/gen/styles/style_channel_earn.h Telegram/gen/styles/style_info_userpic_builder.cpp Telegram/gen/styles/style_info_userpic_builder.h Telegram/gen/styles/style_intro.cpp Telegram/gen/styles/style_intro.h Telegram/gen/styles/style_iv.cpp Telegram/gen/styles/style_iv.h Telegram/gen/styles/style_media_player.cpp Telegram/gen/styles/style_media_player.h Telegram/gen/styles/style_passport.cpp Telegram/gen/styles/style_passport.h [...]
[...]
Regards!
Thanks very much, it built successfully :)
To all users who meet build problems like Kalinda: I am not a professional C++ programmer so I can do nothing about this. But it seems that the latest commit (https://github.com/AyuGram/AyuGramDesktop/commit/7d9a69bca9f00692596d012f12949944fe8e2a10), which has not been released, has already fixed this problem. So I upgrade AyuGram to this unreleased version temporarily. I will switch back to tags once the upstream makes a new release.
same error as Kalinda with latest archlinux
i got the same problem as Kalinda :( has someone any glympse on how to solve this?
Trying to rebuild this for my repo, but it keeps failing, whether inside a clean chroot or not.
Here's what I get when I build it outside the chroot:
/andontie-aur/build/ayugram-desktop/src/AyuGramDesktop-5.2.2/Telegram/ThirdParty/tgcalls/tgcalls/FakeAudioDeviceModule.cpp:250:7: error: could not convert ‘<lambda closure object>rtc::Creator(int, int, int)::<lambda(webrtc::TaskQueueFactory*)>{is_renderer_empty, is_recorder_empty, options}’ from ‘rtc::Creator(int, int, int)::<lambda(webrtc::TaskQueueFactory*)>’ to ‘std::function<rtc::scoped_refptr<webrtc::AudioDeviceModule>(webrtc::TaskQueueFactory*)>’
250 | [boxed_renderer = std::move(boxed_renderer), is_renderer_empty,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| rtc::Creator(int, int, int)::<lambda(webrtc::TaskQueueFactory*)>
251 | boxed_recorder = std::move(boxed_recorder), is_recorder_empty, options](webrtc::TaskQueueFactory* task_factory) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
252 | RTC_CHECK(is_renderer_empty == bool(*boxed_renderer)); // call only once if renderer exists
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
253 | RTC_CHECK(is_recorder_empty == bool(*boxed_recorder)); // call only once if recorder exists
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
254 | return FakeAudioDeviceModuleImpl::Create(task_factory, std::move(*boxed_renderer), std::move(*boxed_recorder), options);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
255 | };
| ~
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-unqualified-std-cast-call’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-ambiguous-reversed-operator’ may have been intended to silence earlier diagnostics
cc1plus: note: unrecognized command-line option ‘-Wno-deprecated-volatile’ may have been intended to silence earlier diagnostics
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
@ReStranger I can confirm that after rebuilding the package, the issue disappears.
ayugram-desktop: symbol lookup error: ayugram-desktop: undefined symbol: XXH64_reset
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.