Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655972 - net-misc/icaclient links against old libidn libraries
Summary: net-misc/icaclient links against old libidn libraries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-17 17:32 UTC by Noel Bennett
Modified: 2018-07-05 16:40 UTC (History)
4 users (show)

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


Attachments
Possible workaround (patch,811 bytes, patch)
2018-05-31 18:19 UTC, Nick Bowler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Noel Bennett 2018-05-17 17:32:46 UTC
After emerging net-misc/icaclient-13.9.1.6, emerge reports:
!!! existing preserved libs:
>>> package: net-dns/libidn-1.35
 *  - /usr/lib64/libidn.so.11
 *  - /usr/lib64/libidn.so.11.6.16
 *      used by /opt/Citrix/ICAClient/AuthManagerDaemon (net-misc/icaclient-13.9.1.6)
 *      used by /opt/Citrix/ICAClient/PrimaryAuthManager (net-misc/icaclient-13.9.1.6)
 *      used by /opt/Citrix/ICAClient/ServiceRecord (net-misc/icaclient-13.9.1.6)
 *      used by 3 other files
Use emerge @preserved-rebuild to rebuild packages using these libraries


Running 'emerge @preserved-rebuild' results in the same notification message. It appears that icaclient-13.9.1.6 is linking against the older library.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-05-18 06:21:46 UTC
Since this is a binary package, there's nothing I can do to fix this unless Citrix provides a new release.
Comment 2 Noel Bennett 2018-05-18 11:55:07 UTC
Works for me, as long as it's documented and acknowledged.
Comment 3 Nick Bowler 2018-05-31 17:52:54 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #1)
> Since this is a binary package, there's nothing I can do to fix this unless
> Citrix provides a new release.

The icaclient package dependencies could be corrected, surely?

If you install icaclient on a current system (without relying on preserved-libs) it does not work at all, because emerge will normally pull in the latest (incompatible) version of libidn.
Comment 4 Nick Bowler 2018-05-31 18:19:53 UTC
Created attachment 534314 [details, diff]
Possible workaround

Actually it looks like this program doesn't even use libidn for anything.  So the NEEDED entries can probably just be patched out of the binary and things seem to work fine.

I didn't try it on 32-bit x86.
Comment 5 Markus Wernig 2018-06-17 18:57:51 UTC
Just for the record:

Another method of making wfica work:
* Copy libidn.so.11 from another computer (eg. debian stretch) into /opt/Citrix/ICAClient/lib (make sure it's world-readable)
* Add this line to /etc/env.d/10ICAClient:
LDPATH=/opt/Citrix/ICAClient/lib
* Run env-update

This could also be done in the ebuild, but probably that's not going to happen, as it's really a temporary fix.

On the other hand, icaclient-13.9 as published by citrix does currently not work on Linux (see https://discussions.citrix.com/topic/323985-cannot-connect-to-0002-published-app-name-most-distros/), so we might be stuck with 13.8 longer yet.
Comment 6 Larry the Git Cow gentoo-dev 2018-06-25 13:51:12 UTC
The bug has been closed via the following commit(s):

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

commit f3f988274616ceac9c1a86812a1f8fcf803bff80
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-06-25 13:50:51 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-06-25 13:51:06 +0000

    net-misc/icaclient: Bump to version 13.10.0.20
    
    Closes: https://bugs.gentoo.org/655922
    Closes: https://bugs.gentoo.org/655972
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-misc/icaclient/Manifest                    |   2 +
 net-misc/icaclient/icaclient-13.10.0.20.ebuild | 214 +++++++++++++++++++++++++
 2 files changed, 216 insertions(+)
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-06-25 21:40:35 UTC
Still not fixed... I wonder what kind of Linux "experts" Citrix has...
Comment 8 Larry the Git Cow gentoo-dev 2018-07-05 16:40:13 UTC
The bug has been closed via the following commit(s):

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

commit 07a5d4c818afef7ef925584986160f6e1a73410a
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-07-05 16:39:50 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-07-05 16:40:06 +0000

    net-misc/icaclient: Depend on net-dns/libidn:1.33
    
    Closes: https://bugs.gentoo.org/655972
    Package-Manager: Portage-2.3.41, Repoman-2.3.9

 net-misc/icaclient/icaclient-13.10.0.20.ebuild         | 2 +-
 net-misc/icaclient/icaclient-13.8.0.10299729-r1.ebuild | 2 +-
 net-misc/icaclient/icaclient-13.9.1.6.ebuild           | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)