We would like to reduce the number of net-libs/webkit-gtk slots. Please check if it is possible to migrate from net-libs/webkit-gtk:4 to net-libs/webkit-gtk:4.1. This should be possible (with minor build-system patching, see https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea0bb7cd3b47dd02d964a5c27c010eeaea8cc8b1 for example) if net-libs/libsoup:2.4 is not pulled in by the package or any of its dependencies.
Looks like this package depends on libsoup:2.4 and webkit-gtk:4 and is a binary package :(
Ok i can have a look if it also works against 4.1 or 5. Is there like an overview bug where i could see possible other blockers that hinder a removal of 4 . To get a feel how much to invest and when.
(In reply to Henning Schild from comment #2) > Is there like an overview bug where i could see possible other blockers that > hinder a removal of 4 . To get a feel how much to invest and when. Yes, this bug blocks it. Since this is a binary package, you're not going to be able to switch it. The best thing to do is to file a bug upstream and request they do it.
And maybe also let me know which files to watch out for when looking at ldd output, and what the relationship with libsoup is
This is a binary that can deal with some stuff missing. It has everything it possibly needs in multiple versions. Not sure about webkitgtk. Just saying so you do not assume too much only because you saw something in ldd of installed files ... does not mean it is actually needed! And yes i understand that it blocks. But if there are 500 others ... we can stop talking.
I want to help and see what is possible. Talking to upstream is hard on that one and we already talked in gentoo about making this ~ only again. But i am not sure ~ only would help getting rid of :4. That said gentoo $ grep -r webkit-gtk:4 | grep -v webkit-gtk:4.1 | wc -l 43 does not seem to suggest the goal to drop :4 can be reached in the short term
(In reply to Henning Schild from comment #4) > And maybe also let me know which files to watch out for when looking at ldd > output, and what the relationship with libsoup is webkit-gtk:4.1: /usr/lib64/libjavascriptcoregtk-4.1.so /usr/lib64/libjavascriptcoregtk-4.1.so.0 /usr/lib64/libjavascriptcoregtk-4.1.so.0.2.6 /usr/lib64/libwebkit2gtk-4.1.so /usr/lib64/libwebkit2gtk-4.1.so.0 /usr/lib64/libwebkit2gtk-4.1.so.0.2.6 I don't have a file list of SLOT=4 handy, but it's basically just s/4.1/4/ of that. I typed up what is the relationship to libsoup in the blocking bug that I already mentioned. (In reply to Henning Schild from comment #6) > I want to help and see what is possible. Talking to upstream is hard on that > one and we already talked in gentoo about making this ~ only again. > > But i am not sure ~ only would help getting rid of :4. > > That said > > gentoo $ grep -r webkit-gtk:4 | grep -v webkit-gtk:4.1 | wc -l > 43 > > does not seem to suggest the goal to drop :4 can be reached in the short term Please just focus on your package, and I'll see to the rest.
Can you confirm that the package actually does depend on webkit-gtk? I see this in src_prepare, which makes me suspect that it might not: > rm lib/UIDialogLibWebKit.so || die
Yes it is needed. $ ldd /opt/Citrix/ICAClient/lib/UIDialogLibWebKit3.so | grep webkit libwebkit2gtk-4.0.so.37 => /usr/lib64/libwebkit2gtk-4.0.so.37 (0x00007f8cb7400000) $ ldd /opt/Citrix/ICAClient/lib/UIDialogLibWebKit3.so | grep soup libsoup-2.4.so.1 => /usr/lib64/libsoup-2.4.so.1 (0x00007f7c84621000) $ ldd /opt/Citrix/ICAClient/lib/UIDialogLibWebKit3.so | grep coregtk libjavascriptcoregtk-4.0.so.18 => /usr/lib64/libjavascriptcoregtk-4.0.so.18 (0x00007fbe86600000)
And a few other libs and binaries are using the libs as well. Plus there is a testcase in util/workspacecheck.sh to look for libwebkit2gtk-4.0. So i strongly doubt that all the bits can be "not installed" without some sort of serious impact. Not to mention that partial installation was causing some serious headache, so we install almost everything we get from upstream.
Current ICAclient ebuild in the gentoo tree no longer depend on webkit-gtk:4
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0de33df327c15326d11eec49d1bf27a250b70d7 commit a0de33df327c15326d11eec49d1bf27a250b70d7 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2025-05-22 15:38:37 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2025-05-22 15:47:18 +0000 net-misc/icaclient: Drop old versions Bug: https://bugs.gentoo.org/893706 Signed-off-by: Matt Turner <mattst88@gentoo.org> net-misc/icaclient/Manifest | 2 - net-misc/icaclient/icaclient-23.7.0.17.ebuild | 310 -------------------------- 2 files changed, 312 deletions(-)
(In reply to OzTiram from comment #11) > Current ICAclient ebuild in the gentoo tree no longer depend on webkit-gtk:4 An "ebuild icaclient-24.11.0.85.ebuild install" results in: ---- scanelf: rpath_security_checks(): Security problem with relative DT_RPATH '.:$ORIGIN/' in /data/portage/portage/net-misc/icaclient-24.11.0.85/image/opt/Citrix/ICAClient/lib/libwebrpc.so * QA Notice: Unresolved soname dependencies: * * /opt/Citrix/ICAClient/lib/UIDialogLibWebKit3.so: libwebkit2gtk-4.0.so.37 * /opt/Citrix/ICAClient/selfservice: libwebkit2gtk-4.0.so.37 * /opt/Citrix/ICAClient/util/webcontainer: libwebkit2gtk-4.0.so.37 * ---- Is this intended?
The dep changed in: commit 547bf0c23dc8089a615d21f5a321249837cb1b5a Author: Oz Tiram <oz.tiram@gmail.com> Date: Fri Jan 10 21:54:30 2025 +0100 net-misc/icaclient: drop 23.5.0.58 Bug: https://bugs.gentoo.org/947611 Bug: https://bugs.gentoo.org/911345 Signed-off-by: Oz Tiram <oz.tiram@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/40090 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> Oz, are you sure that was right?
https://docs.citrix.com/en-us/citrix-workspace-app-for-linux/system-requirements.html#support-for-ubuntu-2404 Upstream documentation explicitly mentions having to use webkit-gtk:4 on Ubuntu-24 where it isn’t available by default.
Well, it's not possible to migrate directly, but this files can be removed and only installed if the selfservice flag is activated (this should come with a warning though that they depend on deprecated webkit version): find . -type f -executable -exec sh -c 'for f; do readelf -d "$f" 2>/dev/null | grep -q libwebkit2gtk && echo "$f"; done' _ {} + ./linuxx64/linuxx64.cor/util/webcontainer ./linuxx64/linuxx64.cor/lib/WebView_ext/libextension.so ./linuxx64/linuxx64.cor/lib/CLSync_ext/libCLSyncExtension.so ./linuxx64/linuxx64.cor/lib/AccountConfig_ext/libAccountConfigExtension.so ./linuxx64/linuxx64.cor/lib/Auth_ext/libAuthExtension.so ./linuxx64/linuxx64.cor/lib/AML_ext/libAMLExtension.so ./linuxx64/linuxx64.cor/lib/CustomPortal_ext/libCustomPortalExtension.so ./linuxx64/linuxx64.cor/selfservice and: $ find . -name "*selfservice*" ./linuxx64/linuxx64.cor/nls/de/LC_MESSAGES/selfservice.mo ./linuxx64/linuxx64.cor/nls/it/LC_MESSAGES/selfservice.mo ./linuxx64/linuxx64.cor/nls/ko/LC_MESSAGES/selfservice.mo ./linuxx64/linuxx64.cor/nls/fr/LC_MESSAGES/selfservice.mo ./linuxx64/linuxx64.cor/nls/ja/LC_MESSAGES/selfservice.mo ./linuxx64/linuxx64.cor/nls/zh_HANS/LC_MESSAGES/selfservice.mo ./linuxx64/linuxx64.cor/nls/ru/LC_MESSAGES/selfservice.mo ./linuxx64/linuxx64.cor/nls/pt_BR/LC_MESSAGES/selfservice.mo ./linuxx64/linuxx64.cor/nls/en/LC_MESSAGES/selfservice.mo ./linuxx64/linuxx64.cor/nls/es/LC_MESSAGES/selfservice.mo ./linuxx64/linuxx64.cor/nls/nl/LC_MESSAGES/selfservice.mo ./linuxx64/linuxx64.cor/site/selfservice.html ./linuxx64/linuxx64.cor/selfservice