Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 855374 - media-plugins/hdx-realtime-media-engine: has runtime dep to libunwind so version 1
Summary: media-plugins/hdx-realtime-media-engine: has runtime dep to libunwind so vers...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Henning Schild
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-06-30 16:08 UTC by Henning Schild
Modified: 2022-11-10 16:15 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henning Schild 2022-06-30 16:08:18 UTC
For some reason the teams app on a citrix connected Windows always said that HDX was not connected. I sat down to debug a bit and found that being spit out of wfica

> /opt/Citrix/ICAClient//util/HdxRtcEngine: error while loading shared libraries: libunwind.so.1: cannot open shared object file: No such file or directory

and ldd /opt/Citrix/ICAClient//util/HdxRtcEngine saying

> libunwind.so.1 => not found


Reproducible: Always

Steps to Reproduce:
1. install media-plugins/hdx-realtime-media-engine
2. ldd /opt/Citrix/ICAClient//util/HdxRtcEngine
3.
Actual Results:  
> libunwind.so.1 => not found

Expected Results:  
All libs found and if you happen to have citrix and teams ... that HDX stuff showing as "HDX optimized"

I managed to trick it by creating a so.1 symlink

ln -sf /usr/lib64/libunwind.so /usr/lib64/libunwind.so.1

but in fact one likely needs a runtime dep or the packaging of some LD_PRELOAD and a package home for that hacky link
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-30 22:11:48 UTC
As discussed on PR for taking maintainershp, we want to either package libunwind-compat (file a bug for toolchain@ to do that) or ask upstream to fix it (or both).
Comment 2 Henning Schild 2022-07-02 08:27:57 UTC
We can solve that with installing sys-libs/llvm-libunwind because that is ABI version 1 still.

However users in need for this package likely want to use net-fs/samba as well which does not support the use of llvm-libunwind https://bugs.gentoo.org/791349

But i will go ahead and open an MR, at least the package will work again and conflicts will be written down clearly.
Comment 3 Henning Schild 2022-07-02 08:57:06 UTC
related info for other affected distros

https://support.citrix.com/article/CTX339933/citrix-workspace-for-linux-on-linux-mint-hdx-optimization-fails-for-ms-teams-published-app

https://discussions.citrix.com/topic/416197-hdx-rtme-on-ubuntu-ms-teams-not-optimized/

where people either take the risk of playing symlink tricks with ABI 8 to 1, or installing llvm-libunwind
Comment 4 Henning Schild 2022-07-02 10:44:30 UTC
It in fact shows up on net-misc/icaclient

 * QA Notice: Unresolved soname dependencies:
 * 
 * 	/opt/Citrix/ICAClient/lib/libkcph.so: libgssapi.so.3
 * 	/opt/Citrix/ICAClient/lib/libwebrpc.so: libunwind.so.1
 * 	/opt/Citrix/ICAClient/util/HdxRtcEngine: libunwind.so.1
 *
Comment 5 Henning Schild 2022-10-20 08:07:26 UTC
I got an answer from citrix on that. Turns out they depend on libunwind ABI version 1 from llvm. It is somehow really hidden ...

https://docs.citrix.com/en-us/citrix-workspace-app-for-linux/configure-xenapp.html#adding-the-libunwind-12-library-dependency-for-llvm-12
Comment 6 Larry the Git Cow gentoo-dev 2022-11-10 16:15:36 UTC
The bug has been closed via the following commit(s):

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

commit ed148ef3a5c5bc769a7ffe7bb6b3e8fe586ba322
Author:     Henning Schild <henning@hennsch.de>
AuthorDate: 2022-10-20 08:05:34 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2022-11-10 16:15:33 +0000

    net-misc/icaclient: RDEPEND on sys-libs/llvm-libunwind
    
    Some binaries need libunwind.so.1 and installing sys-libs/llvm-libunwind
    used to be an issue because it caused a conflict with net-fs/samba.
    Plus it was unknown if the llvm version was the correct one, or if
    icaclient in fact needed an old sys-libs/libunwind.
    
    Now it is clear that sys-libs/llvm-libunwind is correct.
    https://docs.citrix.com/en-us/citrix-workspace-app-for-linux/configure-xenapp.html#adding-the-libunwind-12-library-dependency-for-llvm-12
    
    Closes: https://bugs.gentoo.org/855374
    Signed-off-by: Henning Schild <henning@hennsch.de>
    Closes: https://github.com/gentoo/gentoo/pull/27867
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 ...{icaclient-22.9.0.21-r1.ebuild => icaclient-22.9.0.21-r2.ebuild} | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)