Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 942960

Summary: net-im/telegram-desktop-5.7.1 build error
Product: Gentoo Linux Reporter: Oleksa <leo>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: UNCONFIRMED ---    
Severity: normal CC: leo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Multiple errors in build log

Description Oleksa 2024-11-06 19:48:17 UTC
Created attachment 908034 [details]
Multiple errors in build log

Hello there!
Unable to compile net-im/telegram-desktop-5.7.1
Multiple errors
Please, check and find solution for fixes.
Log+env attached.
Thank You very much!
Comment 1 Oleksa 2024-11-06 19:55:49 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13/type_traits:116:11: error: no type named ‘type’ in ‘struct std::enable_if<false, void>’
  116 |     using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
      |           ^~~~~~~~~~~~~
---
/usr/include/cppgir/gi/callback.hpp:687:19: error: no matching function for call to ‘std::function<bool(gi::repository::Gio::DBusAuthObserver, gi::repository::Gio::IOStream, gi::repository::Gio::Credentials)>::function(Webview::WebKitGTK::{anonymous}::Instance::startProcess()::<lambda(gi::repository::Gio::DBusAuthObserver, gi::repository::Gio::IOStream, gi::repository::Gio::Credentials)>)’
  687 |     data(T &&t) : callable(std::forward<T>(t))
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
---
/var/tmp/portage/net-im/telegram-desktop-5.7.1/work/tdesktop-5.7.1-full/Telegram/lib_webview/webview/platform/linux/webview_linux_webkitgtk.cpp:801:36: error: ‘class gi::repository::Gio::Credentials’ has no member named ‘get_unix_pid’
  801 |                 return credentials.get_unix_pid(nullptr)
      |                                    ^~~~~~~~~~~~
---