Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945862 - net-im/telegram-desktop-5.8.3-r1 fails to compile: webview_linux_webkitgtk.cpp:809:36: error: class gi::repository::Gio::Credentials has no member named get_unix_pid
Summary: net-im/telegram-desktop-5.8.3-r1 fails to compile: webview_linux_webkitgtk.cp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Esteve Varela Colominas
URL:
Whiteboard:
Keywords: PullRequest
: 942960 (view as bug list)
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-12-04 13:38 UTC by Agostino Sarubbo
Modified: 2025-01-07 19:52 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,39.85 KB, application/x-xz)
2024-12-04 13:38 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-12-04 13:38:10 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-im/telegram-desktop-5.8.3-r1 fails to compile.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-12-04 13:38:11 UTC
Created attachment 913297 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-12-04 13:38:12 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: Telegram/lib_webview/CMakeFiles/lib_webview.dir/webview/platform/linux/webview_linux_webkitgtk.cpp.o 
sed: can't read Telegram/Telegram/lib_webview/webview/platform/linux/webview_linux_compositor.h: No such file or directory
/var/tmp/portage/net-im/telegram-desktop-5.8.3-r1/work/tdesktop-5.8.3-full/Telegram/lib_webview/webview/platform/linux/webview_linux_webkitgtk.cpp:809:36: error: ‘class gi::repository::Gio::Credentials’ has no member named ‘get_unix_pid’
Comment 3 xiaoming 2024-12-04 15:36:38 UTC
See also https://github.com/telegramdesktop/tdesktop/issues/28454
Maybe we should upgrade dev-cpp/cppgir to latest commit:
https://gitlab.com/mnauw/cppgir/-/commit/c8bb1c6017a6f7f2e47bd10543aea6b3ec69a966
Comment 4 Larry the Git Cow gentoo-dev 2024-12-10 08:02:04 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=938a91816d11b1e5ded24d6dede251bf6427d506

commit 938a91816d11b1e5ded24d6dede251bf6427d506
Author:     Esteve Varela Colominas <esteve.varela@gmail.com>
AuthorDate: 2024-12-09 18:08:00 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2024-12-10 08:00:32 +0000

    dev-cpp/cppgir: Bump to 2.0_p20240928
    
    I'm not sure if this will solve anything, but good to bump anyway. It
    seems backwards-compatible.
    
    Bug: https://bugs.gentoo.org/945862
    Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 dev-cpp/cppgir/Manifest                    |  1 +
 dev-cpp/cppgir/cppgir-2.0_p20240928.ebuild | 46 ++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)
Comment 5 Esteve Varela Colominas 2025-01-01 23:17:25 UTC
*** Bug 942960 has been marked as a duplicate of this bug. ***
Comment 6 Larry the Git Cow gentoo-dev 2025-01-07 19:52:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d46bef8844da0c8cc12644fc624ee0d13e6b3a26

commit d46bef8844da0c8cc12644fc624ee0d13e6b3a26
Author:     Esteve Varela Colominas <esteve.varela@gmail.com>
AuthorDate: 2025-01-07 18:33:03 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-01-07 19:51:52 +0000

    dev-cpp/cppgir: Drop old
    
    Closes: https://bugs.gentoo.org/945862
    Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/40030
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-cpp/cppgir/Manifest                    |  1 -
 dev-cpp/cppgir/cppgir-2.0_p20240315.ebuild | 46 ------------------------------
 2 files changed, 47 deletions(-)