telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
26.43k stars 5.25k forks source link

Fail to build with newer GLib-1.82.0 #28609

Open tanuki-no opened 3 weeks ago

tanuki-no commented 3 weeks ago

Steps to reproduce

  1. Update GLib to 1.82.x
  2. Try to build telegram on Linux.

Expected behaviour

Normal deploy

Actual behaviour

Compilation failes with the next issue:

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’

Operating system

Gentoo Linux/6.11.5/Profile:default/linux/amd64/23.0/no-multilib/systemd (stable)

Version of Telegram Desktop

5.7.1

Installation source

Other (unofficial) source

Crash ID

No response

Logs

[31/1497] cd /var/tmp/portage/net-im/telegram-desktop-5.7.1/work/tdesktop-5.7.1-full_build/cmake/external/glib && /usr/bin/cppgir --debug 1 --class --class-full --expected --ignore /var/tmp/portage/net-im/telegram-desktop-5.7.1/work/tdesktop-5.7.1-full/cmake/external/glib/cppgir/data/cppgir.ignore:/var/tmp/portage/net-im/telegram-desktop-5.7.1/work/tdesktop-5.7.1-full/cmake/external/glib/cppgir/data/cppgir_unix.ignore --output /var/tmp/portage/net-im/telegram-desktop-5.7.1/work/tdesktop-5.7.1-full_build/gen GioUnix-2.0 && echo 1> /var/tmp/portage/net-im/telegram-desktop-5.7.1/work/tdesktop-5.7.1-full_build/gen/external_glib_cppgir.timestamp
ERROR EXCEPTION processing class DesktopAppInfo; GioUnix::DesktopAppInfo maps to ::GDesktopAppInfo, already claimed by Gio::DesktopAppInfo;
Please verify/fix GIRs and/or add ignore as needed.
ERROR EXCEPTION processing class FDMessage; GioUnix::FDMessage maps to ::GUnixFDMessage, already claimed by Gio::UnixFDMessage;
Please verify/fix GIRs and/or add ignore as needed.
ERROR EXCEPTION processing interface FileDescriptorBased; GioUnix::FileDescriptorBased maps to ::GFileDescriptorBased, already claimed by Gio::FileDescriptorBased;
Please verify/fix GIRs and/or add ignore as needed.
ERROR EXCEPTION processing class InputStream; GioUnix::InputStream maps to ::GUnixInputStream, already claimed by Gio::UnixInputStream;
Please verify/fix GIRs and/or add ignore as needed.
ERROR EXCEPTION processing record MountEntry; GioUnix::MountEntry maps to ::GUnixMountEntry, already claimed by Gio::UnixMountEntry;
Please verify/fix GIRs and/or add ignore as needed.
ERROR EXCEPTION processing class MountMonitor; GioUnix::MountMonitor maps to ::GUnixMountMonitor, already claimed by Gio::UnixMountMonitor;
Please verify/fix GIRs and/or add ignore as needed.
ERROR EXCEPTION processing record MountPoint; GioUnix::MountPoint maps to ::GUnixMountPoint, already claimed by Gio::UnixMountPoint;
Please verify/fix GIRs and/or add ignore as needed.
ERROR EXCEPTION processing class OutputStream; GioUnix::OutputStream maps to ::GUnixOutputStream, already claimed by Gio::UnixOutputStream;
Please verify/fix GIRs and/or add ignore as needed.
tanuki-no commented 3 weeks ago

build.log This is the full build log.